35 #ifndef lattice2d_mt_h 36 #define lattice2d_mt_h 43 #define _IFT_Lattice2d_mt_Name "latticemt2d" 44 #define _IFT_Lattice2DMT_dim "dim" 45 #define _IFT_Lattice2DMT_thick "thick" 46 #define _IFT_Lattice2DMT_width "width" 47 #define _IFT_Lattice2DMT_gpcoords "gpcoords" 48 #define _IFT_Lattice2DMT_crackwidth "crackwidth" 49 #define _IFT_Lattice2DMT_couplingflag "couplingflag" 50 #define _IFT_Lattice2DMT_couplingnumber "couplingnumber"
virtual int giveApproxOrder(int unknownIndx)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Computes the length around a integration point on a edge.
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual void computeInternalSourceRhsVectorAt(FloatArray &answer, TimeStep *, ValueModeType mode)
Computes the contribution to balance equation(s) due to internal sources.
virtual const char * giveInputRecordName() const
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
This class implements a 2-dimensional lattice mass transport element.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_Lattice2d_mt_Name
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
virtual void computeConductivityMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
Computes the conductivity matrix of the receiver.
virtual double giveLength()
Returns the element length.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void giveCouplingNumbers(IntArray &numbers)
Returns the coupling numbers.
virtual void updateInternalState(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
virtual double giveMass()
Returns the mass.
virtual void giveCrackLengths(FloatArray &lengths)
Returns the crack lengths.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Lattice2d_mt(int, Domain *, ElementMode em=HeatTransferEM)
virtual void drawRawCrossSections(oofegGraphicContext &gc, TimeStep *tStep)
virtual double givePressure()
Returns the pressure.
virtual void drawYourself(oofegGraphicContext &gc, TimeStep *tStep)
virtual void computeNmatrixAt(FloatMatrix &n, const FloatArray &)
Computes the interpolation matrix corresponding to all unknowns.
virtual const char * giveClassName() const
virtual void computeNSubMatrixAt(FloatMatrix &n, const FloatArray &)
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
virtual double computeVolumeAround(GaussPoint *)
Returns volume related to given integration point.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual double giveArea()
Returns the cross-sectional area of the lattice element.
virtual void computeGradientMatrixAt(FloatMatrix &answer, const FloatArray &lcoords)
Computes the gradient matrix corresponding to one unknown.
virtual void giveDofManDofIDMask(int inode, IntArray &) const
Returns dofmanager dof mask for node.
virtual void computeBmatrixAt(FloatMatrix &answer, const FloatArray &lcoords)
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void giveCrossSectionCoordinates(FloatArray &coords)
virtual double giveOldPressure()
Returns the old pressure.
virtual double giveWidth()
virtual void computeCapacityMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes the capacity matrix of the receiver.
virtual bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords)
Computes the element local coordinates from given global coordinates.
virtual void giveCrackWidths(FloatArray &widths)
Returns the crack widths.
Class representing integration point in finite element program.
virtual void giveGpCoordinates(FloatArray &coords)
Gives the GP coordinates.
Class representing solution step.
virtual int giveCouplingFlag()
Returns the coupling flag.