51 if ( ( mode != VM_Incremental ) && ( mode != VM_Total ) ) {
56 std :: ostringstream buff;
57 for (
int i = 1; i <=
size; i++ ) {
58 buff <<
"x=" << coords.
at(1) <<
";y=" << coords.
at(2) <<
";z=" << coords.
at(3) <<
65 answer.
at(i) = result;
67 if ( ( mode == VM_Incremental ) && ( !tStep->
isTheFirstStep() ) ) {
68 buff <<
"x=" << coords.
at(1) <<
";y=" << coords.
at(2) <<
";z=" << coords.
at(3) <<
75 answer.
at(i) -= result;
#define _IFT_UserDefinedTemperatureField_size
REGISTER_BoundaryCondition(BoundaryCondition)
#define _IFT_UserDefinedTemperatureField_t1
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
#define _IFT_UserDefinedTemperatureField_t2
std::string ftExpression[3]
double giveTargetTime()
Returns target time.
virtual void computeValueAt(FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode)
Computes components values of temperature field at given point (coordinates given in Global c...
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
#define _IFT_UserDefinedTemperatureField_t3
double giveTimeIncrement()
Returns solution step associated time increment.
bool isTheFirstStep()
Check if receiver is first step.
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing solution step.
const char * __ValueModeTypeToString(ValueModeType _value)
void resize(int s)
Resizes receiver towards requested size.
double eval(const char *string, int &err)