35 #ifndef transportmaterial_h 36 #define transportmaterial_h 85 virtual const char *
giveClassName()
const {
return "TransportMaterialStatus"; }
152 virtual void giveCharacteristicMatrix(
FloatMatrix &answer,
201 #endif // transportmaterial_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
const FloatArray & giveTempField()
Return last field.
const FloatArray & giveTempFlux()
Returns last flux.
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...
virtual void computeInternalSourceVector(FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode)
Computes the internal source vector of receiver.
FloatArray gradient
Vector containing the last equilibrated gradient. It is the spatial gradient of the field...
GaussPoint * gp
Associated integration point.
virtual ~TransportMaterial()
Destructor.
Domain * domain
Link to domain object, useful for communicating with other FEM components.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Defines several material constant (respective their representative number).
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
double giveMaturity()
Returns maturity.
virtual double giveHumidity(GaussPoint *gp, ValueModeType mode)
Returns positive value of humidity if implemented and enabled in derived material, -1 otherwise.
void clear()
Clears receiver (zero size).
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
FloatArray temp_flux
Vector containing the last computed flux.
This class implements a transport material status information.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
const FloatArray & giveTempGradient()
Return last gradient.
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 int hasInternalSource()
Returns nonzero if receiver generates internal source of state variable(s), zero otherwise.
const FloatArray & giveField()
Return last field.
virtual ~TransportMaterialStatus()
Destructor.
FloatArray field
Vector containing the last equilibrated field. The physical meaning corresponds to temperature...
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
void setTempField(FloatArray newField)
Set field.
Abstract base class for all material models.
virtual const char * giveClassName() const
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.
Implementation of matrix containing floating point numbers.
void setTempFlux(FloatArray w)
Set flux.
Abstract base class for all constitutive models for transport problems.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
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.
void letTempStateVectorBe(FloatArray v)
TransportMaterial(int n, Domain *d)
Constructor.
Class representing integration point in finite element program.
Class representing solution step.
const FloatArray & giveGradient()
Return last gradient.