51 #define _IFT_TR1_2D_PFEM_Name "tr1pfem" 98 TR1_2D_PFEM(
int n,
Domain *aDomain,
int particle1,
int particle2,
int particle3,
int mat,
int cs);
163 #endif // tr1_2d_pfem_h
virtual void drawRawGeometry(oofegGraphicContext &)
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual const char * giveInputRecordName() const
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
This class is the implementation of triangular PFEM element with linear (and equal order) interpolati...
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual void computeEdgeBCSubVectorAt(FloatArray &answer, Load *load, int iEdge, TimeStep *tStep)
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
virtual FEInterpolation * giveVelocityInterpolation()
Returns the interpolation for velocity.
TR1_2D_PFEM(int n, Domain *aDomain, int particle1, int particle2, int particle3, int mat, int cs)
Constructor of TR1_2D_PFEM Element.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Class implementing element body load, acting over whole element volume (e.g., the dead weight)...
static IntArray velocityDofMask
Mask of velocity Dofs.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
virtual const IntArray & givePressureDofMask() const
Returns mask of pressure Dofs.
virtual void computeDiagonalMassMtrx(FloatArray &answer, TimeStep *tStep)
Calculates diagonal mass matrix as vector.
virtual void computeDeviatoricStress(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
Computes deviatoric stress vector in given integration point and solution step from given total strai...
Abstract base class for all finite elements.
virtual const IntArray & giveVelocityDofMask() const
Returns mask of velocity Dofs.
virtual FEInterpolation * giveInterpolation(DofIDItem id) const
Returns the interpolation for the specific dof id.
Class implementing an array of integers.
virtual void giveElementDofIDMask(IntArray &answer) const
Returns element dof mask for node.
Class representing a general abstraction for finite element interpolation class.
static FEI2dTrLin velocityInterpolation
Interpolation for velocity unknowns.
Class representing a 2d triangular linear interpolation based on area coordinates.
DofIDItem
Type representing particular dof type.
static FEI2dTrLin pressureInterpolation
Interpolation for pressure unknowns.
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj)
Stores receiver state to output stream.
~TR1_2D_PFEM()
Destructor.
Class representing vector of real numbers.
virtual double computeCriticalTimeStep(TimeStep *tStep)
Calculates critical time step.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void computeDeviatoricStressDivergence(FloatArray &answer, TimeStep *tStep)
Calculates the divergence of the deviatoric stress.
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
virtual const char * giveClassName() const
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
InterfaceType
Enumerative type, used to identify interface type.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver acording to object description stored in input record.
Load is base abstract class for all loads.
#define _IFT_TR1_2D_PFEM_Name
static IntArray pressureDofMask
Mask of pressure Dofs.
virtual void computeBodyLoadVectorAt(FloatArray &answer, BodyLoad *load, TimeStep *tStep, ValueModeType mode)
Computes the load vector due to body load acting on receiver, at given time step. ...
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj)
Restores the receiver state previously written in stream.
virtual Element * giveElement()
virtual void drawScalar(oofegGraphicContext &context)
virtual FEInterpolation * givePressureInterpolation()
Returns the interpolation for the pressure.
Class representing integration point in finite element program.
Class representing solution step.
This class is the implementation of general 2d element with arbitrary interpolation of velocity and p...
virtual int checkConsistency()
Performs consistency check.
virtual int giveInternalStateAtNode(FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *atTime)
Returns internal state variable (like stress,strain) at node of element in Reduced form...
InternalStateMode
Determines the mode of internal variable.
virtual Interface * giveInterface(InterfaceType)
Interface requesting service.
static IntArray edge_ordering[3]
virtual FEInterpolation * giveInterpolation() const