35 #ifndef polylinenonlocalbarrier_h 36 #define polylinenonlocalbarrier_h 43 #define _IFT_PolylineNonlocalBarrier_Name "polylinebarrier" 44 #define _IFT_PolylineNonlocalBarrier_vertexnodes "vertexnodes" 45 #define _IFT_PolylineNonlocalBarrier_xcoordindx "xcoordindx" 46 #define _IFT_PolylineNonlocalBarrier_ycoordindx "ycoordindx" 105 virtual const char *
giveClassName()
const {
return "PolylineNonlocalBarrier"; }
108 #endif // polylinenonlocalbarrier_h virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
double giveDistancePointLine(const FloatArray &coordsA, const FloatArray &coordsB, const FloatArray &coordsGP)
This function computes the length of the normal to the line defined by 2 vertices that passes through...
Abstract base class for all nonlocal barriers.
Abstract base class for all nonlocal materials.
int localXCoordIndx
Local x-coordinate index.
Implementation of polyline nonlocal barrier.
virtual double calculateMinimumDistanceFromBoundary(const FloatArray &coords)
Abstract method calculating the minimum distance of the Gauss Point from the nonlocal boundaries...
virtual const char * giveInputRecordName() const
Class implementing an array of integers.
PolylineNonlocalBarrier(int n, Domain *aDomain)
Constructor.
#define _IFT_PolylineNonlocalBarrier_Name
int localYCoordIndx
Local y-coordinate index.
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void applyConstraint(const FloatArray &c1, const FloatArray &c2, double &weight, bool &shieldFlag, NonlocalMaterialExtensionInterface *nei)
Abstract method modifying the integration weight between master (c1) and source (c2) point...
virtual bool isActivated(const FloatArray &c1, const FloatArray &c2)
virtual const char * giveClassName() const
IntArray vertexNodes
List of polyline vertices.
virtual ~PolylineNonlocalBarrier()
Virtual destructor.
the oofem namespace is to define a context or scope in which all oofem names are defined.