81 for (
int i = 1; i <= n.
giveSize(); i++ ) {
85 answer.
add(n.
at(i), * nodalValue);
106 return ( result == 1 );
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
NodalRecoveryModel * createNodalRecoveryModel(NodalRecoveryModel::NodalRecoveryModelType type, Domain *d)
Creates new instance of nodal recovery model corresponding to given type.
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.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Abstract base class for all finite elements.
Base class for dof managers.
virtual int evaluateAt(FloatArray &answer, const FloatArray &coords, ValueModeType mode, TimeStep *tStep)
Evaluates the field at given point.
virtual bool hasCoordinates()
virtual FEInterpolation * giveInterpolation() const
Abstract class representing field.
Class representing a general abstraction for finite element interpolation class.
Domain * domain
Source domain.
NodalRecoveryModel::NodalRecoveryModelType stype
Smoother type.
int giveNodalVector(const FloatArray *&ptr, int node)
Returns vector of recovered values for given node and region.
InternalStateType istType
InternalStateType.
Set of elements, boundaries, edges and/or nodes.
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...
NodalRecoveryModel * smoother
Smoother.
Class representing vector of real numbers.
virtual ~SmoothedNodalInternalVariableField()
SmoothedNodalInternalVariableField(InternalStateType ist, FieldType b, NodalRecoveryModel::NodalRecoveryModelType st, Domain *d)
Constructor.
virtual int recoverValues(Set elementSet, InternalStateType type, TimeStep *tStep)=0
Recovers the nodal values for all regions.
void addAllElements()
Initialize the element set to contain all elements in the receiver domain.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode)
Stores receiver state to output stream.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode)
Restores the receiver state previously written in stream.
ClassFactory & classFactory
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.