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

Detailed Description

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

Definition at line 228 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

Definition at line 231 of file SolidMaterialInternalToSecondaryVariables.h.

234 : internal_variables_collection_(internal_variables_collection)
235 {
236 }

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 239 of file SolidMaterialInternalToSecondaryVariables.h.

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

References ProcessLib::Deformation::CollectIntegrationPointDataForIpWriter< InternalVariable >::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: