35 #ifndef TRPLANSTRSSXFEM_H_ 36 #define TRPLANSTRSSXFEM_H_ 38 #include "../sm/Elements/PlaneStress/trplanstrss.h" 39 #include "../sm/xfem/xfemstructuralelementinterface.h" 43 #define _IFT_TrPlaneStress2dXFEM_Name "trplanestress2dxfem" 45 #define _IFT_TrPlaneStress2dXFEM_RegCoeff "reg_coeff" 46 #define _IFT_TrPlaneStress2dXFEM_RegCoeffTol "reg_coeff_tol" 73 virtual const char *
giveClassName()
const {
return "TrPlaneStress2dXFEM"; }
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
Evaluates nodal representation of real internal forces.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual ~TrPlaneStress2dXFEM()
virtual void XfemElementInterface_computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity=NULL)
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Elements with geometry defined as EGT_Composite are exported using individual pieces.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity=NULL)
Computes consistent mass matrix of receiver using numerical integration over element volume...
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the stiffness matrix of receiver.
MaterialMode
Type representing material mode of integration point.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep)
Computes the stress vector of receiver at given integration point, at time step tStep.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
virtual int checkConsistency()
Performs consistency check.
ElementExtension
Type representing element extension.
TrPlaneStress2dXFEM(int n, Domain *d)
virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes a matrix which, multiplied by the column matrix of nodal displacements, gives the displaceme...
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
virtual void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer)
Computes the unknown vector interpolated at the specified local coordinates.
virtual const char * giveClassName() const
virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Computes interpolation matrix for element unknowns.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Provides Xfem interface for a structural element.
Class representing vector of real numbers.
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
virtual void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
Computes the deformation gradient in Voigt form at integration point ip and at time step tStep...
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
This class implements an triangular three-node plane-stress elasticity finite element.
3-node triangle with XFEM kinematics
virtual const char * giveInputRecordName() const
InterfaceType
Enumerative type, used to identify interface type.
virtual void updateYourself(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
virtual void giveCompositeExportData(std::vector< VTKPiece > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep)
VTK Interface.
virtual void giveElementDofIDMask(IntArray &answer) const
Returns element dof mask for node.
virtual void postInitialize()
Performs post initialization steps.
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep)
Computes constitutive matrix of receiver.
Class representing integration point in finite element program.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
Element extension for edge loads.