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);
130 int node,
TimeStep *atTime)
override;
146 return this->velocityDofMask;
150 return this->pressureDofMask;
PFEMElement2d(int n, Domain *d)
Constructor.
virtual ~TR1_2D_PFEM()
Destructor.
void drawRawGeometry(oofegGraphicContext &) override
FEInterpolation * giveInterpolation() const override
const IntArray & giveVelocityDofMask() const override
Returns mask of velocity Dofs.
static IntArray velocityDofMask
Mask of velocity Dofs.
FEInterpolation * giveVelocityInterpolation() override
Returns the interpolation for velocity.
const IntArray & givePressureDofMask() const override
Returns mask of pressure Dofs.
void computeBodyLoadVectorAt(FloatArray &answer, BodyLoad *load, TimeStep *tStep, ValueModeType mode) override
Interface * giveInterface(InterfaceType) override
Element * giveElement() override
FEInterpolation * givePressureInterpolation() override
Returns the interpolation for the pressure.
void computeEdgeBCSubVectorAt(FloatArray &answer, Load *load, int iEdge, TimeStep *tStep)
void computeDeviatoricStress(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override
Computes deviatoric stress vector in given integration point and solution step from given total strai...
double computeCriticalTimeStep(TimeStep *tStep) override
Calculates critical time step.
void restoreContext(DataStream &stream, ContextMode mode) override
static FEI2dTrLin pressureInterpolation
Interpolation for pressure unknowns.
void initializeFrom(InputRecord &ir, int priority) override
Initializes receiver acording to object description stored in input record.
static IntArray pressureDofMask
Mask of pressure Dofs.
const char * giveInputRecordName() const override
TR1_2D_PFEM(int n, Domain *aDomain, int particle1, int particle2, int particle3, int mat, int cs)
void computeDeviatoricStressDivergence(FloatArray &answer, TimeStep *tStep) override
Calculates the divergence of the deviatoric stress.
void computeGaussPoints() override
void drawScalar(oofegGraphicContext &context) override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
static FEI2dTrLin velocityInterpolation
Interpolation for velocity unknowns.
void saveContext(DataStream &stream, ContextMode mode) override
const char * giveClassName() const override
Element_Geometry_Type giveGeometryType() const override
FEInterpolation * giveInterpolation(DofIDItem id) const override
int giveInternalStateAtNode(FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *atTime) override
void computeDiagonalMassMtrx(FloatArray &answer, TimeStep *tStep) override
int computeNumberOfDofs() override
void giveElementDofIDMask(IntArray &answer) const override
static IntArray edge_ordering[3]
int checkConsistency() override
double computeVolumeAround(GaussPoint *gp) override
InternalStateMode
Determines the mode of internal variable.
#define _IFT_TR1_2D_PFEM_Name