OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::RampFunction Class Reference

Class representing bimaterial interface. More...

#include <enrichmentfunction.h>

+ Inheritance diagram for oofem::RampFunction:
+ Collaboration diagram for oofem::RampFunction:

Public Member Functions

 RampFunction (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...
DomaingiveDomain () 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 InterfacegiveInterface (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...
 Link to domain object, useful for communicating with other FEM components. More...

Detailed Description

Class representing bimaterial interface.

Definition at line 175 of file enrichmentfunction.h.

Constructor & Destructor Documentation

oofem::RampFunction::RampFunction ( int  n,
Domain aDomain 

Definition at line 179 of file enrichmentfunction.h.

Member Function Documentation

void oofem::RampFunction::evaluateEnrFuncAt ( double &  oEnrFunc,
const FloatArray iPos,
const double &  iLevelSet 
) const

Implements oofem::EnrichmentFunction.

Definition at line 83 of file enrichmentfunction.C.

void oofem::RampFunction::evaluateEnrFuncDerivAt ( FloatArray oEnrFuncDeriv,
const FloatArray iPos,
const double &  iLevelSet,
const FloatArray iGradLevelSet 
) const
virtual const char* oofem::RampFunction::giveClassName ( ) const
Class name of the receiver.

Reimplemented from oofem::EnrichmentFunction.

Definition at line 191 of file enrichmentfunction.h.

virtual const char* oofem::RampFunction::giveInputRecordName ( ) const
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 192 of file enrichmentfunction.h.

References _IFT_RampFunction_Name.

virtual void oofem::RampFunction::giveJump ( std::vector< double > &  oJumps) const

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 186 of file enrichmentfunction.h.

The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:40 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011