164 if ( !stream.
write(_masterGlobNum) ) {
virtual bool hasIc()=0
Test if Dof has initial condition.
virtual int giveIcId()=0
Returns the id of associated initial condition, if there is any.
Class implementing general initial condition.
int giveGlobalNumber() const
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
Abstract class representing field of primary variables (those, which are unknown and are typically as...
virtual int giveIcId()
Returns the id of associated initial condition, if there is any.
virtual bool hasIc()
Test if Dof has initial condition.
BoundaryCondition * giveBc()
Returns boundary condition of dof if it is prescribed.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
SimpleSlaveDof(DofManager *aNode, int master, DofIDItem id)
Constructor.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
InitialCondition * giveIc()
Returns initial condition of dof if it is prescribed.
virtual double giveBcValue(ValueModeType mode, TimeStep *tStep)
Returns value of boundary condition of dof if it is prescribed.
virtual double giveUnknown(ValueModeType mode, TimeStep *tStep)=0
The key method of class Dof.
virtual int giveBcId()
Returns the id of associated boundary condition, if there is any.
virtual int __givePrescribedEquationNumber()
Returns prescribed equation number corresponding to receiver.
virtual int __giveEquationNumber() const
Returns equation number corresponding to receiver.
Base class for dof managers.
virtual InitialCondition * giveIc()
Returns initial condition of dof if it is prescribed.
virtual int __giveEquationNumber() const =0
Returns equation number of receiver, usually assigned by emodel.
virtual int read(int *data, int count)=0
Reads count integer values into array pointed by data.
virtual int __givePrescribedEquationNumber()=0
Returns prescribed equation number of receiver.
virtual BoundaryCondition * giveBc()
Returns boundary condition of dof if it is prescribed.
virtual int write(const int *data, int count)=0
Writes count integer values from array pointed by data.
virtual int giveBcId()=0
Returns the id of associated boundary condition, if there is any.
Class implementing Dirichlet boundary condition on DOF (primary boundary condition).
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
DofIDItem
Type representing particular dof type.
DofManager * dofManager
Link to related DofManager.
virtual bool hasIcOn(ValueModeType u)=0
Test if Dof has initial condition of required ValueModeType.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
DofIDItem dofID
Physical meaning of DOF.
#define CM_DefinitionGlobal
int masterDofMngr
Number of DofManager containing master dof (Master DofManager)
virtual double giveUnknown(ValueModeType, TimeStep *)
The key method of class Dof.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
Dof * giveDofWithID(int dofID) const
Returns DOF with given dofID; issues error if not present.
virtual double giveBcValue(ValueModeType mode, TimeStep *tStep)
Returns value of boundary condition of dof if it is prescribed.
int masterDofIndx
Number of master dof in master dofManager.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Dof * giveMasterDof() const
Returns reference to master dof.
virtual bool hasBc(TimeStep *tStep)=0
Test if Dof has active boundary condition.
Domain * giveDomain() const
virtual bool hasIcOn(ValueModeType)
Test if Dof has initial condition of required ValueModeType.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
DofManager * giveDofManager(int n)
Service for accessing particular domain dof manager.
virtual void updateLocalNumbering(EntityRenumberingFunctor &f)
Local renumbering support.
Class representing solution step.
virtual bool hasBc(TimeStep *tStep)
Test if Dof has active boundary condition.