OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::MaterialStatusMapperInterface Class Referenceabstract

matstatmapperint.h More...

#include <matstatmapperint.h>

+ Inheritance diagram for oofem::MaterialStatusMapperInterface:
+ Collaboration diagram for oofem::MaterialStatusMapperInterface:

Public Member Functions

 MaterialStatusMapperInterface ()
 
virtual ~MaterialStatusMapperInterface ()
 
virtual void copyStateVariables (const MaterialStatus &iStatus)=0
 
virtual void addStateVariables (const MaterialStatus &iStatus)=0
 
virtual int MSMI_map (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus)
 Maps all internal state variables from the old domain to the given gp status. More...
 
virtual int MSMI_map_cz (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus)
 
virtual int MSMI_update (const GaussPoint &iGP, const TimeStep &iTStep)
 Updates the internal state variables from previously mapped values. More...
 
virtual int MSMI_finish (const TimeStep &iTStep)
 Finishes the mapping for given time step. More...
 

Protected Attributes

MaterialMappingAlgorithmmpMaterialMapper
 

Detailed Description

matstatmapperint.h

MaterialStatusMapperInterface: An interface class for MaterialStatus. The purpose is to allow mapping of state variables (Gauss point variables) in a generic way. This is useful when the mesh changes, e.g. due to propagating cracks or in adaptive analysis.

To add adaptivity capability to a new material model, only copyStateVariables() and addStateVariables need to be overloaded in the corresponding material status class. Hence, mapping functionality can be implemented for new material models with minimum effort.

Note
bp: this is however renundant to existing MaterialModelMapperInterface (MMI_map, MMI_update), which is perhaps more flexible (several mapping algorithms, etc).
Author
Erik Svenning Created on: Nov 6, 2013

Definition at line 68 of file matstatmapperint.h.

Constructor & Destructor Documentation

oofem::MaterialStatusMapperInterface::MaterialStatusMapperInterface ( )

Definition at line 50 of file matstatmapperint.C.

References mpMaterialMapper.

oofem::MaterialStatusMapperInterface::~MaterialStatusMapperInterface ( )
virtual

Definition at line 55 of file matstatmapperint.C.

References mpMaterialMapper.

Member Function Documentation

virtual void oofem::MaterialStatusMapperInterface::addStateVariables ( const MaterialStatus iStatus)
pure virtual
int oofem::MaterialStatusMapperInterface::MSMI_finish ( const TimeStep iTStep)
virtual

Finishes the mapping for given time step.

Used to perform cleanup.

Definition at line 109 of file matstatmapperint.C.

int oofem::MaterialStatusMapperInterface::MSMI_map ( const GaussPoint iGP,
const Domain iOldDom,
Set sourceSet,
const TimeStep iTStep,
MaterialStatus oStatus 
)
virtual

Maps all internal state variables from the old domain to the given gp status.

Parameters
iGPIntegration point belonging to the new domain.
iOldDomOld domain.
iTStepTime step.
Returns
Nonzero if o.k.

Definition at line 63 of file matstatmapperint.C.

References oofem::MaterialMappingAlgorithm::init(), oofem::MaterialMappingAlgorithm::mapStatus(), and mpMaterialMapper.

int oofem::MaterialStatusMapperInterface::MSMI_map_cz ( const GaussPoint iGP,
const Domain iOldDom,
Set sourceSet,
const TimeStep iTStep,
MaterialStatus oStatus 
)
virtual
int oofem::MaterialStatusMapperInterface::MSMI_update ( const GaussPoint iGP,
const TimeStep iTStep 
)
virtual

Updates the internal state variables from previously mapped values.

Parameters
iGPIntegration point belonging to the new domain.
iTStepTime step.
Returns
Nonzero if o.k.

Definition at line 100 of file matstatmapperint.C.

Member Data Documentation

MaterialMappingAlgorithm* oofem::MaterialStatusMapperInterface::mpMaterialMapper
protected

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:38 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011