OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements associated Material Status to IntMatCoulombContact. More...
#include <intmatcoulombcontact.h>
Public Member Functions | |
IntMatCoulombContactStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~IntMatCoulombContactStatus () |
Destructor. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Print receiver's output to given stream. More... | |
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... | |
FloatArray | giveShearStressShift () |
void | setTempShearStressShift (FloatArray newShearStressShift) |
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 FloatArray & | giveJump () const |
Returns the const pointer to receiver's jump. More... | |
const FloatArray & | giveTraction () const |
Returns the const pointer to receiver's traction vector. More... | |
const FloatArray & | giveFirstPKTraction () const |
Returns the const pointer to receiver's first Piola-Kirchhoff traction vector. More... | |
const FloatMatrix & | giveF () const |
Returns the const pointer to receiver's deformation gradient vector. More... | |
const FloatArray & | giveTempJump () const |
Returns the const pointer to receiver's temporary jump. More... | |
const FloatArray & | giveTempTraction () const |
Returns the const pointer to receiver's temporary traction vector. More... | |
const FloatArray & | giveTempFirstPKTraction () const |
Returns the const pointer to receiver's temporary first Piola-Kirchhoff traction vector. More... | |
const FloatMatrix & | giveTempF () const |
Returns the const pointer to receiver's temporary deformation gradient vector. More... | |
const FloatArray & | giveNormal () const |
Returns const reference to normal vector. More... | |
const FloatArray & | giveProjectedTraction () 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 const char * | giveClassName () const |
virtual void | copyStateVariables (const MaterialStatus &iStatus) |
Functions for MaterialStatusMapperInterface. More... | |
virtual void | addStateVariables (const MaterialStatus &iStatus) |
bool | giveNewlyInserted () const |
void | setNewlyInserted (bool iNewlyInserted) |
virtual double | giveDamage () |
virtual double | giveTempDamage () |
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... | |
Domain * | giveDomain () 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 Interface * | giveInterface (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 | |
FloatArray | shearStressShift |
FloatArray | tempShearStressShift |
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 | |
GaussPoint * | gp |
Associated integration point. More... | |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Protected Attributes inherited from oofem::MaterialStatusMapperInterface | |
MaterialMappingAlgorithm * | mpMaterialMapper |
This class implements associated Material Status to IntMatCoulombContact.
Definition at line 58 of file intmatcoulombcontact.h.
oofem::IntMatCoulombContactStatus::IntMatCoulombContactStatus | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Constructor.
Definition at line 218 of file intmatcoulombcontact.C.
References oofem::Domain::giveNumberOfSpatialDimensions(), oofem::FloatArray::resize(), shearStressShift, tempShearStressShift, and oofem::FloatArray::zero().
Referenced by oofem::IntMatCoulombContact::CreateStatus().
|
virtual |
Destructor.
Definition at line 228 of file intmatcoulombcontact.C.
FloatArray oofem::IntMatCoulombContactStatus::giveShearStressShift | ( | ) |
Definition at line 263 of file intmatcoulombcontact.C.
References shearStressShift.
Referenced by oofem::IntMatCoulombContact::giveEngTraction_2d(), and oofem::IntMatCoulombContact::giveEngTraction_3d().
|
virtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::StructuralInterfaceMaterialStatus.
Definition at line 247 of file intmatcoulombcontact.C.
References oofem::StructuralInterfaceMaterialStatus::initTempStatus(), shearStressShift, and tempShearStressShift.
|
virtual |
Print receiver's output to given stream.
Reimplemented from oofem::StructuralInterfaceMaterialStatus.
Definition at line 233 of file intmatcoulombcontact.C.
References oofem::FloatArray::at(), oofem::FloatArray::giveSize(), oofem::StructuralInterfaceMaterialStatus::printOutputAt(), and shearStressShift.
|
virtual |
Restores the receiver state previously written in stream.
stream | Input stream. |
mode | Determines amount of info available in stream (state, definition, ...). |
obj | Special parameter for sending extra information. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::StructuralInterfaceMaterialStatus.
Definition at line 289 of file intmatcoulombcontact.C.
References oofem::CIO_OK, oofem::StructuralInterfaceMaterialStatus::restoreContext(), and THROW_CIOERR.
Referenced by setTempShearStressShift().
|
virtual |
Stores receiver state to output stream.
stream | Output stream. |
mode | Determines amount of info required in stream (state, definition, ...). |
obj | Special parameter, used only to send particular integration point to material class version of this method. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::StructuralInterfaceMaterialStatus.
Definition at line 270 of file intmatcoulombcontact.C.
References oofem::CIO_OK, oofem::StructuralInterfaceMaterialStatus::saveContext(), and THROW_CIOERR.
Referenced by setTempShearStressShift().
|
inline |
Definition at line 75 of file intmatcoulombcontact.h.
References restoreContext(), and saveContext().
Referenced by oofem::IntMatCoulombContact::giveEngTraction_2d(), and oofem::IntMatCoulombContact::giveEngTraction_3d().
|
virtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::StructuralInterfaceMaterialStatus.
Definition at line 255 of file intmatcoulombcontact.C.
References shearStressShift, tempShearStressShift, and oofem::StructuralInterfaceMaterialStatus::updateYourself().
|
protected |
Definition at line 61 of file intmatcoulombcontact.h.
Referenced by giveShearStressShift(), initTempStatus(), IntMatCoulombContactStatus(), printOutputAt(), and updateYourself().
|
protected |
Definition at line 61 of file intmatcoulombcontact.h.
Referenced by oofem::IntMatCoulombContact::give1dStiffnessMatrix_Eng(), initTempStatus(), IntMatCoulombContactStatus(), and updateYourself().