OGS
|
A Parameter is a function \( (t, x) \mapsto f(t, x) \in T^n \).
Where \( t \) is the time and \( x \) is the SpatialPosition. \( n \) is the number of components of \(f\)'s results, i.e., 1 for a scalar parameter and >1 for a vectorial or tensorial parameter.
Definition at line 23 of file WellboreGeometry.h.
#include <Parameter.h>
Public Member Functions | |
~Parameter () override=default | |
virtual int | getNumberOfGlobalComponents () const =0 |
virtual std::vector< T > | operator() (double const t, SpatialPosition const &pos) const =0 |
Returns the parameter value at the given time and position. | |
virtual Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | getNodalValuesOnElement (MeshLib::Element const &element, double const t) const |
Returns a matrix of values for all nodes of the given element. | |
ParameterBase (std::string name_, MeshLib::Mesh const *mesh=nullptr) | |
Public Member Functions inherited from ParameterLib::ParameterBase | |
ParameterBase (std::string name_, MeshLib::Mesh const *mesh=nullptr) | |
virtual | ~ParameterBase ()=default |
virtual bool | isTimeDependent () const =0 |
void | setCoordinateSystem (CoordinateSystem const &coordinate_system) |
virtual void | initialize (std::vector< std::unique_ptr< ParameterBase > > const &) |
MeshLib::Mesh const * | mesh () const |
Additional Inherited Members | |
Public Attributes inherited from ParameterLib::ParameterBase | |
std::string const | name |
Protected Member Functions inherited from ParameterLib::ParameterBase | |
std::vector< double > | rotateWithCoordinateSystem (std::vector< double > const &values, SpatialPosition const &pos) const |
Protected Attributes inherited from ParameterLib::ParameterBase | |
std::optional< CoordinateSystem > | _coordinate_system |
MeshLib::Mesh const * | _mesh |
|
overridedefault |
|
inlinevirtual |
Returns a matrix of values for all nodes of the given element.
Reimplemented in ParameterLib::ConstantParameter< T >, ParameterLib::MeshElementParameter< T >, ParameterLib::MeshNodeParameter< T >, ParameterLib::RandomFieldMeshElementParameter< T >, and ParameterLib::RasterParameter.
Definition at line 164 of file Parameter.h.
References MeshLib::Element::getID(), MeshLib::Element::getNodes(), ParameterLib::Parameter< T >::getNumberOfGlobalComponents(), MeshLib::Element::getNumberOfNodes(), ParameterLib::Parameter< T >::operator()(), and ParameterLib::SpatialPosition::setAll().
Referenced by ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::WellboreSimulatorFEM(), ProcessLib::HCNonAdvectiveFreeComponentFlowBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::NeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::NormalTractionBoundaryCondition::NormalTractionBoundaryConditionLocalAssembler< ShapeFunctionDisplacement, GlobalDim >::assemble(), ProcessLib::RobinBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::VariableDependentNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleWithJacobianComponentTransportEquation(), and ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::getLocalTemperature().
|
pure virtual |
Returns the number of components this Parameter has at every position and point in time.
Implemented in ParameterLib::ConstantParameter< T >, ParameterLib::CurveScaledParameter< T >, ParameterLib::FunctionParameter< T >, ParameterLib::GroupBasedParameter< T, MeshItemType >, ParameterLib::MeshElementParameter< T >, ParameterLib::MeshNodeParameter< T >, ParameterLib::RandomFieldMeshElementParameter< T >, ParameterLib::RasterParameter, and ParameterLib::TimeDependentHeterogeneousParameter.
Referenced by MaterialLib::PorousMedium::Permeability::Permeability(), ParameterLib::Parameter< T >::getNodalValuesOnElement(), and ParameterLib::TimeDependentHeterogeneousParameter::getNumberOfGlobalComponents().
|
pure virtual |
Returns the parameter value at the given time and position.
Implemented in ParameterLib::ConstantParameter< T >, ParameterLib::CurveScaledParameter< T >, ParameterLib::FunctionParameter< T >, ParameterLib::GroupBasedParameter< T, MeshItemType >, ParameterLib::MeshElementParameter< T >, ParameterLib::MeshNodeParameter< T >, ParameterLib::RandomFieldMeshElementParameter< T >, ParameterLib::RasterParameter, and ParameterLib::TimeDependentHeterogeneousParameter.
Referenced by ParameterLib::Parameter< T >::getNodalValuesOnElement().
|
inlineexplicit |
Definition at line 49 of file Parameter.h.