OOFEM 3.0
Loading...
Searching...
No Matches
oofem::NonlocalBarrier Class Referenceabstract

#include <nonlocalbarrier.h>

Inheritance diagram for oofem::NonlocalBarrier:
Collaboration diagram for oofem::NonlocalBarrier:

Public Member Functions

 NonlocalBarrier (int n, Domain *aDomain)
virtual ~NonlocalBarrier ()
 Destructor.
virtual void applyConstraint (const double cl, const FloatArray &c1, const FloatArray &c2, double &weight, bool &shieldFlag, const NonlocalMaterialExtensionInterface &nei)=0
virtual double calculateMinimumDistanceFromBoundary (const FloatArray &coords)=0
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
virtual const char * giveClassName () const =0
virtual const char * giveInputRecordName () const =0
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual void giveInputRecord (DynamicInputRecord &input)
virtual void saveContext (DataStream &stream, ContextMode mode)
virtual void restoreContext (DataStream &stream, ContextMode mode)
virtual int checkConsistency ()
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging.
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Additional Inherited Members

Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Detailed Description

Abstract base class for all nonlocal barriers. The purpose of this class is to model barrier for nonlocal averaging process (visibility criterion, symmetry condition). Usually, the given remote integration point influences to the source point nonlocal average if the averaging function at source point and evaluated for remote point has nonzero value. The barrier allows to exclude additional points, which may be close enough, but due to several reasons there is no influence between these points (for example, they can be separated by a notch).

See also
NonlocalMaterialStatusExtensionInterface class.

Definition at line 53 of file nonlocalbarrier.h.

Constructor & Destructor Documentation

◆ NonlocalBarrier()

oofem::NonlocalBarrier::NonlocalBarrier ( int n,
Domain * aDomain )

Constructor. Creates an element with number n belonging to domain aDomain.

Parameters
nElement's number
aDomainPointer to the domain to which element belongs.

Definition at line 38 of file nonlocalbarrier.C.

References oofem::FEMComponent::FEMComponent().

◆ ~NonlocalBarrier()

virtual oofem::NonlocalBarrier::~NonlocalBarrier ( )
inlinevirtual

Destructor.

Definition at line 63 of file nonlocalbarrier.h.

Member Function Documentation

◆ applyConstraint()

virtual void oofem::NonlocalBarrier::applyConstraint ( const double cl,
const FloatArray & c1,
const FloatArray & c2,
double & weight,
bool & shieldFlag,
const NonlocalMaterialExtensionInterface & nei )
pure virtual

Abstract method modifying the integration weight between master (c1) and source (c2) point.

Parameters
clCharacteristic length of nonlocal model.
c1Coordinates of master point.
c2Coordinates of source point.
weightOriginal integration weight; on output modified weight.
[out]shieldFlagSet to true if shielding is activated.
neiThe element with the non local material extension.

Implemented in oofem::PolylineNonlocalBarrier, and oofem::SymmetryBarrier.

◆ calculateMinimumDistanceFromBoundary()

virtual double oofem::NonlocalBarrier::calculateMinimumDistanceFromBoundary ( const FloatArray & coords)
pure virtual

Abstract method calculating the minimum distance of the Gauss Point from the nonlocal boundaries

Parameters
coordsCoordinates of the Gauss Point
maxPossibleDistanceDistance from the boundary beyond which the nonlocal radius(as it is interpreted in each weight function) becomes equal to the user-defined
Returns
the minimum value of the minimum distance from nonlocal boundary and maxPossibleDistance

Implemented in oofem::PolylineNonlocalBarrier, and oofem::SymmetryBarrier.


The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011