67 for (
int i = 1; i <= n.
giveSize(); i++ ) {
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
Evaluates the array of interpolation functions (shape functions) at given point.
int giveDofManagerNumber(int i) const
Translates local to global indices for dof managers.
FieldType
Physical type of field.
int giveNumberOfDofManagers() const
Returns number of dof managers in domain.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the receiver state previously written in stream.
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
std::vector< FloatArray > dmanvallist
Array of dofman values.
Abstract base class for all finite elements.
Base class for dof managers.
DofManValueField(FieldType b, Domain *d)
Constructor.
virtual FEInterpolation * giveInterpolation() const
void setDofManValue(int dofMan, FloatArray value)
Sets the value associated to given dofManager.
Domain * domain
Associated domain (need its elements to interpolate)
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores receiver state to output stream.
Abstract class representing field.
Class representing a general abstraction for finite element interpolation class.
virtual int evaluateAt(FloatArray &answer, const FloatArray &coords, ValueModeType mode, TimeStep *tStep)
Evaluates the field at given point.
SpatialLocalizer * giveSpatialLocalizer()
Returns receiver's associated spatial localizer.
Wrapper around element definition to provide FEICellGeometry interface.
virtual int global2local(FloatArray &answer, const FloatArray &gcoords, const FEICellGeometry &cellgeo)=0
Evaluates local coordinates from given global ones.
virtual Element * giveElementContainingPoint(const FloatArray &coords, const IntArray *regionList=NULL)=0
Returns the element, containing given point and belonging to one of the region in region list...
Class representing vector of real numbers.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
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.
void add(const FloatArray &src)
Adds array src to receiver.