80 fprintf(File,
" state");
82 for (
auto &val :
field ) {
83 fprintf( File,
" %.4e", val );
88 fprintf(File,
" flow");
89 for (
auto &flow : flowVec ) {
90 fprintf( File,
" %.4e", flow );
181 if ( type == IST_Temperature || type == IST_MassConcentration_1 || type == IST_Humidity ) {
186 }
else if ( type == IST_TemperatureFlow ) {
190 }
else if ( type == IST_Velocity ) {
194 }
else if ( type == IST_PressureGradient ) {
198 }
else if ( type == IST_Density ) {
201 }
else if ( type == IST_HeatCapacity ) {
204 }
else if ( type == IST_ThermalConductivityIsotropic ) {
207 }
else if ( type == IST_Maturity ) {
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void updateYourself(TimeStep *)
Update equilibrium history variables according to temp-variables.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
FloatArray flux
Vector containing the last equilibrated flux. The physical meaning corresponds to energy flux...
FloatArray gradient
Vector containing the last equilibrated gradient. It is the spatial gradient of the field...
GaussPoint * gp
Associated integration point.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
contextIOResultType storeYourself(DataStream &stream) const
double & at(int i)
Coefficient access function.
double giveMaturity()
Returns maturity.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
Element * giveElement()
Returns corresponding element to receiver.
FloatArray temp_flux
Vector containing the last computed flux.
This class implements a transport material status information.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
TransportMaterialStatus(int n, Domain *d, GaussPoint *g)
Constructor - creates new TransportMaterialStatus with number n, belonging to domain d and Integratio...
const FloatArray & giveFlux()
Returns last flux.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
const FloatArray & giveField()
Return last field.
This abstract class represent a general base element class for transport problems.
FloatArray field
Vector containing the last equilibrated field. The physical meaning corresponds to temperature...
virtual void computeFlow(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
Computes a flow vector in an integration point.
contextIOResultType restoreYourself(DataStream &stream)
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
void setTempField(FloatArray newField)
Set field.
void resizeWithValues(int s, int allocChunk=0)
Checks size of receiver towards requested bounds.
virtual void updateInternalState(const FloatArray &state, GaussPoint *gp, TimeStep *tStep)
Updates internal state of material according to new state vector.
FloatArray temp_gradient
Vector containing the last used gradient.
void setTempGradient(FloatArray grad)
Set gradient.
Abstract base class representing a material status information.
double maturity
A scalar containing maturity (integration of temperature over time)
Class representing vector of real numbers.
void setTempFlux(FloatArray w)
Set flux.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
FloatArray temp_field
Vector containing the last used field.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
void letTempStateVectorBe(FloatArray v)
Class representing integration point in finite element program.
Class representing solution step.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
const FloatArray & giveGradient()
Return last gradient.