IFEM  90A354
Public Member Functions | Private Attributes | List of all members
ASMs2DIB::Intersected Class Reference

Class that checks if an element has interface contributions. More...

Inheritance diagram for ASMs2DIB::Intersected:
Inheritance graph
[legend]
Collaboration diagram for ASMs2DIB::Intersected:
Collaboration graph
[legend]

Public Member Functions

 Intersected (const ASMs2DIB &pch, bool all=false, bool sw=false)
 The constructor initialises the reference to current patch.
 
virtual ~Intersected ()
 Empty destructor.
 
virtual short int hasContribution (int, int I, int J, int=-1) const
 Returns non-zero if the specified element have contributions. More...
 
- Public Member Functions inherited from ASMs2D::InterfaceChecker
 InterfaceChecker (const ASMs2D &pch)
 The constructor initialises the reference to current patch.
 
virtual ~InterfaceChecker ()
 Empty destructor.
 
- Public Member Functions inherited from ASM::InterfaceChecker
virtual short int elmBorderMask (double u0, double u1, double v0, double v1, double w0=0.0, double w1=1.0) const
 Returns a status mask based on the element boundary parameters. More...
 

Private Attributes

bool myAll
 If true, consider all element interfaces.
 
bool alsoSW
 If true, consider south/west neighbors too.
 

Additional Inherited Members

- Protected Attributes inherited from ASMs2D::InterfaceChecker
const ASMs2DmyPatch
 Reference to the patch being integrated.
 

Detailed Description

Class that checks if an element has interface contributions.

The class has one member function that checks if the specified element is intersected by the immersed boundary, or if it is neighbor to an element that is intersected.

Member Function Documentation

◆ hasContribution()

short int ASMs2DIB::Intersected::hasContribution ( int  ,
int  I,
int  J,
int  = -1 
) const
virtual

Returns non-zero if the specified element have contributions.

Parameters
[in]IIndex in first parameter direction of the element
[in]JIndex in second parameter direction of the element

Reimplemented from ASMs2D::InterfaceChecker.

References alsoSW, ASMs2DIB::isIntersected(), myAll, ASMs2D::InterfaceChecker::myPatch, ASMs2DIB::quadPoints, and ASMs2D::surf.


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