virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
virtual bool isImposed(TimeStep *tStep)
Returns nonzero if receiver representing BC is imposed at given time, otherwise returns zero...
#define _IFT_GeneralBoundaryCondition_valType
#define _IFT_GeneralBoundaryCondition_dofs
Domain * domain
Link to domain object, useful for communicating with other FEM components.
bcValType
Type determining the type of general boundary condition.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Function * giveTimeFunction()
virtual const IntArray & giveDofIDs() const
Array with default dofs which b.c.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual int read(int *data, int count)=0
Reads count integer values into array pointed by data.
#define _IFT_GeneralBoundaryCondition_timeFunct
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual int write(const int *data, int count)=0
Writes count integer values from array pointed by data.
int giveSetNumber()
Gives the set number which boundary condition is applied to.
void clear()
Clears the array (zero size).
bcValType valType
Physical meaning of BC value.
#define _IFT_GeneralBoundaryCondition_isImposedTimeFunct
int timeFunction
Associated load time function.
IntArray dofs
Dofs that b.c. is applied to (relevant for Dirichlet type b.c.s).
double giveIntrinsicTime()
Returns intrinsic time, e.g. time in which constitutive model is evaluated.
Function * giveFunction(int n)
Service for accessing particular domain load time function.
Abstract base class representing a function with vector input and output.
IRResultType
Type defining the return values of InputRecord reading operations.
int isImposedTimeFunction
Zero by default - the BC is than always imposed.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_GeneralBoundaryCondition_set
virtual bcValType giveBCValType() const
Returns receiver load type.
virtual double evaluateAtTime(double t)
Returns the value of the function at given time.
#define OOFEM_WARNING(...)
Class representing solution step.
The top abstract class of all classes constituting the finite element mesh.
GeneralBoundaryCondition(int n, Domain *d)
Constructor.