OGS
FormKelvinVector.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <Eigen/Core>
7
#include <variant>
8
9
#include "
MaterialLib/MPL/Property.h
"
10
#include "
MathLib/KelvinVector.h
"
11
12
namespace
MaterialPropertyLib
13
{
26
template
<
int
GlobalDim>
27
MathLib::KelvinVector::KelvinVectorType<GlobalDim>
formKelvinVector
(
28
MaterialPropertyLib::PropertyDataType
const
& values);
29
30
extern
template
MathLib::KelvinVector::KelvinVectorType<2>
formKelvinVector<2>
(
31
MaterialPropertyLib::PropertyDataType
const
& values);
32
33
extern
template
MathLib::KelvinVector::KelvinVectorType<3>
formKelvinVector<3>
(
34
MaterialPropertyLib::PropertyDataType
const
& values);
35
36
}
// namespace MaterialPropertyLib
KelvinVector.h
Property.h
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:98
MaterialPropertyLib::formKelvinVector
MathLib::KelvinVector::KelvinVectorType< GlobalDim > formKelvinVector(MaterialPropertyLib::PropertyDataType const &values)
A function to form a Kelvin vector from strain or stress alike property like thermal expansivity for ...
Definition
FormKelvinVector.cpp:74
MaterialPropertyLib::formKelvinVector< 2 >
template MathLib::KelvinVector::KelvinVectorType< 2 > formKelvinVector< 2 >(MaterialPropertyLib::PropertyDataType const &values)
MaterialPropertyLib::formKelvinVector< 3 >
template MathLib::KelvinVector::KelvinVectorType< 3 > formKelvinVector< 3 >(MaterialPropertyLib::PropertyDataType const &values)
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
MaterialLib/MPL/Property.h:24
MathLib::KelvinVector::KelvinVectorType
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType
Definition
KelvinVector.h:41
MaterialLib
MPL
Utils
FormKelvinVector.h
Generated by
1.14.0