75 for (
int ivar = 1; ivar <= nvar; ivar++ ) {
81 for (
int ivar = 1; ivar <= nvar; ivar++ ) {
103 std::vector< FloatArray > container;
108 container.reserve(nnodes);
109 for (
int inode = 1; inode <= nnodes; inode++ ) {
111 container.emplace_back(*nvec);
115 container, type, tStep);
135 std::vector< FloatArray > container;
140 container.reserve(nnodes);
141 for (
int inode = 1; inode <= nnodes; inode++ ) {
143 container.emplace_back(*nvec);
173 for (
int i = 0; i < n.
giveSize(); ++i ) {
174 answer.
add(n[i], list[i]);
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
Evaluates the array of interpolation functions (shape functions) at given point.
virtual int mapVariable(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Maps and update the unknown of given type from old mesh oldd to new mesh to which gp belongs to...
std::vector< std::unique_ptr< NodalRecoveryModel > > smootherList
Smoothers.
IntArray intVarTypes
Internal variables in list.
Abstract base class for all finite elements.
The class representing the general material model mapping algorithm.
Element * giveElement()
Returns corresponding element to receiver.
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
virtual int giveNumberOfDofManagers() const
virtual FEInterpolation * giveInterpolation() const
REGISTER_MaterialMappingAlgorithm(MMAClosestIPTransfer, MMA_ClosestPoint)
virtual int mapStatus(MaterialStatus &oStatus) const
Initializes receiver according to object description stored in input record.
virtual ~MMAShapeFunctProjection()
Destructor.
The nodal recovery model based on nodal averaging.
StateCounterType giveSolutionStateCounter()
Returns current solution state counter.
Set of elements, boundaries, edges and/or nodes.
SpatialLocalizer * giveSpatialLocalizer()
Returns receiver's associated spatial localizer.
Wrapper around element definition to provide FEICellGeometry interface.
void interpolateIntVarAt(FloatArray &answer, Element *elem, const FloatArray &lcoords, std::vector< FloatArray > &list, InternalStateType type, TimeStep *tStep) const
Abstract base class representing a material status information.
Domain * domain
Source domain.
Class representing vector of real numbers.
StateCounterType stateCounter
Solution state counter.
virtual int __mapVariable(FloatArray &answer, const FloatArray &coords, InternalStateType type, TimeStep *tStep)
Maps and update the unknown of given type from old mesh oldd to new mesh to which gp belongs to...
MMAShapeFunctProjection()
Constructor.
virtual Element * giveElementClosestToPoint(FloatArray &lcoords, FloatArray &closest, const FloatArray &coords, int region=0)=0
Returns the element closest to a given point.
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.
DofManager * giveDofManager(int i) const
virtual void finish(TimeStep *tStep)
Finishes the mapping for given time step.
Class representing integration point in finite element program.
Class representing solution step.
void add(const FloatArray &src)
Adds array src to receiver.
virtual void __init(Domain *dold, IntArray &type, const FloatArray &coords, Set &sourceElemSet, TimeStep *tStep, bool iCohesiveZoneGP=false)
Initializes the receiver state before mapping.
int findFirstIndexOf(int value) const
Finds index of first occurrence of given value in array.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
void resize(int s)
Resizes receiver towards requested size.