Go to the source code of this file.
|
namespace | Foam |
| Namespace for OpenFOAM.
|
|
|
| defineTypeNameAndDebug (isoSurfaceTopo, 0) |
|
static int | getTetCutIndex (scalar p0, scalar p1, scalar p2, scalar p3, const scalar val, const bool doSnap) noexcept |
|
static void | appendTriLabels (DynamicList< label > &verts, const label a, const label b, const label c, const bool flip) |
|
static const point & | getMeshPointRef (const polyMesh &mesh, const label pointi) |
|
Original source file isoSurfaceTopo.C
Definition in file isoSurfaceTopo.C.
◆ SNAP_END_ENCODE
#define SNAP_END_ENCODE |
( |
|
pos, |
|
|
|
val |
|
) |
| (((val) << (4 + 2 * pos))) |
◆ SNAP_END_VALUE
#define SNAP_END_VALUE |
( |
|
pos, |
|
|
|
val |
|
) |
| (((val) >> (4 + 2 * pos)) & 0x3) |
◆ ADD_SNAP_INDEX
#define ADD_SNAP_INDEX |
( |
|
pos, |
|
|
|
d1, |
|
|
|
d2, |
|
|
|
idx1, |
|
|
|
idx2 |
|
) |
| |
Value: switch (cutIndex & (idx1 | idx2)) \
{ \
case idx1 : \
case idx2 : \
( \
pos, \
((d1 * 100 < d2) ? 1 : (d2 * 100 < d1) ? 2 : 0) \
); \
break; \
}
#define SNAP_END_ENCODE(pos, val)