65 if ( ( mode != VM_Total ) && ( mode != VM_Incremental ) ) {
76 for (
int i = 1; i <= nDofs; i++ ) {
78 for (
int j = 1; j <= nSize; j++ ) {
148 OOFEM_ERROR(
"Property '%c' not defined", (
char)aProperty);
#define _IFT_BoundaryLoad_propertyMultExpr
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
double eval(const std::map< std::string, FunctionArgument >valDict, Domain *d, GaussPoint *gp=NULL, double param=0.) const
Evaluates the receiver.
Domain * domain
Link to domain object, useful for communicating with other FEM components.
FloatArray componentArray
Components of boundary condition.
Dictionary propertyTimeFunctDictionary
Optional time-functions for properties.
double & at(int aKey)
Returns the value of the pair which key is aKey.
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Function * giveTimeFunction()
bool includes(int aKey)
Checks if dictionary includes given key.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
#define _IFT_BoundaryLoad_properties
bool isDefined() const
True if receiver is defined.
virtual double giveProperty(int aProperty, TimeStep *tStep, const std::map< std::string, FunctionArgument > &valDict)
virtual void computeComponentArrayAt(FloatArray &answer, TimeStep *tStep, ValueModeType mode)
Computes boundary condition value - its components values at given time.
double evaluate(TimeStep *tStep, ValueModeType mode)
Returns the value of load time function at given time.
#define _IFT_BoundaryLoad_loadtype
bcType
Type representing the type of bc.
virtual void computeComponentArrayAt(FloatArray &answer, TimeStep *tStep, ValueModeType mode)
Returns array of load "vertex" values evaluated at given time.
virtual void computeNArray(FloatArray &answer, const FloatArray &coords) const =0
Abstract function, for computing approximation matrix of receiver at given point. ...
CoordSystType
Load coordinate system type.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
ScalarFunction propertyMultExpr
Expression to multiply all properties.
Function * giveFunction(int n)
Service for accessing particular domain load time function.
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
Dictionary propertyDictionary
Additional b.c properties.
IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
#define _IFT_BoundaryLoad_cstype
double temperOffset
Temperature offset with regards to Kelvin. Default is 273.15.
#define _IFT_BoundaryLoad_propertyTimeFunctions
void times(double s)
Multiplies receiver with scalar.
bcType lType
Load type (its physical meaning).
Domain * giveDomain() const
Load is base abstract class for all loads.
int giveSize() const
Returns the size of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_BoundaryLoad_temperOffset
virtual void computeValueAt(FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode)
Computes components values of load at given point - global coordinates (coordinates given)...
virtual double giveTemperOffset(void)
Return temperature offset.
Class representing solution step.
CoordSystType coordSystemType
Load coordinate system.
void resize(int s)
Resizes receiver towards requested size.
BoundaryLoad(int i, Domain *d)
Constructor.