|
| template<unsigned short N, FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, FourthOrderTensorEvaluatorConcept StiffnessEvaluator, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType> |
| constexpr bool | mgis::function::internals::check (AbstractErrorHandler &eh, const ConvertFiniteStrainStiffnessEvaluator< N, ResultFlag, SourceFlag, StiffnessEvaluator, DeformationGradientEvaluatorType0, DeformationGradientEvaluatorType1, CauchyStressEvaluatorType > &e) |
| | perform consistency checks on a finite strain stiffness conversion evaluator
|
| template<unsigned short N, FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, FourthOrderTensorEvaluatorConcept StiffnessEvaluator, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType> |
| constexpr mgis::size_type | mgis::function::internals::getNumberOfComponents (const ConvertFiniteStrainStiffnessEvaluator< N, ResultFlag, SourceFlag, StiffnessEvaluator, DeformationGradientEvaluatorType0, DeformationGradientEvaluatorType1, CauchyStressEvaluatorType > &) MGIS_NOEXCEPT |
| | return the number of components of a finite strain stiffness conversion evaluator
|
| template<unsigned short N, FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, FourthOrderTensorEvaluatorConcept StiffnessEvaluator, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType> |
| decltype(auto) | mgis::function::internals::getSpace (const ConvertFiniteStrainStiffnessEvaluator< N, ResultFlag, SourceFlag, StiffnessEvaluator, DeformationGradientEvaluatorType0, DeformationGradientEvaluatorType1, CauchyStressEvaluatorType > &e) |
| | return the space of a finite strain stiffness conversion evaluator
|
| template<FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType> |
| constexpr auto | mgis::function::convert_finite_strain_stiffness (const DeformationGradientEvaluatorType0 &, const DeformationGradientEvaluatorType1 &, const CauchyStressEvaluatorType &) |
| | create a modifier converting a finite strain tangent operator computed by an evaluator into another kind of tangent operator
|
Implementation of the finite strain tangent operator conversion declared in MGIS/Function/TFEL/Mechanics.hxx: the ConvertFiniteStrainStiffnessEvaluator evaluator, the associated modifier generator and the convert_finite_strain_stiffness function.
- Author
- Thomas Helfer
- Date
- 02/05/2025
- Copyright
- (C) Copyright Thomas Helfer 2018. Use, modification and distribution are subject to one of the following licences:
- GNU Lesser General Public License (LGPL), Version 3.0. (See accompanying file LGPL-3.0.txt)
- CECILL-C, Version 1.0 (See accompanying files CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt).
template<unsigned short N, FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, FourthOrderTensorEvaluatorConcept StiffnessEvaluator, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType>
perform consistency checks on a finite strain stiffness conversion evaluator
- Template Parameters
-
| N | space dimension (1, 2 or 3) |
| ResultFlag | kind of the tangent operator returned by the evaluator |
| SourceFlag | kind of the tangent operator taken as input |
| StiffnessEvaluator | type of the evaluator providing the tangent operator to convert |
| DeformationGradientEvaluatorType0 | type of the evaluator providing the first deformation gradient |
| DeformationGradientEvaluatorType1 | type of the evaluator providing the second deformation gradient |
| CauchyStressEvaluatorType | type of the evaluator providing the Cauchy stress |
- Parameters
-
| [in] | eh | error handler used to report the errors |
| [in] | e | conversion evaluator |
- Returns
- true if the conversion evaluator is valid
template<FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType>
| auto mgis::function::convert_finite_strain_stiffness |
( |
const DeformationGradientEvaluatorType0 & | F0, |
|
|
const DeformationGradientEvaluatorType1 & | F1, |
|
|
const CauchyStressEvaluatorType & | s ) |
|
constexpr |
create a modifier converting a finite strain tangent operator computed by an evaluator into another kind of tangent operator
definition of the convert_finite_strain_stiffness function declared in MGIS/Function/TFEL/Mechanics.hxx
The conversion is performed by tfel::material::convert<ResultFlag, SourceFlag, N> and generally requires the two deformation gradients and the Cauchy stress at the integration point considered. The returned object is a modifier to be applied, using operator|, to an evaluator returning a tangent operator of kind SourceFlag.
- Template Parameters
-
| ResultFlag | kind of the tangent operator to be returned |
| SourceFlag | kind of the tangent operator taken as input |
| DeformationGradientEvaluatorType0 | type of the evaluator providing the first deformation gradient |
| DeformationGradientEvaluatorType1 | type of the evaluator providing the second deformation gradient |
| CauchyStressEvaluatorType | type of the evaluator providing the Cauchy stress |
- Parameters
-
| [in] | F0 | evaluator used to compute the first deformation gradient |
| [in] | F1 | evaluator used to compute the second deformation gradient |
| [in] | s | evaluator used to compute the Cauchy stress |
- Returns
- a modifier converting the tangent operators it is applied to
The space dimension N is deduced from that of the first deformation gradient evaluator; the second deformation gradient and the Cauchy stress must have the same dimension, which is enforced by static_assert.
- Template Parameters
-
| ResultFlag | kind of the tangent operator to be returned |
| SourceFlag | kind of the tangent operator taken as input |
| DeformationGradientEvaluatorType0 | type of the evaluator providing the first deformation gradient |
| DeformationGradientEvaluatorType1 | type of the evaluator providing the second deformation gradient |
| CauchyStressEvaluatorType | type of the evaluator providing the Cauchy stress |
- Parameters
-
| [in] | F0 | evaluator used to compute the first deformation gradient |
| [in] | F1 | evaluator used to compute the second deformation gradient |
| [in] | s | evaluator used to compute the Cauchy stress |
- Returns
- a modifier converting the tangent operators it is applied to
template<unsigned short N, FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, FourthOrderTensorEvaluatorConcept StiffnessEvaluator, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType>
| mgis::size_type mgis::function::internals::getNumberOfComponents |
( |
const ConvertFiniteStrainStiffnessEvaluator< N, ResultFlag, SourceFlag, StiffnessEvaluator, DeformationGradientEvaluatorType0, DeformationGradientEvaluatorType1, CauchyStressEvaluatorType > & | | ) |
|
|
nodiscardconstexpr |
return the number of components of a finite strain stiffness conversion evaluator
- Template Parameters
-
| N | space dimension (1, 2 or 3) |
| ResultFlag | kind of the tangent operator returned by the evaluator |
| SourceFlag | kind of the tangent operator taken as input |
| StiffnessEvaluator | type of the evaluator providing the tangent operator to convert |
| DeformationGradientEvaluatorType0 | type of the evaluator providing the first deformation gradient |
| DeformationGradientEvaluatorType1 | type of the evaluator providing the second deformation gradient |
| CauchyStressEvaluatorType | type of the evaluator providing the Cauchy stress |
- Parameters
-
| [in] | e | conversion evaluator |
- Returns
- the number of components of a tangent operator of kind ResultFlag and dimension N
template<unsigned short N, FiniteStrainStiffnessKind ResultFlag, FiniteStrainStiffnessKind SourceFlag, FourthOrderTensorEvaluatorConcept StiffnessEvaluator, TensorEvaluatorConcept DeformationGradientEvaluatorType0, TensorEvaluatorConcept DeformationGradientEvaluatorType1, StensorEvaluatorConcept CauchyStressEvaluatorType>
| decltype(auto) mgis::function::internals::getSpace |
( |
const ConvertFiniteStrainStiffnessEvaluator< N, ResultFlag, SourceFlag, StiffnessEvaluator, DeformationGradientEvaluatorType0, DeformationGradientEvaluatorType1, CauchyStressEvaluatorType > & | e | ) |
|
|
nodiscard |
return the space of a finite strain stiffness conversion evaluator
- Template Parameters
-
| N | space dimension (1, 2 or 3) |
| ResultFlag | kind of the tangent operator returned by the evaluator |
| SourceFlag | kind of the tangent operator taken as input |
| StiffnessEvaluator | type of the evaluator providing the tangent operator to convert |
| DeformationGradientEvaluatorType0 | type of the evaluator providing the first deformation gradient |
| DeformationGradientEvaluatorType1 | type of the evaluator providing the second deformation gradient |
| CauchyStressEvaluatorType | type of the evaluator providing the Cauchy stress |
- Parameters
-
| [in] | e | conversion evaluator |
- Returns
- the space on which the evaluator is defined