Loading [MathJax]/extensions/MathZoom.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-276-g3d6bff6232 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
▼
MaterialLib
►
Adsorption
►
Fluid
►
FractureModels
▼
MPL
►
Components
▼
Properties
►
CapillaryPressureSaturation
►
Density
►
Enthalpy
►
RelativePermeability
►
SwellingStress
►
ThermalConductivity
►
VapourDiffusion
►
Viscosity
AverageMolarMass.cpp
►
AverageMolarMass.h
BishopsPowerLaw.cpp
►
BishopsPowerLaw.h
BishopsSaturationCutoff.cpp
►
BishopsSaturationCutoff.h
ClausiusClapeyron.cpp
►
ClausiusClapeyron.h
►
Constant.cpp
►
Constant.h
►
CreateAverageMolarMass.cpp
►
CreateAverageMolarMass.h
►
CreateBishopsPowerLaw.cpp
►
CreateBishopsPowerLaw.h
►
CreateBishopsSaturationCutoff.cpp
►
CreateBishopsSaturationCutoff.h
►
CreateClausiusClapeyron.cpp
►
CreateClausiusClapeyron.h
►
CreateConstant.cpp
►
CreateConstant.h
►
CreateCubicLawPermeability.cpp
►
CreateCubicLawPermeability.h
►
CreateCurve.cpp
►
CreateCurve.h
►
CreateDupuitPermeability.cpp
►
CreateDupuitPermeability.h
►
CreateEffectiveThermalConductivityPorosityMixing.cpp
►
CreateEffectiveThermalConductivityPorosityMixing.h
►
CreateEmbeddedFracturePermeability.cpp
►
CreateEmbeddedFracturePermeability.h
►
CreateExponential.cpp
►
CreateExponential.h
►
CreateFunction.cpp
►
CreateFunction.h
►
CreateGasPressureDependentPermeability.cpp
►
CreateGasPressureDependentPermeability.h
►
CreateIdealGasLaw.cpp
►
CreateIdealGasLaw.h
►
CreateIdealGasLawBinaryMixture.cpp
►
CreateIdealGasLawBinaryMixture.h
►
CreateKozenyCarmanModel.cpp
►
CreateKozenyCarmanModel.h
►
CreateLinear.cpp
►
CreateLinear.h
►
CreateOrthotropicEmbeddedFracturePermeability.cpp
►
CreateOrthotropicEmbeddedFracturePermeability.h
►
CreateParameter.cpp
►
CreateParameter.h
►
CreatePengRobinson.cpp
►
CreatePengRobinson.h
►
CreatePermeabilityMohrCoulombFailureIndexModel.cpp
►
CreatePermeabilityMohrCoulombFailureIndexModel.h
►
CreatePermeabilityOrthotropicPowerLaw.cpp
►
CreatePermeabilityOrthotropicPowerLaw.h
►
CreatePorosityFromMassBalance.cpp
►
CreatePorosityFromMassBalance.h
CreateProperties.h
►
CreateSaturationDependentSwelling.cpp
►
CreateSaturationDependentSwelling.h
►
CreateSaturationDependentThermalConductivity.cpp
►
CreateSaturationDependentThermalConductivity.h
►
CreateSpecificHeatCapacityWithLatentHeat.cpp
►
CreateSpecificHeatCapacityWithLatentHeat.h
►
CreateStrainDependentPermeability.cpp
►
CreateStrainDependentPermeability.h
►
CreateTemperatureDependentDiffusion.cpp
►
CreateTemperatureDependentDiffusion.h
►
CreateTemperatureDependentFraction.cpp
►
CreateTemperatureDependentFraction.h
►
CreateTransportPorosityFromMassBalance.cpp
►
CreateTransportPorosityFromMassBalance.h
►
CreateVermaPruessModel.cpp
►
CreateVermaPruessModel.h
►
CreateVolumeFractionAverage.cpp
►
CreateVolumeFractionAverage.h
►
CreateWaterSaturationTemperatureIAPWSIF97Region4.cpp
►
CreateWaterSaturationTemperatureIAPWSIF97Region4.h
►
CreateWaterTemperatureIAPWSIF97Region1.cpp
►
CreateWaterTemperatureIAPWSIF97Region1.h
CubicLawPermeability.cpp
►
CubicLawPermeability.h
Curve.cpp
►
Curve.h
DupuitPermeability.cpp
►
DupuitPermeability.h
EffectiveThermalConductivityPorosityMixing.cpp
►
EffectiveThermalConductivityPorosityMixing.h
EmbeddedFracturePermeability.cpp
►
EmbeddedFracturePermeability.h
Exponential.cpp
►
Exponential.h
►
Function.cpp
►
Function.h
GasPressureDependentPermeability.cpp
►
GasPressureDependentPermeability.h
IdealGasLaw.cpp
►
IdealGasLaw.h
IdealGasLawBinaryMixture.cpp
►
IdealGasLawBinaryMixture.h
KozenyCarmanModel.cpp
►
KozenyCarmanModel.h
Linear.cpp
►
Linear.h
OrthotropicEmbeddedFracturePermeability.cpp
►
OrthotropicEmbeddedFracturePermeability.h
Parameter.cpp
►
Parameter.h
PengRobinson.cpp
►
PengRobinson.h
PermeabilityMohrCoulombFailureIndexModel.cpp
►
PermeabilityMohrCoulombFailureIndexModel.h
PermeabilityOrthotropicPowerLaw.cpp
►
PermeabilityOrthotropicPowerLaw.h
PorosityFromMassBalance.cpp
►
PorosityFromMassBalance.h
Properties.h
SaturationDependentSwelling.cpp
►
SaturationDependentSwelling.h
SpecificHeatCapacityWithLatentHeat.cpp
►
SpecificHeatCapacityWithLatentHeat.h
StrainDependentPermeability.cpp
►
StrainDependentPermeability.h
TemperatureDependentDiffusion.cpp
►
TemperatureDependentDiffusion.h
TemperatureDependentFraction.cpp
►
TemperatureDependentFraction.h
TransportPorosityFromMassBalance.cpp
►
TransportPorosityFromMassBalance.h
VermaPruessModel.cpp
►
VermaPruessModel.h
VolumeFractionAverage.cpp
►
VolumeFractionAverage.h
►
WaterSaturationCurveIAPWSIF97Region4.h
WaterSaturationTemperatureIAPWSIF97Region4.cpp
►
WaterSaturationTemperatureIAPWSIF97Region4.h
►
WaterTemperatureIAPWSIF97Region1.cpp
►
WaterTemperatureIAPWSIF97Region1.h
►
Utils
►
CheckMaterialSpatialDistributionMap.h
►
Component.cpp
►
Component.h
►
CreateComponent.cpp
►
CreateComponent.h
►
CreateMaterialSpatialDistributionMap.cpp
►
CreateMaterialSpatialDistributionMap.h
►
CreateMedium.cpp
►
CreateMedium.h
►
CreatePhase.cpp
►
CreatePhase.h
►
CreateProperty.cpp
►
CreateProperty.h
MaterialSpatialDistributionMap.cpp
►
MaterialSpatialDistributionMap.h
►
Medium.cpp
►
Medium.h
►
Phase.cpp
►
Phase.h
►
Property.cpp
►
Property.h
►
PropertyType.cpp
►
PropertyType.h
►
VariableType.cpp
►
VariableType.h
►
PorousMedium
►
SolidModels
►
Utils
►
PhysicalConstant.h
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
Function.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <utility>
12
#include <vector>
13
14
#include "
MaterialLib/MPL/Property.h
"
15
#include "
MaterialLib/MPL/VariableType.h
"
16
17
namespace
MaterialPropertyLib
18
{
25
class
Function
final :
public
Property
26
{
27
public
:
28
Function
(
29
std::string
name
,
30
std::vector<std::string>
const
& value_string_expressions,
31
std::vector<std::pair<std::string, std::vector<std::string>>>
const
&
32
dvalue_string_expressions);
33
34
PropertyDataType
value
(
VariableArray
const
& variable_array,
35
ParameterLib::SpatialPosition
const
& pos,
36
double
const
t,
37
double
const
dt)
const override
;
38
39
PropertyDataType
dValue
(
VariableArray
const
& variable_array,
40
Variable
const
variable,
41
ParameterLib::SpatialPosition
const
& pos,
42
double
const
t,
43
double
const
dt)
const override
;
44
45
~Function
();
46
47
private
:
48
template
<
int
D>
49
class
Implementation
;
50
51
std::unique_ptr<Implementation<2>>
impl2_
;
52
std::unique_ptr<Implementation<3>>
impl3_
;
53
54
std::variant<Function::Implementation<2>*,
Function::Implementation<3>
*>
55
getImplementationForDimensionOfVariableArray
(
56
VariableArray
const
& variable_array)
const
;
57
59
std::vector<Variable>
variables_
;
60
61
mutable
std::mutex
mutex_
;
62
};
25
class
Function
final :
public
Property
{
…
};
63
}
// namespace MaterialPropertyLib
Property.h
VariableType.h
MaterialPropertyLib::Function::Implementation
Definition
Function.h:49
MaterialPropertyLib::Function
Definition
Function.h:26
MaterialPropertyLib::Function::impl3_
std::unique_ptr< Implementation< 3 > > impl3_
Definition
Function.h:52
MaterialPropertyLib::Function::variables_
std::vector< Variable > variables_
Variables used in the exprtk expressions.
Definition
Function.h:59
MaterialPropertyLib::Function::getImplementationForDimensionOfVariableArray
std::variant< Function::Implementation< 2 > *, Function::Implementation< 3 > * > getImplementationForDimensionOfVariableArray(VariableArray const &variable_array) const
Definition
Function.cpp:346
MaterialPropertyLib::Function::Function
Function(std::string name, std::vector< std::string > const &value_string_expressions, std::vector< std::pair< std::string, std::vector< std::string > > > const &dvalue_string_expressions)
Definition
Function.cpp:323
MaterialPropertyLib::Function::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override
Definition
Function.cpp:377
MaterialPropertyLib::Function::mutex_
std::mutex mutex_
Definition
Function.h:61
MaterialPropertyLib::Function::impl2_
std::unique_ptr< Implementation< 2 > > impl2_
Definition
Function.h:51
MaterialPropertyLib::Function::~Function
~Function()
MaterialPropertyLib::Property
Definition
Property.h:51
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::VariableArray
Definition
VariableType.h:99
ParameterLib::SpatialPosition
Definition
SpatialPosition.h:28
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::Variable
Variable
Definition
VariableType.h:30
MaterialPropertyLib::name
@ name
Definition
PropertyType.h:66
MaterialPropertyLib::PropertyDataType
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType
Definition
Property.h:31
MaterialLib
MPL
Properties
Function.h
Generated by
1.12.0