OOFEM 3.0
Loading...
Searching...
No Matches
oofem::TwoFluidMaterialStatus Class Reference

#include <twofluidmaterial.h>

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

Public Member Functions

 TwoFluidMaterialStatus (GaussPoint *g, const std::array< Material *, 2 > &slaveMaterial)
 Constructor.
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
const char * giveClassName () const override
GaussPointgiveSlaveGaussPoint0 ()
GaussPointgiveSlaveGaussPoint1 ()
Public Member Functions inherited from oofem::FluidDynamicMaterialStatus
 FluidDynamicMaterialStatus (GaussPoint *g)
 Constructor - creates new TransportMaterialStatus with number n, belonging to domain d and integration point g.
const FloatArrayF< 6 > & giveDeviatoricStressVector () const
const FloatArrayF< 6 > & giveDeviatoricStrainRateVector () const
void letDeviatoricStressVectorBe (const FloatArrayF< 6 > &v)
void letDeviatoricStrainRateVectorBe (const FloatArrayF< 6 > &v)
Public Member Functions inherited from oofem::MaterialStatus
 MaterialStatus (GaussPoint *g)
virtual bool giveMaterialProperty (int propID, double &value)
virtual void setMaterialProperty (int propID, double value)
Public Member Functions inherited from oofem::IntegrationPointStatus
 IntegrationPointStatus (GaussPoint *g)
virtual ~IntegrationPointStatus ()=default
 Destructor.
virtual void setStatusVariable (int varID, double value)
virtual InterfacegiveInterface (InterfaceType t)

Protected Attributes

std::array< GaussPoint, 2 > slaveGps
Protected Attributes inherited from oofem::FluidDynamicMaterialStatus
FloatArrayF< 6 > deviatoricStressVector
 Stress vector in reduced form.
FloatArrayF< 6 > deviatoricStrainRateVector
 Strain vector in reduced form.
Protected Attributes inherited from oofem::IntegrationPointStatus
GaussPointgp
 Associated integration point.

Detailed Description

Definition at line 91 of file twofluidmaterial.h.

Constructor & Destructor Documentation

◆ TwoFluidMaterialStatus()

oofem::TwoFluidMaterialStatus::TwoFluidMaterialStatus ( GaussPoint * g,
const std::array< Material *, 2 > & slaveMaterial )

Constructor.

Todo
This should technically suffice;

Definition at line 170 of file twofluidmaterial.C.

References oofem::FluidDynamicMaterialStatus::FluidDynamicMaterialStatus(), oofem::IntegrationPointStatus::gp, and slaveGps.

Member Function Documentation

◆ giveClassName()

const char * oofem::TwoFluidMaterialStatus::giveClassName ( ) const
inlineoverridevirtual

Reimplemented from oofem::FluidDynamicMaterialStatus.

Definition at line 109 of file twofluidmaterial.h.

◆ giveSlaveGaussPoint0()

◆ giveSlaveGaussPoint1()

◆ initTempStatus()

void oofem::TwoFluidMaterialStatus::initTempStatus ( )
overridevirtual

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

Reimplemented from oofem::MaterialStatus.

Definition at line 194 of file twofluidmaterial.C.

References oofem::IntegrationPointStatus::gp, oofem::MaterialStatus::initTempStatus(), and slaveGps.

◆ printOutputAt()

void oofem::TwoFluidMaterialStatus::printOutputAt ( FILE * file,
TimeStep * tStep ) const
overridevirtual

Print receiver's output to given stream.

Reimplemented from oofem::FluidDynamicMaterialStatus.

Definition at line 179 of file twofluidmaterial.C.

References oofem::IntegrationPointStatus::gp, and slaveGps.

◆ restoreContext()

void oofem::TwoFluidMaterialStatus::restoreContext ( DataStream & stream,
ContextMode mode )
overridevirtual

Restores the receiver state previously written in stream.

See also
saveContext
Parameters
streamInput stream.
modeDetermines amount of info available in stream (state, definition, ...).
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::FluidDynamicMaterialStatus.

Definition at line 209 of file twofluidmaterial.C.

References oofem::IntegrationPointStatus::gp, and slaveGps.

◆ saveContext()

void oofem::TwoFluidMaterialStatus::saveContext ( DataStream & stream,
ContextMode mode )
overridevirtual

Stores receiver state to output stream.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::FluidDynamicMaterialStatus.

Definition at line 202 of file twofluidmaterial.C.

References oofem::IntegrationPointStatus::gp, and slaveGps.

◆ updateYourself()

void oofem::TwoFluidMaterialStatus::updateYourself ( TimeStep * )
overridevirtual

Update equilibrium history variables according to temp-variables. Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::MaterialStatus.

Definition at line 186 of file twofluidmaterial.C.

References oofem::IntegrationPointStatus::gp, and slaveGps.

Member Data Documentation

◆ slaveGps

std::array<GaussPoint, 2> oofem::TwoFluidMaterialStatus::slaveGps
protected

The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011