35#ifndef nodalspringelement_h
36#define nodalspringelement_h
42#define _IFT_NodalSpringElement_Name "nodalspring"
43#define _IFT_NodalSpringElement_dofmask "dofmask"
44#define _IFT_NodalSpringElement_springConstants "k"
45#define _IFT_NodalSpringElement_masses "m"
120 int lowerIndx = 1,
int upperIndx =
ALL_STRAINS)
override
*Sets size of receiver to be an empty matrix It will have zero rows and zero columns size void clear()
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
void initializeFrom(InputRecord &ir, int priority) override
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
void printOutputAt(FILE *file, TimeStep *tStep) override
FloatArray masses
total mass of the spring; to be distributed to nodes
const char * giveInputRecordName() const override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
static ParamKey IPK_NodalSpringElement_springConstants
void computeInitialStressMatrix(FloatMatrix &answer, TimeStep *tStep) override
void updateYourself(TimeStep *tStep) override
NodalSpringElement(int n, Domain *d)
void initializeFinish() override
void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
void updateInternalState(TimeStep *tStep) override
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
static ParamKey IPK_NodalSpringElement_masses
int computeNumberOfDofs() override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void postInitialize() override
Performs post initialization steps.
static ParamKey IPK_NodalSpringElement_dofmask
virtual ~NodalSpringElement()
int computeNumberOfGlobalDofs() override
FloatArray springConstants
Spring constants.
int checkConsistency() override
Element_Geometry_Type giveGeometryType() const override
const char * giveClassName() const override
bool isCast(TimeStep *tStep) override
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
IntArray dofMask
Dof mask.
StructuralElement(int n, Domain *d)
#define _IFT_NodalSpringElement_Name