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-423-gda6ede93c83 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
▼
Utils
►
CheckMPLPhasesForSinglePhaseFlow.cpp
►
CheckMPLPhasesForSinglePhaseFlow.h
►
CheckVanGenuchtenExponentRange.cpp
►
CheckVanGenuchtenExponentRange.h
►
FormEffectiveThermalConductivity.cpp
►
FormEffectiveThermalConductivity.h
►
FormEigenTensor.cpp
►
FormEigenTensor.h
►
FormEigenVector.cpp
►
FormEigenVector.h
►
FormKelvinVector.cpp
►
FormKelvinVector.h
►
GetFluidDensityAndViscosity.cpp
►
GetFluidDensityAndViscosity.h
►
GetLiquidThermalExpansivity.cpp
►
GetLiquidThermalExpansivity.h
►
GetSymmetricTensor.cpp
►
GetSymmetricTensor.h
SigmoidFunction.cpp
►
SigmoidFunction.h
►
Tensor.h
►
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
GetSymmetricTensor.h
Go to the documentation of this file.
1
/*
2
* \file
3
* \copyright
4
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
5
* Distributed under a Modified BSD License.
6
* See accompanying file LICENSE.txt or
7
* http://www.opengeosys.org/project/license
8
*
9
* Created on March 04, 2020, 5:20 PM
10
*/
11
12
#pragma once
13
14
#include <Eigen/Core>
15
16
#include "
MaterialLib/MPL/Property.h
"
17
#include "
MathLib/KelvinVector.h
"
18
19
namespace
MaterialPropertyLib
20
{
21
template
<
int
GlobalDim>
22
constexpr
int
symmetric_tensor_size
=
23
MathLib::KelvinVector::kelvin_vector_dimensions
(GlobalDim);
24
25
template
<
int
GlobalDim>
26
using
SymmetricTensor
=
27
Eigen::Matrix<double, symmetric_tensor_size<GlobalDim>, 1>;
28
29
template
<
int
GlobalDim>
30
SymmetricTensor<GlobalDim>
getSymmetricTensor
(
31
MaterialPropertyLib::PropertyDataType
const
& values);
32
}
// namespace MaterialPropertyLib
KelvinVector.h
Property.h
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::symmetric_tensor_size
constexpr int symmetric_tensor_size
Definition
GetSymmetricTensor.h:22
MaterialPropertyLib::SymmetricTensor
Eigen::Matrix< double, symmetric_tensor_size< GlobalDim >, 1 > SymmetricTensor
Definition
GetSymmetricTensor.h:26
MaterialPropertyLib::getSymmetricTensor
SymmetricTensor< GlobalDim > getSymmetricTensor(MaterialPropertyLib::PropertyDataType const &values)
Definition
GetSymmetricTensor.cpp:95
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
MathLib::KelvinVector::kelvin_vector_dimensions
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.
Definition
KelvinVector.h:24
MaterialLib
MPL
Utils
GetSymmetricTensor.h
Generated by
1.12.0