Loading [MathJax]/extensions/tex2jax.js
OGS
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
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
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
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
h
i
k
l
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
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
GetSymmetricTensor.h
Go to the documentation of this file.
1
/*
2
* \file
3
* \copyright
4
* Copyright (c) 2012-2021, 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/Dense>
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:17
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:27
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 > > PropertyDataType
Definition:
Property.h:35
MaterialPropertyLib::getSymmetricTensor
SymmetricTensor< GlobalDim > getSymmetricTensor(MaterialPropertyLib::PropertyDataType const &values)
Definition:
GetSymmetricTensor.cpp:87
MathLib::KelvinVector::kelvin_vector_dimensions
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.
Definition:
KelvinVector.h:23
MaterialLib
MPL
Utils
GetSymmetricTensor.h
Generated by
1.9.1