38 #include "../sm/Elements/structuralelement.h" 39 #include "../sm/ErrorEstimators/directerrorindicatorrc.h" 40 #include "../sm/ErrorEstimators/zzerrorestimator.h" 41 #include "../sm/ErrorEstimators/huertaerrorestimator.h" 47 #define _IFT_Truss1d_Name "truss1d" 109 int &localNodeId,
int &localElemId,
int &localBcId,
virtual const char * giveClassName() const
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
The element interface required by NodalAvergagingRecoveryModel.
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
This class implements a two-node truss bar element for one-dimensional analysis.
virtual double computeLength()
Computes the length (zero for all but 1D geometries)
virtual FEInterpolation * giveInterpolation() const
virtual void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
virtual void giveDofManDofIDMask(int inode, IntArray &) const
Returns dofmanager dof mask for node.
The element interface required by ZZNodalRecoveryModel.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
AnalysisMode
Mode of analysis.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
MaterialMode
Type representing material mode of integration point.
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.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode sMode, TimeStep *tStep, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode)
virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer)
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
virtual double giveCharacteristicLength(const FloatArray &normalToCrackPlane)
Returns the size of element in the given direction, in some cases adjusted (e.g.
Class representing a general abstraction for finite element interpolation class.
Truss1d(int n, Domain *d)
Abstract base class for all "structural" finite elements.
The element interface corresponding to ZZErrorEstimator.
The element interface corresponding to HuertaErrorEstimator.
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
ElementExtension
Type representing element extension.
#define _IFT_Truss1d_Name
UnknownType
Type representing particular unknown (its physical meaning).
SetupMode
Mode for problem setup.
Class representing a 1d linear isoparametric interpolation.
virtual void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes lumped mass matrix of receiver.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
The spatial localizer element interface associated to spatial localizer.
virtual void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes mass matrix of receiver.
virtual const char * giveInputRecordName() const
InterfaceType
Enumerative type, used to identify interface type.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Computes interpolation matrix for element unknowns.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Class representing integration point in finite element program.
Class representing solution step.