35 #ifndef lumpedmasselement_h 36 #define lumpedmasselement_h 38 #include "../sm/Elements/structuralelement.h" 42 #define _IFT_LumpedMassElement_Name "lumpedmass" 43 #define _IFT_LumpedMassElement_components "components" 44 #define _IFT_LumpedMassElement_dofs "dofs" 92 virtual const char *
giveClassName()
const {
return "LumpedMassElement"; }
108 #endif // lumpedmasselement_h virtual const char * giveClassName() const
LumpedMassElement(int n, Domain *d)
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual void updateYourself(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
#define _IFT_LumpedMassElement_Name
virtual void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes mass matrix of receiver.
void clear()
Clears receiver (zero size).
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes lumped mass matrix of receiver.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes numerically stiffness matrix of receiver.
virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Computes interpolation matrix for element unknowns.
virtual ~LumpedMassElement()
Abstract base class for all "structural" finite elements.
virtual int checkConsistency()
Performs consistency check.
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 void updateInternalState(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
This class implements a simple lumped mass element.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual const char * giveInputRecordName() const
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
UnknownType
Type representing particular unknown (its physical meaning).
Class representing vector of real numbers.
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
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 drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
Returns equivalent nodal forces vectors.
virtual void computeInitialStressMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes initial stress matrix for linear stability problem.
IntArray dofs
List of DOFs.
FloatArray components
Mass and moments of inertia corresponding to the specified DOFs.
the oofem namespace is to define a context or scope in which all oofem names are defined.
void clear()
Sets size of receiver to be an empty matrix. It will have zero rows and zero columns size...
Class representing integration point in finite element program.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Class representing solution step.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.