35 #ifndef tr1bubblestokes_h 36 #define tr1bubblestokes_h 43 #define _IFT_Tr1BubbleStokes_Name "tr1bubblestokes" 47 class ElementDofManager;
70 std :: unique_ptr< ElementDofManager >
bubble;
114 #endif // tr1bubblestokes_h virtual void computeBoundarySurfaceLoadVector(FloatArray &answer, BoundaryLoad *load, int boundary, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true)
Computes the contribution of the given load at the given boundary surface in global coordinate system...
static FEI2dTrLin interp
Interpolation for pressure.
std::unique_ptr< ElementDofManager > bubble
The extra dofs from the bubble.
The element interface required by ZZNodalRecoveryModel.
virtual ~Tr1BubbleStokes()
virtual void computeLoadVector(FloatArray &answer, BodyLoad *load, CharType type, ValueModeType mode, TimeStep *tStep)
Computes the contribution of the given body load (volumetric).
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Class implementing element body load, acting over whole element volume (e.g., the dead weight)...
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, TimeStep *tStep)
virtual FEInterpolation * giveInterpolation() const
#define _IFT_Tr1BubbleStokes_Name
Base class for dof managers.
MaterialMode
Type representing material mode of integration point.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void updateYourself(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Class representing a general abstraction for finite element interpolation class.
void computeInternalForcesVector(FloatArray &answer, TimeStep *tStep)
static IntArray conservation_ordering
static IntArray edge_ordering[3]
Ordering of dofs on edges. Used to assemble edge loads.
Class representing a 2d triangular linear interpolation based on area coordinates.
Abstract base class representing a boundary load (force, momentum, ...) that acts directly on a bound...
virtual const char * giveInputRecordName() const
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
void computeExternalForcesVector(FloatArray &answer, TimeStep *tStep)
DofIDItem
Type representing particular dof type.
virtual const char * giveClassName() const
Triangular element for Stokes flow using Bubble basis function.
Class representing vector of real numbers.
virtual void giveCharacteristicMatrix(FloatMatrix &answer, CharType type, TimeStep *tStep)
Computes characteristic matrix of receiver of requested type in given time step.
This abstract class represent a general base element class for fluid dynamic problems.
virtual void computeField(ValueModeType u, TimeStep *tStep, const FloatArray &coords, FloatArray &answer)
Computes the unknown vector interpolated at the specified local coordinates.
Implementation of matrix containing floating point numbers.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
static IntArray momentum_ordering
Ordering of dofs in element. Used to assemble the element stiffness.
virtual void giveInternalDofManDofIDMask(int i, IntArray &answer) const
Returns internal dofmanager dof mask for node.
virtual int giveNumberOfInternalDofManagers() const
The spatial localizer element interface associated to spatial localizer.
virtual void giveCharacteristicVector(FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep)
Computes characteristic vector of receiver of requested type in given time step.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
InterfaceType
Enumerative type, used to identify interface type.
Tr1BubbleStokes(int n, Domain *d)
virtual DofManager * giveInternalDofManager(int i) const
Returns i-th internal element dof manager of the receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
Class representing integration point in finite element program.
Class representing solution step.