OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::IntMatIsoDamageStatus Class Reference

This class implements the InterfaceMaterialStatus associated with IntMatIsoDamage. More...

#include <intmatisodamage.h>

+ Inheritance diagram for oofem::IntMatIsoDamageStatus:
+ Collaboration diagram for oofem::IntMatIsoDamageStatus:

Public Member Functions

 IntMatIsoDamageStatus (int n, Domain *d, GaussPoint *g)
 Constructor. More...
 
virtual ~IntMatIsoDamageStatus ()
 Destructor. More...
 
virtual void printOutputAt (FILE *file, TimeStep *tStep)
 Print receiver's output to given stream. More...
 
double giveKappa ()
 Returns the last equilibrated scalar measure of the largest jump level. More...
 
double giveTempKappa ()
 Returns the temp. scalar measure of the largest jump level. More...
 
void setTempKappa (double newKappa)
 Sets the temp scalar measure of the largest strain level to given value. More...
 
double giveDamage ()
 Returns the last equilibrated damage level. More...
 
double giveTempDamage ()
 Returns the temp. damage level. More...
 
void setTempDamage (double newDamage)
 Sets the temp damage level to given value. More...
 
virtual const char * giveClassName () const
 
virtual void initTempStatus ()
 Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. More...
 
virtual void updateYourself (TimeStep *tStep)
 Update equilibrium history variables according to temp-variables. More...
 
virtual contextIOResultType saveContext (DataStream &stream, ContextMode mode, void *obj=NULL)
 Stores receiver state to output stream. More...
 
virtual contextIOResultType restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL)
 Restores the receiver state previously written in stream. More...
 
- Public Member Functions inherited from oofem::StructuralInterfaceMaterialStatus
 StructuralInterfaceMaterialStatus (int n, Domain *d, GaussPoint *g)
 Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and IntegrationPoint g. More...
 
virtual ~StructuralInterfaceMaterialStatus ()
 Destructor. More...
 
const FloatArraygiveJump () const
 Returns the const pointer to receiver's jump. More...
 
const FloatArraygiveTraction () const
 Returns the const pointer to receiver's traction vector. More...
 
const FloatArraygiveFirstPKTraction () const
 Returns the const pointer to receiver's first Piola-Kirchhoff traction vector. More...
 
const FloatMatrixgiveF () const
 Returns the const pointer to receiver's deformation gradient vector. More...
 
const FloatArraygiveTempJump () const
 Returns the const pointer to receiver's temporary jump. More...
 
const FloatArraygiveTempTraction () const
 Returns the const pointer to receiver's temporary traction vector. More...
 
const FloatArraygiveTempFirstPKTraction () const
 Returns the const pointer to receiver's temporary first Piola-Kirchhoff traction vector. More...
 
const FloatMatrixgiveTempF () const
 Returns the const pointer to receiver's temporary deformation gradient vector. More...
 
const FloatArraygiveNormal () const
 Returns const reference to normal vector. More...
 
const FloatArraygiveProjectedTraction () const
 Returns the projected traction. More...
 
void letJumpBe (FloatArray v)
 Assigns jump to given vector v. More...
 
void letTractionBe (FloatArray v)
 Assigns traction to given vector v. More...
 
void letFirstPKTractionBe (FloatArray v)
 Assigns firstPKTraction to given vector v. More...
 
void letFBe (FloatMatrix v)
 Assigns FVector to given vector v. More...
 
void letTempTractionBe (FloatArray v)
 Assigns tempTraction to given vector v. More...
 
void letTempJumpBe (FloatArray v)
 Assigns tempJump to given vector v. More...
 
void letTempFirstPKTractionBe (FloatArray v)
 Assigns tempFirstPKTraction to given vector v. More...
 
void letTempFBe (FloatMatrix v)
 Assigns tempFVector to given vector v. More...
 
void letNormalBe (FloatArray iN)
 Assigns normal vector. More...
 
void letProjectedTractionBe (FloatArray iProjectedTraction)
 Assigns projeted traction. More...
 
virtual void copyStateVariables (const MaterialStatus &iStatus)
 Functions for MaterialStatusMapperInterface. More...
 
virtual void addStateVariables (const MaterialStatus &iStatus)
 
bool giveNewlyInserted () const
 
void setNewlyInserted (bool iNewlyInserted)
 
- Public Member Functions inherited from oofem::MaterialStatus
 MaterialStatus (int n, Domain *d, GaussPoint *g)
 Constructor. More...
 
virtual ~MaterialStatus ()
 Destructor. More...
 
virtual bool giveMaterialProperty (int propID, double &value)
 Returns the value of material model property stored in receiving status. More...
 
virtual void setMaterialProperty (int propID, double value)
 Allows to set the value of material model property to be stored in receiving status. More...
 
virtual void setStatusVariable (int varID, double value)
 Allows to set the value of a specific variable, identified by varID. More...
 
virtual void restoreConsistency ()
 Restores consistency of the status, i.e., computes or corrects the values of certain status variables such that the state is admissible. More...
 
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
- Public Member Functions inherited from oofem::IntegrationPointStatus
 IntegrationPointStatus (int n, Domain *d, GaussPoint *g)
 Constructor. More...
 
virtual ~IntegrationPointStatus ()
 Destructor. More...
 
virtual const char * giveInputRecordName () const
 
- Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
 Regular constructor, creates component with given number and belonging to given domain. More...
 
virtual ~FEMComponent ()
 Virtual destructor. More...
 
DomaingiveDomain () const
 
virtual void setDomain (Domain *d)
 Sets associated Domain. More...
 
int giveNumber () const
 
void setNumber (int num)
 Sets number of receiver. More...
 
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
 Local renumbering support. More...
 
virtual void giveInputRecord (DynamicInputRecord &input)
 Setups the input record string of receiver. More...
 
virtual int checkConsistency ()
 Allows programmer to test some internal data, before computation begins. More...
 
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging. More...
 
virtual InterfacegiveInterface (InterfaceType t)
 Interface requesting service. More...
 
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros). More...
 
- Public Member Functions inherited from oofem::MaterialStatusMapperInterface
 MaterialStatusMapperInterface ()
 
virtual ~MaterialStatusMapperInterface ()
 
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

double kappa
 Scalar measure of the largest equivalent displacement ever reached in material. More...
 
double tempKappa
 Non-equilibrated scalar measure of the largest equivalent displacement. More...
 
double damage
 Damage level of material. More...
 
double tempDamage
 Non-equilibrated damage level of material. More...
 
- Protected Attributes inherited from oofem::StructuralInterfaceMaterialStatus
FloatArray jump
 Equilibrated jump (discontinuity) More...
 
FloatArray traction
 Equilibrated (engineering) traction vector. More...
 
FloatArray tempTraction
 Temporary (engineering) traction vector. More...
 
FloatArray tempJump
 Temporary jump (discontinuity) More...
 
FloatArray firstPKTraction
 Equilibrated first Piola-Kirchhoff traction vector T. More...
 
FloatArray tempFirstPKTraction
 Temporary first Piola-Kirchhoff traction vector (to find balanced state) More...
 
FloatMatrix F
 Equilibrated deformation gradient in reduced form. More...
 
FloatMatrix tempF
 Temporary deformation gradient in reduced form (to find balanced state) More...
 
FloatArray mNormalDir
 Interface normal direction. More...
 
bool mNewlyInserted
 
FloatArray projectedTraction
 
- Protected Attributes inherited from oofem::IntegrationPointStatus
GaussPointgp
 Associated integration point. More...
 
- Protected Attributes inherited from oofem::FEMComponent
int number
 Component number. More...
 
Domaindomain
 Link to domain object, useful for communicating with other FEM components. More...
 
- Protected Attributes inherited from oofem::MaterialStatusMapperInterface
MaterialMappingAlgorithmmpMaterialMapper
 

Detailed Description

This class implements the InterfaceMaterialStatus associated with IntMatIsoDamage.

Definition at line 59 of file intmatisodamage.h.

Constructor & Destructor Documentation

oofem::IntMatIsoDamageStatus::IntMatIsoDamageStatus ( int  n,
Domain d,
GaussPoint g 
)

Constructor.

Definition at line 306 of file intmatisodamage.C.

References damage, kappa, tempDamage, and tempKappa.

Referenced by oofem::IntMatIsoDamage::CreateStatus().

oofem::IntMatIsoDamageStatus::~IntMatIsoDamageStatus ( )
virtual

Destructor.

Definition at line 313 of file intmatisodamage.C.

Member Function Documentation

virtual const char* oofem::IntMatIsoDamageStatus::giveClassName ( ) const
inlinevirtual
Returns
Class name of the receiver.

Reimplemented from oofem::StructuralInterfaceMaterialStatus.

Definition at line 92 of file intmatisodamage.h.

References initTempStatus(), restoreContext(), saveContext(), and updateYourself().

double oofem::IntMatIsoDamageStatus::giveDamage ( )
inlinevirtual

Returns the last equilibrated damage level.

Reimplemented from oofem::StructuralInterfaceMaterialStatus.

Definition at line 85 of file intmatisodamage.h.

References damage.

Referenced by oofem::IntMatIsoDamage::giveEngTraction_3d(), and oofem::IntMatIsoDamage::giveIPValue().

double oofem::IntMatIsoDamageStatus::giveKappa ( )
inline

Returns the last equilibrated scalar measure of the largest jump level.

Definition at line 79 of file intmatisodamage.h.

References kappa.

Referenced by oofem::IntMatIsoDamage::give2dStiffnessMatrix_Eng(), oofem::IntMatIsoDamage::giveEngTraction_3d(), and oofem::IntMatIsoDamage::giveIPValue().

double oofem::IntMatIsoDamageStatus::giveTempDamage ( )
inlinevirtual
double oofem::IntMatIsoDamageStatus::giveTempKappa ( )
inline

Returns the temp. scalar measure of the largest jump level.

Definition at line 81 of file intmatisodamage.h.

References tempKappa.

Referenced by oofem::IntMatIsoDamage::give2dStiffnessMatrix_Eng().

void oofem::IntMatIsoDamageStatus::initTempStatus ( )
virtual

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

Reimplemented from oofem::StructuralInterfaceMaterialStatus.

Definition at line 331 of file intmatisodamage.C.

References damage, oofem::StructuralInterfaceMaterialStatus::initTempStatus(), kappa, tempDamage, and tempKappa.

Referenced by giveClassName().

void oofem::IntMatIsoDamageStatus::printOutputAt ( FILE *  file,
TimeStep tStep 
)
virtual

Print receiver's output to given stream.

Reimplemented from oofem::StructuralInterfaceMaterialStatus.

Definition at line 318 of file intmatisodamage.C.

References damage, kappa, and oofem::StructuralInterfaceMaterialStatus::printOutputAt().

contextIOResultType oofem::IntMatIsoDamageStatus::restoreContext ( DataStream stream,
ContextMode  mode,
void *  obj = NULL 
)
virtual

Restores the receiver state previously written in stream.

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::StructuralInterfaceMaterialStatus.

Definition at line 370 of file intmatisodamage.C.

References oofem::CIO_IOERR, oofem::CIO_OK, damage, kappa, oofem::DataStream::read(), oofem::StructuralInterfaceMaterialStatus::restoreContext(), and THROW_CIOERR.

Referenced by giveClassName().

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

Stores receiver state to output stream.

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::StructuralInterfaceMaterialStatus.

Definition at line 348 of file intmatisodamage.C.

References oofem::CIO_IOERR, oofem::CIO_OK, damage, kappa, oofem::StructuralInterfaceMaterialStatus::saveContext(), THROW_CIOERR, and oofem::DataStream::write().

Referenced by giveClassName().

void oofem::IntMatIsoDamageStatus::setTempDamage ( double  newDamage)
inline

Sets the temp damage level to given value.

Definition at line 89 of file intmatisodamage.h.

Referenced by oofem::IntMatIsoDamage::giveEngTraction_3d().

void oofem::IntMatIsoDamageStatus::setTempKappa ( double  newKappa)
inline

Sets the temp scalar measure of the largest strain level to given value.

Definition at line 83 of file intmatisodamage.h.

Referenced by oofem::IntMatIsoDamage::giveEngTraction_3d().

void oofem::IntMatIsoDamageStatus::updateYourself ( TimeStep )
virtual

Update equilibrium history variables according to temp-variables.

Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::StructuralInterfaceMaterialStatus.

Definition at line 339 of file intmatisodamage.C.

References damage, kappa, tempDamage, tempKappa, and oofem::StructuralInterfaceMaterialStatus::updateYourself().

Referenced by giveClassName().

Member Data Documentation

double oofem::IntMatIsoDamageStatus::damage
protected

Damage level of material.

Definition at line 67 of file intmatisodamage.h.

Referenced by giveDamage(), initTempStatus(), IntMatIsoDamageStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().

double oofem::IntMatIsoDamageStatus::kappa
protected

Scalar measure of the largest equivalent displacement ever reached in material.

Definition at line 63 of file intmatisodamage.h.

Referenced by giveKappa(), oofem::IntMatIsoDamage::hasAnalyticalTangentStiffness(), initTempStatus(), IntMatIsoDamageStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().

double oofem::IntMatIsoDamageStatus::tempDamage
protected

Non-equilibrated damage level of material.

Definition at line 69 of file intmatisodamage.h.

Referenced by giveTempDamage(), initTempStatus(), IntMatIsoDamageStatus(), and updateYourself().

double oofem::IntMatIsoDamageStatus::tempKappa
protected

Non-equilibrated scalar measure of the largest equivalent displacement.

Definition at line 65 of file intmatisodamage.h.

Referenced by giveTempKappa(), initTempStatus(), IntMatIsoDamageStatus(), and updateYourself().


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:37 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011