MGIS
Loading...
Searching...
No Matches
mgis::function::TensorModifier< TensorType, EvaluatorType > Struct Template Reference

a base class for evaluators exposing tensorial object More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/Tensors/TensorModifier.hxx>

Inheritance diagram for mgis::function::TensorModifier< TensorType, EvaluatorType >:
mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType >

Public Member Functions

constexpr size_type getNumberOfComponents () noexcept
 
constexpr auto apply (const evaluator_result< EvaluatorType > &) const
 apply the modifier
 
- Public Member Functions inherited from mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType >
constexpr EvaluatorModifierBase (const EvaluatorType &)
 constructor
 
constexpr EvaluatorModifierBase (const EvaluatorModifierBase &)
 copy constructor
 
constexpr EvaluatorModifierBase (EvaluatorModifierBase &&)
 move constructor
 
constexpr decltype(autogetSpace () const
 return the underlying space
 
constexpr bool check (AbstractErrorHandler &) const
 perform consistency checks
 
constexpr auto operator() (const element_index< Space > &) const
 call operator
 
constexpr auto operator() (const element_workspace< Space > &, const element_index< Space > &) const
 call operator
 
constexpr auto operator() (const cell_index< Space > &, const quadrature_point_index< Space > &) const
 call operator
 
constexpr auto operator() (const cell_workspace< Space > &, const cell_index< Space > &, const quadrature_point_index< Space > &) const
 call operator
 

Additional Inherited Members

- Public Types inherited from mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType >
using Space = evaluator_space< EvaluatorType >
 a simple alias
 
- Protected Attributes inherited from mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType >
EvaluatorType evaluator
 underlying evaluator
 

Detailed Description

template<TensorConcept TensorType, EvaluatorConcept EvaluatorType>
requires (areTensorModifierRequirementsSatisfied<TensorType, EvaluatorType>)
struct mgis::function::TensorModifier< TensorType, EvaluatorType >

a base class for evaluators exposing tensorial object

Template Parameters
TensorTypetensorial object to be exposed
EvaluatorTypeevaluator of the stress

Member Function Documentation

◆ apply()

template<TensorConcept TensorType, EvaluatorConcept EvaluatorType>
requires (areTensorModifierRequirementsSatisfied<TensorType, EvaluatorType>)
constexpr auto mgis::function::TensorModifier< TensorType, EvaluatorType >::apply ( const evaluator_result< EvaluatorType > &  values) const
constexpr

apply the modifier

Parameters
[in]valuesvalues to be modified

◆ getNumberOfComponents()

template<TensorConcept TensorType, EvaluatorConcept EvaluatorType>
requires (areTensorModifierRequirementsSatisfied<TensorType, EvaluatorType>)
constexpr size_type mgis::function::TensorModifier< TensorType, EvaluatorType >::getNumberOfComponents ( )
constexprnoexcept
Returns
the size of the tensorial object to be exposed

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