OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Class representing Heaviside EnrichmentFunction. More...
#include <enrichmentfunction.h>
Public Member Functions | |
HeavisideFunction (int n, Domain *aDomain) | |
virtual void | evaluateEnrFuncAt (double &oEnrFunc, const FloatArray &iPos, const double &iLevelSet) const |
virtual void | evaluateEnrFuncDerivAt (FloatArray &oEnrFuncDeriv, const FloatArray &iPos, const double &iLevelSet, const FloatArray &iGradLevelSet) const |
virtual void | giveJump (std::vector< double > &oJumps) const |
Returns the discontinuous jump in the enrichment function when the lvel set function changes sign, e.g. More... | |
virtual const char * | giveClassName () const |
virtual const char * | giveInputRecordName () const |
Public Member Functions inherited from oofem::EnrichmentFunction | |
EnrichmentFunction (int n, Domain *aDomain) | |
Constructor. More... | |
virtual | ~EnrichmentFunction () |
Destructor. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
int | giveNumberOfDofs () const |
Public Member Functions inherited from oofem::FEMComponent | |
FEMComponent (int n, Domain *d) | |
Regular constructor, creates component with given number and belonging to given domain. More... | |
virtual | ~FEMComponent () |
Virtual destructor. More... | |
Domain * | giveDomain () const |
virtual void | setDomain (Domain *d) |
Sets associated Domain. More... | |
int | giveNumber () const |
void | setNumber (int num) |
Sets number of receiver. More... | |
virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
Local renumbering support. More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Stores receiver state to output stream. More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Restores the receiver state previously written in stream. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Prints output of receiver to stream, for given time step. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual Interface * | giveInterface (InterfaceType t) |
Interface requesting service. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Additional Inherited Members | |
Protected Attributes inherited from oofem::EnrichmentFunction | |
int | numberOfDofs |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Class representing Heaviside EnrichmentFunction.
Definition at line 118 of file enrichmentfunction.h.
|
inline |
Definition at line 121 of file enrichmentfunction.h.
|
virtual |
Implements oofem::EnrichmentFunction.
Definition at line 68 of file enrichmentfunction.C.
|
virtual |
Implements oofem::EnrichmentFunction.
Definition at line 62 of file enrichmentfunction.C.
References oofem::FloatArray::resize(), and oofem::FloatArray::zero().
|
inlinevirtual |
Reimplemented from oofem::EnrichmentFunction.
Definition at line 133 of file enrichmentfunction.h.
|
inlinevirtual |
Implements oofem::FEMComponent.
Definition at line 134 of file enrichmentfunction.h.
References _IFT_HeavisideFunction_Name.
|
inlinevirtual |
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.
Implements oofem::EnrichmentFunction.
Definition at line 128 of file enrichmentfunction.h.