53template<
typename REAL>
92 cellId = std::numeric_limits<uint64_t>::max();
101 const std::string& popName);
103template<
typename REAL>
inline
106template<
typename REAL>
inline
108 REAL EPS1, EPS2,
EPS;
109 EPS1 = 1.0e-6 * fabs(x);
110 EPS2 = 1.0e-6 * fabs(
n.x);
111 if (x == 0.0) EPS1 = 1.0e-7;
112 if (
n.x == 0.0) EPS2 = 1.0e-7;
114 if (fabs(x -
n.x) >
EPS)
return false;
116 EPS1 = 1.0e-6 * fabs(y);
117 EPS2 = 1.0e-6 * fabs(
n.y);
118 if (y == 0.0) EPS1 = 1.0e-7;
119 if (
n.y == 0.0) EPS2 = 1.0e-7;
121 if (fabs(y -
n.y) >
EPS)
return false;
123 EPS1 = 1.0e-6 * fabs(z);
124 EPS2 = 1.0e-6 * fabs(
n.z);
125 if (z == 0.0) EPS1 = 1.0e-7;
126 if (
n.z == 0.0) EPS2 = 1.0e-7;
128 if (fabs(z -
n.z) >
EPS)
return false;
std::vector< std::string > outputDirectoryPath
std::array< Real, 3 > point1
uint32_t numberOfCoordinatesInALine
std::array< Real, 3 > coordinates
std::array< Real, 3 > point2
std::vector< uint64_t > cellIdList
bool getCellIdFromCoordinates
Real slicedCoordValues[3]
bool operator()(const NodeCrd< double > &a, const NodeCrd< double > &b) const
bool operator()(const NodeCrd< float > &a, const NodeCrd< float > &b) const
NodeCrd(const REAL &x, const REAL &y, const REAL &z)
bool comp(const NodeCrd< REAL > &n) const
static ARCH_HOSTDEV VecSimple< T > max(VecSimple< T > const &l, VecSimple< T > const &r)