OGS
ProcessLib::Deformation::CollectIntegrationPointDataForIpWriter< InternalVariable > Class Template Referencefinal

Detailed Description

template<typename InternalVariable>
class ProcessLib::Deformation::CollectIntegrationPointDataForIpWriter< InternalVariable >

Definition at line 221 of file SolidMaterialInternalToSecondaryVariables.h.

#include <SolidMaterialInternalToSecondaryVariables.h>

Public Member Functions

 CollectIntegrationPointDataForIpWriter (InternalVariablesCollection< InternalVariable > &&internal_variables_collection)
template<typename LocalAssemblerInterface>
std::vector< double > operator() (LocalAssemblerInterface const &loc_asm) const

Private Attributes

InternalVariablesCollection< InternalVariable > internal_variables_collection_

Constructor & Destructor Documentation

◆ CollectIntegrationPointDataForIpWriter()

template<typename InternalVariable>
ProcessLib::Deformation::CollectIntegrationPointDataForIpWriter< InternalVariable >::CollectIntegrationPointDataForIpWriter ( InternalVariablesCollection< InternalVariable > && internal_variables_collection)
inlineexplicit

Member Function Documentation

◆ operator()()

template<typename InternalVariable>
template<typename LocalAssemblerInterface>
std::vector< double > ProcessLib::Deformation::CollectIntegrationPointDataForIpWriter< InternalVariable >::operator() ( LocalAssemblerInterface const & loc_asm) const
inline

Definition at line 232 of file SolidMaterialInternalToSecondaryVariables.h.

233 {
234 auto const iv =
235 internal_variables_collection_.findInternalVariable(loc_asm);
236 if (iv == nullptr)
237 {
238 // If the material model for the present material group does not
239 // have the requested internal variable, return an empty vector,
240 // which will be ignored by the integration point writer.
241 return {};
242 }
243
244 auto const& fct = iv->reference;
245
246 return loc_asm.getMaterialStateVariableInternalState(
247 fct, internal_variables_collection_.num_components);
248 };

References internal_variables_collection_.

Member Data Documentation

◆ internal_variables_collection_

template<typename InternalVariable>
InternalVariablesCollection<InternalVariable> ProcessLib::Deformation::CollectIntegrationPointDataForIpWriter< InternalVariable >::internal_variables_collection_
private

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