OGS
MaterialPropertyLib::FormKelvinVector< GlobalDim > Struct Template Reference

Detailed Description

template<int GlobalDim>
struct MaterialPropertyLib::FormKelvinVector< GlobalDim >

Definition at line 24 of file FormKelvinVector.cpp.

Public Member Functions

MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (double const &value) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::Matrix< double, 2, 1 > const &) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::Matrix< double, 3, 1 > const &values) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::Matrix< double, 2, 2 > const &) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::Matrix< double, 3, 3 > const &values) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::Matrix< double, 4, 1 > const &) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::Matrix< double, 6, 1 > const &) const
 
MathLib::KelvinVector::KelvinVectorType< GlobalDim > operator() (Eigen::MatrixXd const &) const
 

Member Function Documentation

◆ operator()() [1/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( double const & value) const
inline

Definition at line 26 of file FormKelvinVector.cpp.

28 {
31 result.template head<3>() = Eigen::Vector3d::Constant(value);
32 return result;
33 }
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType

◆ operator()() [2/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::Matrix< double, 2, 1 > const & ) const
inline

Definition at line 35 of file FormKelvinVector.cpp.

37 {
39 }
#define OGS_FATAL(...)
Definition Error.h:26
static constexpr const char error_info[]

References MaterialPropertyLib::error_info, and OGS_FATAL.

◆ operator()() [3/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::Matrix< double, 2, 2 > const & ) const
inline

Definition at line 50 of file FormKelvinVector.cpp.

52 {
54 }

References MaterialPropertyLib::error_info, and OGS_FATAL.

◆ operator()() [4/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::Matrix< double, 3, 1 > const & values) const
inline

Definition at line 41 of file FormKelvinVector.cpp.

43 {
46 result.template head<3>() = values;
47 return result;
48 }

◆ operator()() [5/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::Matrix< double, 3, 3 > const & values) const
inline

Definition at line 56 of file FormKelvinVector.cpp.

58 {
60 }
KelvinVectorType< DisplacementDim > tensorToKelvin(Eigen::Matrix< double, 3, 3 > const &m)

References MathLib::KelvinVector::tensorToKelvin().

◆ operator()() [6/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::Matrix< double, 4, 1 > const & ) const
inline

Definition at line 62 of file FormKelvinVector.cpp.

64 {
66 }

References MaterialPropertyLib::error_info, and OGS_FATAL.

◆ operator()() [7/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::Matrix< double, 6, 1 > const & ) const
inline

Definition at line 68 of file FormKelvinVector.cpp.

70 {
72 }

References MaterialPropertyLib::error_info, and OGS_FATAL.

◆ operator()() [8/8]

template<int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator() ( Eigen::MatrixXd const & ) const
inline

Definition at line 74 of file FormKelvinVector.cpp.

76 {
78 }

References MaterialPropertyLib::error_info, and OGS_FATAL.


The documentation for this struct was generated from the following file: