56 class BoundaryCondition;
57 class InitialCondition;
58 class UnknownNumberingScheme;
59 class EntityRenumberingFunctor;
93 class OOFEM_EXPORT
Dof 115 virtual dofType giveDofType() = 0;
120 int giveDofManNumber()
const;
125 int giveDofManGlobalNumber()
const;
153 virtual int __giveEquationNumber()
const = 0;
172 virtual void giveDofIDs(
IntArray &masterDofIDs);
186 virtual int __givePrescribedEquationNumber() = 0;
196 virtual int askNewEquationNumber(
TimeStep *tStep) = 0;
248 virtual void computeDofTransformation(
FloatArray &masterContribs);
259 virtual bool hasBc(
TimeStep *tStep) = 0;
264 virtual bool hasIc() = 0;
294 virtual int giveBcId() = 0;
301 virtual int giveIcId() = 0;
306 virtual void giveMasterDofManArray(
IntArray &answer);
322 virtual void printSingleOutputAt(FILE *file,
TimeStep *tStep,
char ch,
ValueModeType mode,
double scale = 1.0);
328 virtual void printMultipleOutputAt(FILE *File,
TimeStep *tStep,
char *ch,
ValueModeType *mode,
int nite);
329 void printSingleOutputWithAdditionAt(FILE *File,
TimeStep *tStep,
char ch,
ValueModeType mode,
double addend);
331 virtual void printYourself();
376 std :: string
errorInfo(
const char *func)
const;
void setDofID(DofIDItem id)
Sets the ID of receiver.
Class implementing general initial condition.
Abstract class representing field of primary variables (those, which are unknown and are typically as...
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual int giveEqn()
Gives number for equation, negative for prescribed equations.
virtual Dictionary * giveUnknowns()
Receives the dictionary of unknowns in receiver.
dofType
Dof Type, determines the type of DOF created.
Base class for dof managers.
virtual InitialCondition * giveIc()
Returns initial condition of dof if it is prescribed.
Class implementing an array of integers.
virtual BoundaryCondition * giveBc()
Returns boundary condition of dof if it is prescribed.
virtual void setBcId(int bcId)
Overwrites the boundary condition id (0-inactive BC), intended for specific purposes such as coupling...
virtual void updateLocalNumbering(EntityRenumberingFunctor &f)
Local renumbering support.
virtual void setEquationNumber(int equationNumber)
Sets a specific equation number to receiver.
Class implementing Dirichlet boundary condition on DOF (primary boundary condition).
DofIDItem
Type representing particular dof type.
virtual void updateUnknownsDictionary(TimeStep *tStep, ValueModeType mode, double dofValue)
Abstract function, allowing Dof to store its unknowns in its own private dictionary.
DofManager * dofManager
Link to related DofManager.
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
DofIDItem giveDofID() const
Returns DofID value of receiver, which determines type of of unknown connected to receiver (e...
virtual bool isPrimaryDof()
Tests if receiver is primary DOF.
virtual int packUnknowns(DataStream &buff, ValueModeType mode, TimeStep *tStep)
Packs specific DOF Manager's dofs unknowns into communication buffer.
This class implements a linked list whose entries are Pairs (see below).
Class representing vector of real numbers.
virtual int unpackAndUpdateUnknown(DataStream &buff, ValueModeType mode, TimeStep *tStep)
Unpacks DOF unknown from communication buffer and updates unknown if necessary.
virtual double giveUnknownsDictionaryValue(TimeStep *tStep, ValueModeType mode)
Access dictionary value, if not present zero is returned.
Class representing "slave" degree of freedom.
virtual void setIcId(int icId)
Overwrites the initial condition id (0-inactive IC)
DofIDItem dofID
Physical meaning of DOF.
virtual void setUnknowns(Dictionary *unknowns)
Sets the dictionary of unknowns for receiver.
virtual ~Dof()
Destructor.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
std::string errorInfo(const char *func)
virtual int giveNumberOfPrimaryMasterDofs()
DofManager * giveDofManager() const
virtual void updateYourself(TimeStep *tStep)
Updates receiver after finishing time step.
virtual const char * giveClassName() const
Returns class name of the receiver.
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.
Class representing solution step.