35 #include "../sm/Elements/lumpedmasselement.h" 61 answer.
resize(ndofs, ndofs);
116 EASValsSetMType(SQUARE_MARKER);
121 go = CreateMarker3D(p);
122 EGWithMaskChangeAttributes(COLOR_MASK | LAYER_MASK | MTYPE_MASK | MSIZE_MASK, go);
123 EGAttachObject(go, ( EObjectP )
this);
124 EMAddGraphicsToModel(ESIModel(), go);
139 EASValsSetMType(SQUARE_MARKER);
144 go = CreateMarker3D(p);
145 EGWithMaskChangeAttributes(COLOR_MASK | LAYER_MASK | MTYPE_MASK | MSIZE_MASK, go);
146 EGAttachObject(go, ( EObjectP )
this);
147 EMAddGraphicsToModel(ESIModel(), go);
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
LumpedMassElement(int n, Domain *d)
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
#define OOFEG_RAW_GEOMETRY_LAYER
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_LumpedMassElement_components
void beDiagonal(const FloatArray &diag)
Modifies receiver to be a diagonal matrix with the components specified in diag.
virtual void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes lumped mass matrix of receiver.
virtual double giveCoordinate(int i)
Class implementing an array of integers.
#define _IFT_LumpedMassElement_dofs
#define OOFEG_DEFORMED_GEOMETRY_LAYER
EPixel getDeformedElementColor()
Abstract base class for all "structural" finite elements.
virtual int checkConsistency()
Performs consistency check.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
UnknownType
Type representing particular unknown (its physical meaning).
virtual double giveUpdatedCoordinate(int ic, TimeStep *tStep, double scale=1.)
Returns updated ic-th coordinate of receiver.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual int checkConsistency()
Performs consistency check.
IntArray dofs
List of DOFs.
void zero()
Zeroes all coefficient of receiver.
int giveSize() const
Returns the size of receiver.
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.
Node * giveNode(int i) const
Returns reference to the i-th node of element.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
#define OOFEM_WARNING(...)
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.