52 double distance, minDist = 1.e6;
59 distance = coords.
distance(jGpCoords);
60 if ( distance < minDist ) {
The base class for all spatial localizers.
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
Access method for default integration rule.
Abstract base class for all finite elements.
The class representing the general material model mapping algorithm.
Class implementing an array of integers.
MMAContainingElementProjection()
Constructor.
double distance(const FloatArray &x) const
Computes the distance between position represented by receiver and position given as parameter...
Set of elements, boundaries, edges and/or nodes.
SpatialLocalizer * giveSpatialLocalizer()
Returns receiver's associated spatial localizer.
Material * giveMaterial()
Returns reference to material associated to related element of receiver.
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...
Abstract base class representing a material status information.
Class representing vector of real numbers.
virtual int mapStatus(MaterialStatus &oStatus) const
Initializes receiver according to object description stored in input record.
virtual void __init(Domain *dold, IntArray &type, const FloatArray &coords, Set &sourceElemSet, TimeStep *tStep, bool iCohesiveZoneGP=false)
Initializes the receiver state before mapping.
the oofem namespace is to define a context or scope in which all oofem names are defined.
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...
Class representing integration point in finite element program.
Class representing solution step.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.