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

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

#include <latticetransmat.h>

+ Inheritance diagram for oofem::LatticeTransportMaterialStatus:
+ Collaboration diagram for oofem::LatticeTransportMaterialStatus:

Public Member Functions

 LatticeTransportMaterialStatus (int n, Domain *d, GaussPoint *g)
 Constructor. More...
 
virtual ~LatticeTransportMaterialStatus ()
 Destructor. More...
 
void printOutputAt (FILE *, TimeStep *)
 Print receiver's output to given stream. More...
 
double givePressure ()
 Returns pressure. More...
 
double giveOldPressure ()
 
void setMass (double input)
 Sets the mass. More...
 
double giveMass ()
 Returns mass. More...
 
virtual void updateYourself (TimeStep *tStep)
 Update equilibrium history variables according to temp-variables. More...
 
virtual void initTempStatus ()
 Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. More...
 
virtual const char * giveClassName () const
 
- Public Member Functions inherited from oofem::TransportMaterialStatus
 TransportMaterialStatus (int n, Domain *d, GaussPoint *g)
 Constructor - creates new TransportMaterialStatus with number n, belonging to domain d and IntegrationPoint g. More...
 
virtual ~TransportMaterialStatus ()
 Destructor. 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...
 
void letTempStateVectorBe (FloatArray v)
 
void setTempGradient (FloatArray grad)
 Set gradient. More...
 
void setTempField (FloatArray newField)
 Set field. More...
 
void setTempFlux (FloatArray w)
 Set flux. More...
 
const FloatArraygiveGradient ()
 Return last gradient. More...
 
const FloatArraygiveField ()
 Return last field. More...
 
const FloatArraygiveFlux ()
 Returns last flux. More...
 
const FloatArraygiveTempGradient ()
 Return last gradient. More...
 
const FloatArraygiveTempField ()
 Return last field. More...
 
const FloatArraygiveTempFlux ()
 Returns last flux. More...
 
double giveMaturity ()
 Returns maturity. More...
 
- 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

double mass
 Liquid mass in element. More...
 
double oldPressure
 
- Protected Attributes inherited from oofem::TransportMaterialStatus
FloatArray temp_field
 Vector containing the last used field. More...
 
FloatArray temp_gradient
 Vector containing the last used gradient. More...
 
FloatArray temp_flux
 Vector containing the last computed flux. More...
 
FloatArray field
 Vector containing the last equilibrated field. The physical meaning corresponds to temperature, concentration etc. More...
 
FloatArray gradient
 Vector containing the last equilibrated gradient. It is the spatial gradient of the field. More...
 
FloatArray flux
 Vector containing the last equilibrated flux. The physical meaning corresponds to energy flux, mass flow, etc. More...
 
double maturity
 A scalar containing maturity (integration of temperature over time) 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

This class implements associated Material Status to LatticeTransportMaterial.

Definition at line 66 of file latticetransmat.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 311 of file latticetransmat.C.

References mass.

virtual oofem::LatticeTransportMaterialStatus::~LatticeTransportMaterialStatus ( )
inlinevirtual

Destructor.

Definition at line 77 of file latticetransmat.h.

References printOutputAt().

Member Function Documentation

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

Reimplemented from oofem::TransportMaterialStatus.

Definition at line 96 of file latticetransmat.h.

double oofem::LatticeTransportMaterialStatus::giveMass ( )
inline

Returns mass.

Definition at line 90 of file latticetransmat.h.

References initTempStatus(), mass, and updateYourself().

Referenced by oofem::Lattice2d_mt::giveMass().

double oofem::LatticeTransportMaterialStatus::giveOldPressure ( )
inline

Definition at line 84 of file latticetransmat.h.

References oldPressure.

Referenced by oofem::Lattice2d_mt::giveOldPressure().

double oofem::LatticeTransportMaterialStatus::givePressure ( )
inline

Returns pressure.

Definition at line 82 of file latticetransmat.h.

References oofem::FloatArray::at(), and oofem::TransportMaterialStatus::field.

Referenced by oofem::Lattice2d_mt::givePressure().

void oofem::LatticeTransportMaterialStatus::initTempStatus ( )
virtual

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

Reimplemented from oofem::TransportMaterialStatus.

Definition at line 304 of file latticetransmat.C.

References oofem::TransportMaterialStatus::initTempStatus().

Referenced by giveMass().

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

Print receiver's output to given stream.

Reimplemented from oofem::TransportMaterialStatus.

Definition at line 282 of file latticetransmat.C.

References oofem::MaterialStatus::printOutputAt().

Referenced by ~LatticeTransportMaterialStatus().

void oofem::LatticeTransportMaterialStatus::setMass ( double  input)
inline

Sets the mass.

Definition at line 87 of file latticetransmat.h.

Referenced by oofem::LatticeTransportMaterial::computeConductivity().

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

Update equilibrium history variables according to temp-variables.

Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::TransportMaterialStatus.

Definition at line 297 of file latticetransmat.C.

References oofem::TransportMaterialStatus::updateYourself().

Referenced by giveMass().

Member Data Documentation

double oofem::LatticeTransportMaterialStatus::mass
protected

Liquid mass in element.

Definition at line 70 of file latticetransmat.h.

Referenced by giveMass(), and LatticeTransportMaterialStatus().

double oofem::LatticeTransportMaterialStatus::oldPressure
protected

Definition at line 71 of file latticetransmat.h.

Referenced by giveOldPressure().


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