91 if ( type == IST_CrossSectionNumber ) {
104 printf(
"Cross Section with properties : \n");
157 OOFEM_ERROR(
"Undefined property ID %d", aProperty);
170 OOFEM_ERROR(
"Undefined property ID %d", aProperty);
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
void printYourself()
Prints the receiver on screen.
#define _IFT_CrossSection_SetNumber
virtual contextIOResultType saveIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp)
Stores integration point state to output stream.
double & at(int aKey)
Returns the value of the pair which key is aKey.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
double & at(int i)
Coefficient access function.
bool includes(int aKey)
Checks if dictionary includes given key.
virtual double giveRelativeSelfComputationalCost()
Returns the weight representing relative computational cost of receiver The reference element is inte...
virtual contextIOResultType restoreIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp)
Reads integration point state to output stream.
Abstract base class for all finite elements.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
virtual contextIOResultType restoreIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp)
Reads integration point state to output stream.
CrossSectionProperty
List of properties possibly stored in a cross section.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
Abstract base class representing integration rule.
Dictionary propertyDictionary
Dictionary for storing cross section parameters (like dimensions).
virtual ~CrossSection()
Destructor.
virtual double predictRelativeComputationalCost(GaussPoint *gp)
Returns the weight representing relative computational cost of receiver The reference material model ...
Material * giveMaterial()
Returns reference to material associated to related element of receiver.
Abstract base class for all material models.
virtual contextIOResultType saveIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp)
Stores integration point state to output stream.
virtual int setupIntegrationPoints(IntegrationRule &irule, int npoints, Element *element)
Sets up integration rule for the given element.
virtual integrationDomain giveIntegrationDomain() const
Returns integration domain for receiver, used to initialize integration point over receiver volume...
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual double give(CrossSectionProperty a, GaussPoint *gp)
Returns the value of cross section property at given point.
virtual int giveIPValue(FloatArray &answer, GaussPoint *ip, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
virtual bool hasProperty(CrossSectionProperty a)
Returns true if the dictionary contains the requested property.
virtual double predictRelativeComputationalCost(GaussPoint *ip)
Returns the weight representing relative computational cost of receiver The reference cross section i...
CrossSection(int n, Domain *d)
Constructor.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
int setUpIntegrationPoints(integrationDomain intdomain, int nPoints, MaterialMode matMode)
Initializes the receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Class representing solution step.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
The top abstract class of all classes constituting the finite element mesh.
virtual void printYourself()
Prints receiver state on stdout. Useful for debugging.
void resize(int s)
Resizes receiver towards requested size.
virtual Material * giveMaterial(IntegrationPoint *ip)=0
Returns the material associated with the GP.