OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Class representing microplane integration point in finite element program. More...
#include <microplane.h>
Public Member Functions | |
Microplane (IntegrationRule *ir, int n, MaterialMode mode) | |
Creates microplane integration point belonging to given element, with given number, integration weight, coordinates and material mode. More... | |
virtual | ~Microplane () |
Destructor. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
double | giveWeight () |
Returns integration weight of receiver. More... | |
void | giveMicroplaneNormal (FloatArray &answer) |
Returns normal of microplane. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Prints output of receiver to file. More... | |
virtual const char * | giveClassName () const |
Returns class name of the receiver. More... | |
Public Member Functions inherited from oofem::GaussPoint | |
GaussPoint (IntegrationRule *ir, int n, FloatArray iNaturalCoord, double w, MaterialMode mode) | |
Creates integration point belonging to given integration rule, with given number, integration weight, coordinates and material mode. More... | |
GaussPoint (IntegrationRule *ir, int n, double w, MaterialMode mode) | |
virtual | ~GaussPoint () |
Destructor. More... | |
double | giveNaturalCoordinate (int i) const |
Returns i-th natural element coordinate of receiver. More... | |
const FloatArray & | giveNaturalCoordinates () |
Returns coordinate array of receiver. More... | |
void | setNaturalCoordinates (const FloatArray &c) |
const FloatArray & | giveSubPatchCoordinates () |
Returns local sub-patch coordinates of the receiver. More... | |
void | setSubPatchCoordinates (const FloatArray &c) |
const FloatArray & | giveGlobalCoordinates () |
void | setGlobalCoordinates (const FloatArray &iCoord) |
void | setWeight (double w) |
int | giveNumber () |
Returns number of receiver. More... | |
IntegrationRule * | giveIntegrationRule () |
Returns corresponding integration rule to receiver. More... | |
Element * | giveElement () |
Returns corresponding element to receiver. More... | |
MaterialMode | giveMaterialMode () |
Returns corresponding material mode of receiver. More... | |
void | setMaterialMode (MaterialMode newMode) |
Sets material mode of receiver. More... | |
Material * | giveMaterial () |
Returns reference to material associated to related element of receiver. More... | |
CrossSection * | giveCrossSection () |
Returns reference to cross section associated to related element of receiver. More... | |
IntegrationPointStatus * | giveMaterialStatus () |
Returns reference to associated material status (NULL if not defined). More... | |
IntegrationPointStatus * | setMaterialStatus (IntegrationPointStatus *ptr, int n) |
Sets Material status managed by receiver. More... | |
IntegrationPointStatus * | setMaterialStatus (IntegrationPointStatus *ptr) |
Sets Material status managed by receiver. More... | |
GaussPoint * | giveSlaveGaussPoint (int index) |
Returns index-th slave gauss point of receiver. More... | |
bool | hasSlaveGaussPoint () |
True if gauss point has slave points. More... | |
size_t | findFirstIndexOfSlaveGaussPoint (GaussPoint *gp) |
Finds index of slave point in an array. More... | |
virtual void | updateYourself (TimeStep *tStep) |
Updates internal state of receiver after finishing time step. More... | |
Additional Inherited Members | |
Protected Attributes inherited from oofem::GaussPoint | |
std::vector< GaussPoint * > | gaussPoints |
List of slave integration points. More... | |
IntegrationPointStatus * | materialStatus |
Status of e.g. material in point. More... | |
Class representing microplane integration point in finite element program.
Microplane always belongs to macro integration point and represents micro material level. Microplanes are created by particular microplane material model. Because all corresponding microplanes in all macro integration points subjected to particular material share the same properties (same normals, same integration weights), these are stored only once at material model level. Thus requests for microplane integration weights and normal are forwarded to corresponding material model.
Generally, every integration point must hold its own copy of history variables (which are related to corresponding material model used). These material type dependent history variables are stored in material type related material status, which can be managed by integration point. Each material model class should introduce related material status class (derived from material status class or from its children), where necessary history variables are kept and can be accessed by material. Material class then creates unique copy of related status in all necessary integration points. Because integration point is compulsory parameter of all member functions of material class, particular material then can easily access its associated status from integration point and therefore its history variables for particular integration point.
Definition at line 74 of file microplane.h.
oofem::Microplane::Microplane | ( | IntegrationRule * | ir, |
int | n, | ||
MaterialMode | mode | ||
) |
Creates microplane integration point belonging to given element, with given number, integration weight, coordinates and material mode.
ir | Integration rule to which integration point belongs to. |
n | Integration point number. |
mode | Material mode. |
Definition at line 38 of file microplane.C.
|
virtual |
Destructor.
Definition at line 46 of file microplane.C.
|
inlinevirtual |
Returns class name of the receiver.
Reimplemented from oofem::GaussPoint.
Definition at line 98 of file microplane.h.
|
inline |
Returns normal of microplane.
Definition at line 93 of file microplane.h.
References oofem::GaussPoint::giveMaterial(), and printOutputAt().
|
inlinevirtual |
Returns integration weight of receiver.
Reimplemented from oofem::GaussPoint.
Definition at line 90 of file microplane.h.
References oofem::GaussPoint::giveMaterial().
|
inlinevirtual |
Initializes receiver according to object description stored in input record.
Reimplemented from oofem::GaussPoint.
Definition at line 88 of file microplane.h.
References oofem::IRRT_OK.
|
virtual |
Prints output of receiver to file.
Corresponding printOutputAt function for associated status is called. The same function is also invoked for all available slaves of receiver.
Reimplemented from oofem::GaussPoint.
Definition at line 53 of file microplane.C.
Referenced by giveMicroplaneNormal().