64 nodeDofIDMask = {V_u, V_v};
89 for (
int i = 0; i < n.
giveSize(); ++i ) {
90 for (
int j = 0; j < dofIDs.
giveSize(); ++j ) {
91 answer(j) += n(i) * unknowns(i*dofIDs.
giveSize() + j);
void computeVectorOf(ValueModeType u, TimeStep *tStep, FloatArray &answer)
Returns local vector of unknowns.
virtual ~Line2BoundaryElement()
Destructor.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Class implementing an array of integers.
virtual void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer)
Computes the unknown vector interpolated at the specified local coordinates.
Class representing a general abstraction for finite element interpolation class.
Line2BoundaryElement(int n, Domain *d)
Constructor.
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the array of interpolation functions (shape functions) at given point.
Wrapper around element definition to provide FEICellGeometry interface.
virtual void giveElementDofIDMask(IntArray &answer) const
Returns element dof mask for node.
Class representing vector of real numbers.
This abstract class represent a general base element class for fluid dynamic problems.
virtual FEInterpolation * giveInterpolation() const
void zero()
Zeroes all coefficients of receiver.
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
The spatial localizer element interface associated to spatial localizer.
std::vector< std::unique_ptr< IntegrationRule > > integrationRulesArray
List of integration rules of receiver (each integration rule contains associated integration points a...
InterfaceType
Enumerative type, used to identify interface type.
int giveSize() const
Returns the size of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing solution step.
virtual void giveDofManDofIDMask(int i, IntArray &nodeDofIDMask) const
Returns dofmanager dof mask for node.
int numberOfDofMans
Number of dofmanagers.
void resize(int s)
Resizes receiver towards requested size.