|
OOFEM 3.0
|
#include <enrichmentfunction.h>
Public Member Functions | |
| EnrichmentFunction (int n, Domain *aDomain) | |
| virtual | ~EnrichmentFunction () |
| Destructor. | |
| virtual void | evaluateEnrFuncAt (double &oEnrFunc, const FloatArray &iPos, const double &iLevelSet) const =0 |
| virtual void | evaluateEnrFuncDerivAt (FloatArray &oEnrFuncDeriv, const FloatArray &iPos, const double &iLevelSet, const FloatArray &iGradLevelSet) const =0 |
| virtual void | giveJump (std ::vector< double > &oJumps) const =0 |
| void | initializeFrom (InputRecord &ir) override |
| void | giveInputRecord (DynamicInputRecord &input) override |
| const char * | giveClassName () const override |
| int | giveNumberOfDofs () const |
| Public Member Functions inherited from oofem::FEMComponent | |
| FEMComponent (int n, Domain *d) | |
| virtual | ~FEMComponent ()=default |
| Virtual destructor. | |
| virtual const char * | giveInputRecordName () const =0 |
| Domain * | giveDomain () const |
| virtual void | setDomain (Domain *d) |
| int | giveNumber () const |
| void | setNumber (int num) |
| virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
| virtual void | initializeFrom (InputRecord &ir, int priority) |
| virtual void | initializeFinish () |
| virtual void | postInitialize () |
| Performs post initialization steps. Called after all components are created and initialized. | |
| virtual void | saveContext (DataStream &stream, ContextMode mode) |
| virtual void | restoreContext (DataStream &stream, ContextMode mode) |
| virtual int | checkConsistency () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
| virtual void | printYourself () |
| Prints receiver state on stdout. Useful for debugging. | |
| virtual Interface * | giveInterface (InterfaceType t) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Attributes | |
| int | numberOfDofs |
| Protected Attributes inherited from oofem::FEMComponent | |
| int | number |
| Component number. | |
| Domain * | domain |
| Link to domain object, useful for communicating with other FEM components. | |
Abstract class representing global shape function Base class declares abstract interface common to all enrichment functions. Particularly, evaluateEnrFuncAt() and evaluateEnrFuncDerivAt() evaluate the value and spatial derivatives at a given point.
Definition at line 60 of file enrichmentfunction.h.
|
inline |
Constructor.
| n | Number associated with receiver. |
| aDomain | Reference to domain. |
Definition at line 71 of file enrichmentfunction.h.
References oofem::FEMComponent::FEMComponent().
Referenced by oofem::DiscontinuousFunction::DiscontinuousFunction(), oofem::HeavisideFunction::HeavisideFunction(), and oofem::RampFunction::RampFunction().
|
inlinevirtual |
Destructor.
Definition at line 73 of file enrichmentfunction.h.
|
pure virtual |
Implemented in oofem::DiscontinuousFunction, oofem::HeavisideFunction, and oofem::RampFunction.
|
pure virtual |
Implemented in oofem::DiscontinuousFunction, oofem::HeavisideFunction, and oofem::RampFunction.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Reimplemented in oofem::HeavisideFunction, and oofem::RampFunction.
Definition at line 88 of file enrichmentfunction.h.
|
overridevirtual |
Setups the input record string of receiver.
| input | Dynamic input record to be filled by receiver. |
Reimplemented from oofem::FEMComponent.
Definition at line 51 of file enrichmentfunction.C.
Referenced by initializeFrom().
|
pure virtual |
Returns the discontinuous jump in the enrichment function when the lvel set function changes sign, e.g. 1.0 for Heaviside, 2.0 for Sign and 0.0 for abs enrichment. Used for combination of cohesive zones and XFEM.
Implemented in oofem::DiscontinuousFunction, oofem::HeavisideFunction, and oofem::RampFunction.
|
inline |
Definition at line 89 of file enrichmentfunction.h.
References numberOfDofs.
|
overridevirtual |
Initializes receiver according to object description stored in input record. This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record. Note that initializeFrom may be called mutiple times.
| ir | Input record to initialize from. |
| priority | Priority of the input record. This is used to determine the order of initialization |
Reimplemented from oofem::FEMComponent.
References giveInputRecord().
|
protected |
Definition at line 63 of file enrichmentfunction.h.
Referenced by oofem::DiscontinuousFunction::DiscontinuousFunction(), giveNumberOfDofs(), oofem::HeavisideFunction::HeavisideFunction(), and oofem::RampFunction::RampFunction().