67 randVariables.clear();
68 randomVariableGenerators.clear();
72 if ( randVariables.giveSize() != randomVariableGenerators.giveSize() ) {
73 OOFEM_WARNING(
"Incompatible size of randvars and randdist attrs");
101 int size = randVariables.giveSize();
107 for (
int i = 1; i <= size; i++ ) {
111 value = f->
evaluate({{
"x", globalCoordinates}});
#define _IFT_RandomMaterialExt_randVariables
double & at(int aKey)
Returns the value of the pair which key is aKey.
const FloatArray & giveSubPatchCoordinates()
Returns local sub-patch coordinates of the receiver.
void _setProperty(int key, double value)
Sets the value of random property, identified by a key.
bool includes(int aKey)
Checks if dictionary includes given key.
bool _giveProperty(int key, double &value)
Returns the value of random property, identified by a key.
Element * giveElement()
Returns corresponding element to receiver.
double evaluate(TimeStep *tStep, ValueModeType mode)
Returns the value of load time function at given time.
#define _IFT_RandomMaterialExt_randGen
void _generateStatusVariables(GaussPoint *) const
Sets up (generates) the variables identified in randVariables array using generators given in randomV...
bool give(int key, GaussPoint *gp, double &value)
Returns the property in associated status of given integration point if defined.
Abstract base class for all random constitutive model statuses.
Function * giveFunction(int n)
Service for accessing particular domain load time function.
Abstract base class representing a material status information.
Class representing vector of real numbers.
Abstract base class representing a function with vector input and output.
IRResultType
Type defining the return values of InputRecord reading operations.
IntegrationPointStatus * giveMaterialStatus()
Returns reference to associated material status (NULL if not defined).
void giveInputRecord(DynamicInputRecord &ir)
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
Domain * giveDomain() const
the oofem namespace is to define a context or scope in which all oofem names are defined.
Dictionary randProperties
Dictionary containing material model values.
Class representing integration point in finite element program.
#define OOFEM_WARNING(...)
IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.