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

#include <twofluidmaterial.h>

+ Inheritance diagram for oofem::TwoFluidMaterialStatus:
+ Collaboration diagram for oofem::TwoFluidMaterialStatus:

Public Member Functions

 TwoFluidMaterialStatus (int n, Domain *d, GaussPoint *g, const IntArray &slaveMaterial)
 Constructor. More...
 
virtual ~TwoFluidMaterialStatus ()
 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...
 
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...
 
virtual const char * giveClassName () const
 
GaussPointgiveSlaveGaussPoint0 ()
 
GaussPointgiveSlaveGaussPoint1 ()
 
- Public Member Functions inherited from oofem::FluidDynamicMaterialStatus
 FluidDynamicMaterialStatus (int n, Domain *d, GaussPoint *g)
 Constructor - creates new TransportMaterialStatus with number n, belonging to domain d and integration point g. More...
 
virtual ~FluidDynamicMaterialStatus ()
 Destructor. More...
 
const FloatArraygiveDeviatoricStressVector ()
 Gives the deviatoric stress. More...
 
const FloatArraygiveDeviatoricStrainRateVector ()
 
void letDeviatoricStressVectorBe (FloatArray v)
 Sets the deviatoric stress. More...
 
void letDeviatoricStrainRateVectorBe (FloatArray v)
 
- 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...
 

Protected Attributes

std::unique_ptr< GaussPointslaveGp0
 
std::unique_ptr< GaussPointslaveGp1
 
- Protected Attributes inherited from oofem::FluidDynamicMaterialStatus
FloatArray deviatoricStressVector
 Stress vector in reduced form. More...
 
FloatArray deviatoricStrainRateVector
 Strain vector in reduced form. More...
 
- 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...
 

Detailed Description

Definition at line 92 of file twofluidmaterial.h.

Constructor & Destructor Documentation

oofem::TwoFluidMaterialStatus::TwoFluidMaterialStatus ( int  n,
Domain d,
GaussPoint g,
const IntArray slaveMaterial 
)
virtual oofem::TwoFluidMaterialStatus::~TwoFluidMaterialStatus ( )
inlinevirtual

Member Function Documentation

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

Reimplemented from oofem::IntegrationPointStatus.

Definition at line 111 of file twofluidmaterial.h.

void oofem::TwoFluidMaterialStatus::initTempStatus ( )
virtual

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

Reimplemented from oofem::FluidDynamicMaterialStatus.

Definition at line 206 of file twofluidmaterial.C.

References oofem::GaussPoint::giveMaterialStatus(), giveSlaveGaussPoint0(), giveSlaveGaussPoint1(), and oofem::FluidDynamicMaterialStatus::initTempStatus().

void oofem::TwoFluidMaterialStatus::printOutputAt ( FILE *  file,
TimeStep tStep 
)
virtual
contextIOResultType oofem::TwoFluidMaterialStatus::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::FluidDynamicMaterialStatus.

Definition at line 224 of file twofluidmaterial.C.

References oofem::CIO_OK, oofem::GaussPoint::giveMaterialStatus(), giveSlaveGaussPoint0(), giveSlaveGaussPoint1(), and oofem::FEMComponent::restoreContext().

contextIOResultType oofem::TwoFluidMaterialStatus::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::FluidDynamicMaterialStatus.

Definition at line 215 of file twofluidmaterial.C.

References oofem::CIO_OK, oofem::GaussPoint::giveMaterialStatus(), giveSlaveGaussPoint0(), giveSlaveGaussPoint1(), and oofem::FEMComponent::saveContext().

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

Update equilibrium history variables according to temp-variables.

Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::MaterialStatus.

Definition at line 197 of file twofluidmaterial.C.

References oofem::GaussPoint::giveMaterialStatus(), giveSlaveGaussPoint0(), giveSlaveGaussPoint1(), oofem::IntegrationPointStatus::updateYourself(), and oofem::MaterialStatus::updateYourself().

Member Data Documentation

std :: unique_ptr< GaussPoint > oofem::TwoFluidMaterialStatus::slaveGp0
protected

Definition at line 95 of file twofluidmaterial.h.

Referenced by TwoFluidMaterialStatus().

std :: unique_ptr< GaussPoint > oofem::TwoFluidMaterialStatus::slaveGp1
protected

Definition at line 96 of file twofluidmaterial.h.

Referenced by TwoFluidMaterialStatus().


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