35 #ifndef pfemparticle_h 36 #define pfemparticle_h 42 #define _IFT_PFEMParticle_Name "pfemparticle" 43 #define _IFT_Node_coords "coords" 44 #define _IFT_Node_lcs "lcs" 86 virtual void setFree(
bool newFlag =
true) { freeFlag = newFlag; }
108 #endif // pfemparticle_h PFEMParticle(int n, Domain *aDomain)
Constructor.
bool freeFlag
The particle does not compose any element, but still a part of solution domain and moves obeying Newt...
#define _IFT_PFEMParticle_Name
bool activeFlag
Too close particles can be deactivated, e.g. removed from meshing and computation.
virtual bool isFree()
Returns the free-propery flag.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual bool isOnAlphaShape()
Returns true if the particle is on alpha shape.
virtual bool isActive()
Returns the activeFlag.
virtual void setOnAlphaShape(bool newFlag=true)
Sets the alphaShapeFlag.
virtual void updateYourself(TimeStep *tStep)
Updates receiver at end of time step (i.e.
virtual int checkConsistency()
Checks internal data consistency in node.
bool alphaShapeFlag
the particle is a part of alpha-shape
IRResultType
Type defining the return values of InputRecord reading operations.
virtual IRResultType initializeFrom(InputRecord *ir)
Gets from the source line from the data file all the data of the receiver.
virtual void deactivate()
Sets the activeFlag to false.
virtual const char * giveClassName() const
virtual void setFree(bool newFlag=true)
Sets the free-property flag.
virtual void printOutputAt(FILE *stream, TimeStep *stepN)
Prints output of receiver to stream, for given time step.
virtual const char * giveInputRecordName() const
Particle class being used in PFEM computations.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void drawScalar(oofegGraphicContext &gc)
Class implementing node in finite element mesh.
~PFEMParticle(void)
Destructor.
Class representing solution step.