Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
bitpit::PatchKernel::CellFuzzyPositionLess Struct Reference

#include <patch_kernel.hpp>

Inheritance diagram for bitpit::PatchKernel::CellFuzzyPositionLess:
Inheritance graph
[legend]
Collaboration diagram for bitpit::PatchKernel::CellFuzzyPositionLess:
Collaboration graph
[legend]

Public Member Functions

 CellFuzzyPositionLess (PatchKernel &patch)
 
bool operator() (long id_1, long id_2) const
 

Public Attributes

PatchKernelm_patch
 

Detailed Description

Functional for comparing the position of two cells.

WARNING: the function is faster than the comparison based on cell centroid but its result is not indepenedent of the vertex order.

The comparison is made with respect to the position of cell vertices.

Definition at line 253 of file patch_kernel.hpp.

Constructor & Destructor Documentation

◆ CellFuzzyPositionLess()

bitpit::PatchKernel::CellFuzzyPositionLess::CellFuzzyPositionLess ( PatchKernel & patch)
inline

Definition at line 255 of file patch_kernel.hpp.

Member Function Documentation

◆ operator()()

bool bitpit::PatchKernel::CellFuzzyPositionLess::operator() ( long id_1,
long id_2 ) const
inline

Definition at line 262 of file patch_kernel.hpp.

Member Data Documentation

◆ m_patch

PatchKernel& bitpit::PatchKernel::CellFuzzyPositionLess::m_patch

Definition at line 292 of file patch_kernel.hpp.


The documentation for this struct was generated from the following file:
--- layout: doxygen_footer ---