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

#include <patch_kernel.hpp>

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

Public Member Functions

 CellPositionLess (const PatchKernel &patch, bool native=true)
 
bool operator() (long id_1, long id_2) const
 

Public Attributes

bool m_native
 
const PatchKernelm_patch
 

Detailed Description

Functional for comparing the position of two cells.

The comparison is made with respect to the cell centroid.

Definition at line 195 of file patch_kernel.hpp.

Constructor & Destructor Documentation

◆ CellPositionLess()

bitpit::PatchKernel::CellPositionLess::CellPositionLess ( const PatchKernel & patch,
bool native = true )
inline

Definition at line 197 of file patch_kernel.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 204 of file patch_kernel.hpp.

Member Data Documentation

◆ m_native

bool bitpit::PatchKernel::CellPositionLess::m_native

Definition at line 224 of file patch_kernel.hpp.

◆ m_patch

const PatchKernel& bitpit::PatchKernel::CellPositionLess::m_patch

Definition at line 223 of file patch_kernel.hpp.


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