OOFEM  2.1
Public Types | Public Member Functions | Protected Attributes
oofem::RCSDEMaterialStatus Class Reference

This class implements associated Material Status to RCSDEMaterial. More...

#include <rcsde.h>

+ Inheritance diagram for oofem::RCSDEMaterialStatus:
+ Collaboration diagram for oofem::RCSDEMaterialStatus:

List of all members.

Public Types

enum  __rcsdModeType { rcMode, sdMode }

Public Member Functions

 RCSDEMaterialStatus (int n, Domain *d, GaussPoint *g)
virtual ~RCSDEMaterialStatus ()
virtual void printOutputAt (FILE *file, TimeStep *tStep)
 Print receiver's output to given stream.
double giveTempMaxEquivStrain ()
void setTempMaxEquivStrain (double val)
double giveTempDamageCoeff ()
void setTempDamageCoeff (double val)
const FloatMatrixgiveDs0Matrix ()
void setDs0Matrix (FloatMatrix &mtrx)
double giveTransitionEpsCoeff ()
void setTransitionEpsCoeff (double val)
double giveEpsF2Coeff ()
void setEpsF2Coeff (double val)
__rcsdModeType giveTempMode ()
void setTempMode (__rcsdModeType mode)
double giveMaxEquivStrain ()
double giveDamageCoeff ()
__rcsdModeType giveMode ()
virtual const char * giveClassName () const
virtual classType giveClassID () const
 Returns classType id of receiver.
virtual void initTempStatus ()
 Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
virtual void updateYourself (TimeStep *tStep)
 Update equilibrium history variables according to temp-variables.
virtual contextIOResultType saveContext (DataStream *stream, ContextMode mode, void *obj=NULL)
 Stores receiver state to output stream.
virtual contextIOResultType restoreContext (DataStream *stream, ContextMode mode, void *obj=NULL)
 Restores the receiver state previously written in stream.

Protected Attributes

double maxEquivStrain
double tempMaxEquivStrain
double damageCoeff
double tempDamageCoeff
FloatMatrix Ds0
double transitionEps
double epsF2
__rcsdModeType rcsdMode
__rcsdModeType tempRcsdMode

Detailed Description

This class implements associated Material Status to RCSDEMaterial.

Definition at line 52 of file rcsde.h.


Member Enumeration Documentation

Enumerator:
rcMode 
sdMode 

Definition at line 55 of file rcsde.h.


Constructor & Destructor Documentation

Definition at line 484 of file rcsde.C.


Member Function Documentation

virtual classType oofem::RCSDEMaterialStatus::giveClassID ( ) const [inline, virtual]

Returns classType id of receiver.

Intended for run time type checking. Every derived class have to overload this method.

See also:
classType.
Returns:
Class type of receiver.

Reimplemented from oofem::RCM2MaterialStatus.

Reimplemented in oofem::RCSDNLMaterialStatus.

Definition at line 95 of file rcsde.h.

References oofem::RCSDEMaterialStatusClass.

virtual const char* oofem::RCSDEMaterialStatus::giveClassName ( ) const [inline, virtual]
Returns:
Class name of the receiver.

Reimplemented from oofem::RCM2MaterialStatus.

Reimplemented in oofem::RCSDNLMaterialStatus.

Definition at line 94 of file rcsde.h.

Definition at line 90 of file rcsde.h.

References damageCoeff.

Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix().

Definition at line 89 of file rcsde.h.

References maxEquivStrain.

Definition at line 92 of file rcsde.h.

References rcsdMode.

Definition at line 75 of file rcsde.h.

References tempDamageCoeff.

Referenced by printOutputAt().

Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.

Reimplemented from oofem::RCM2MaterialStatus.

Reimplemented in oofem::RCSDNLMaterialStatus.

Definition at line 535 of file rcsde.C.

References damageCoeff, maxEquivStrain, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, and tempRcsdMode.

void oofem::RCSDEMaterialStatus::printOutputAt ( FILE *  file,
TimeStep tStep 
) [virtual]
contextIOResultType oofem::RCSDEMaterialStatus::restoreContext ( DataStream stream,
ContextMode  mode,
void *  obj = NULL 
) [virtual]

Restores the receiver state previously written in stream.

Reads the FEMComponent class-id in order to allow test consistency.

See also:
saveContext
Parameters:
streamInput stream.
modeDetermines amount of info available in stream (state, definition, ...).
objSpecial parameter for sending extra information.
Returns:
contextIOResultType.
Exceptions:
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::RCM2MaterialStatus.

Reimplemented in oofem::RCSDNLMaterialStatus.

Definition at line 611 of file rcsde.C.

References oofem::CIO_IOERR, oofem::CIO_OK, damageCoeff, Ds0, epsF2, maxEquivStrain, rcsdMode, oofem::DataStream::read(), oofem::RCM2MaterialStatus::restoreContext(), oofem::FloatMatrix::restoreYourself(), THROW_CIOERR, and transitionEps.

Referenced by oofem::RCSDNLMaterialStatus::restoreContext().

contextIOResultType oofem::RCSDEMaterialStatus::saveContext ( DataStream stream,
ContextMode  mode,
void *  obj = NULL 
) [virtual]

Stores receiver state to output stream.

Writes the FEMComponent class-id in order to allow test whether correct data are then restored.

Parameters:
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
objSpecial parameter, used only to send particular integration point to material class version of this method.
Returns:
contextIOResultType.
Exceptions:
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::RCM2MaterialStatus.

Reimplemented in oofem::RCSDNLMaterialStatus.

Definition at line 566 of file rcsde.C.

References oofem::CIO_IOERR, oofem::CIO_OK, damageCoeff, Ds0, epsF2, maxEquivStrain, rcsdMode, oofem::RCM2MaterialStatus::saveContext(), oofem::FloatMatrix::storeYourself(), THROW_CIOERR, transitionEps, and oofem::DataStream::write().

Referenced by oofem::RCSDNLMaterialStatus::saveContext().

void oofem::RCSDEMaterialStatus::setEpsF2Coeff ( double  val) [inline]
void oofem::RCSDEMaterialStatus::setTempDamageCoeff ( double  val) [inline]

Update equilibrium history variables according to temp-variables.

Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::RCM2MaterialStatus.

Reimplemented in oofem::RCSDNLMaterialStatus.

Definition at line 550 of file rcsde.C.

References damageCoeff, maxEquivStrain, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, and tempRcsdMode.


Member Data Documentation

Definition at line 61 of file rcsde.h.

Referenced by giveDs0Matrix(), restoreContext(), saveContext(), and setDs0Matrix().


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 Sun Mar 10 2013 18:17:03 for OOFEM by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2011