19 "The thermal expansivity can only be either a scalar number for isotropic "
20 "thermal expansion or a three element array for anisotropic thermal "
23 template <
int GlobalDim>
27 double const& value)
const
31 result.template head<3>() = Eigen::Vector3d::Constant(value);
36 Eigen::Matrix<double, 2, 1>
const& )
const
42 Eigen::Matrix<double, 3, 1>
const& values)
const
46 result.template head<3>() = values;
51 Eigen::Matrix<double, 2, 2>
const& )
const
57 Eigen::Matrix<double, 3, 3>
const& )
const
63 Eigen::Matrix<double, 4, 1>
const& )
const
69 Eigen::Matrix<double, 6, 1>
const& )
const
75 template <
int GlobalDim>
MathLib::KelvinVector::KelvinVectorType< GlobalDim > formKelvinVectorFromThermalExpansivity(MaterialPropertyLib::PropertyDataType const &values)
A function to form a Kelvin vector from thermal expansivity for thermal strain.
static const char error_info[]
template MathLib::KelvinVector::KelvinVectorType< 3 > formKelvinVectorFromThermalExpansivity< 3 >(MaterialPropertyLib::PropertyDataType const &values)
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
template MathLib::KelvinVector::KelvinVectorType< 2 > formKelvinVectorFromThermalExpansivity< 2 >(MaterialPropertyLib::PropertyDataType const &values)
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType