OGS
MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable Struct Reference

Detailed Description

template<int DisplacementDim>
struct MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable

Helper type for providing access to internal variables.

Definition at line 96 of file MechanicsBase.h.

#include <MechanicsBase.h>

Public Types

using Getter = std::function< std::vector< double > const &(MaterialStateVariables const &, std::vector< double > &)>
 
using WriteAccess = std::function< BaseLib::DynamicSpan< double >(MaterialStateVariables &)>
 

Public Attributes

std::string const name
 name of the internal variable More...
 
int const num_components
 number of components of the internal variable More...
 
Getter const getter
 function accessing the internal variable More...
 
WriteAccess const reference
 function accessing the internal variable More...
 

Member Typedef Documentation

◆ Getter

template<int DisplacementDim>
using MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable::Getter = std::function<std::vector<double> const&( MaterialStateVariables const&, std::vector<double>& )>

Definition at line 98 of file MechanicsBase.h.

◆ WriteAccess

template<int DisplacementDim>
using MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable::WriteAccess = std::function<BaseLib::DynamicSpan<double>( MaterialStateVariables&)>

Definition at line 100 of file MechanicsBase.h.

Member Data Documentation

◆ getter

template<int DisplacementDim>
Getter const MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable::getter

function accessing the internal variable

Definition at line 110 of file MechanicsBase.h.

◆ name

template<int DisplacementDim>
std::string const MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable::name

name of the internal variable

Definition at line 104 of file MechanicsBase.h.

◆ num_components

template<int DisplacementDim>
int const MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable::num_components

number of components of the internal variable

Definition at line 107 of file MechanicsBase.h.

◆ reference

template<int DisplacementDim>
WriteAccess const MaterialLib::Solids::MechanicsBase< DisplacementDim >::InternalVariable::reference

function accessing the internal variable

Definition at line 113 of file MechanicsBase.h.


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