35 #ifndef QTRPLANSTRSSXFEM_H_ 36 #define QTRPLANSTRSSXFEM_H_ 38 #include "../sm/Elements/PlaneStress/qtrplstr.h" 39 #include "../sm/xfem/xfemstructuralelementinterface.h" 44 #define _IFT_QTrPlaneStress2dXFEM_Name "qtrplanestress2dxfem" 45 #define _IFT_QTrPlaneStress2dXFEM_RegCoeff "reg_coeff" 46 #define _IFT_QTrPlaneStress2dXFEM_RegCoeffTol "reg_coeff_tol" 71 virtual const char *
giveClassName()
const {
return "QTrPlaneStress2dXFEM"; }
virtual void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer)
Computes the unknown vector interpolated at the specified local coordinates.
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual ~QTrPlaneStress2dXFEM()
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual void XfemElementInterface_computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity=NULL)
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual void postInitialize()
Performs post initialization steps.
Elements with geometry defined as EGT_Composite are exported using individual pieces.
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 void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
MaterialMode
Type representing material mode of integration point.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
6-node triangle with XFEM kinematics.
virtual void giveCompositeExportData(std::vector< VTKPiece > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep)
VTK Interface.
This class implements a quadratic triangular 6-node plane- stress elasticity finite element...
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 giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes a matrix which, multiplied by the column matrix of nodal displacements, gives the displaceme...
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 void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
Computes the deformation gradient in Voigt form at integration point ip and at time step tStep...
Provides Xfem interface for a structural element.
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Computes interpolation matrix for element unknowns.
QTrPlaneStress2dXFEM(int n, Domain *d)
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the stiffness matrix of receiver.
virtual void updateYourself(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
InterfaceType
Enumerative type, used to identify interface type.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
virtual const char * giveClassName() const
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveInputRecordName() const
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
Evaluates nodal representation of real internal forces.
Class representing integration point in finite element program.
Class representing solution step.
virtual int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
int numberOfDofMans
Number of dofmanagers.
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep)
Computes constitutive matrix of receiver.