MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::function::TensorValueConcept Concept Reference

concept defining the scalar types which may be used as value type of a tensorial object More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/TFEL/TensorConcept.hxx>

Concept definition

template<typename T>
concept mgis::function::TensorValueConcept = ((::tfel::math::MutableScalarConcept<T>)&&(
std::same_as<::tfel::math::base_type<T>, real>))
concept defining the scalar types which may be used as value type of a tensorial object
Definition TensorConcept.hxx:52
mgis_real real
alias to the numeric type used
Definition Config.hxx:140

Detailed Description

concept defining the scalar types which may be used as value type of a tensorial object

A type matches this concept if it matches the tfel::math::MutableScalarConcept concept of TFEL and if its base numeric type, as returned by tfel::math::base_type, is real.

Template Parameters
Ttype to be tested