|
pnm 1.0.3
peclet.pnm — pore-network extraction from SDF geometry (Kokkos)
|
Single-rank geometry policy: the field IS the whole periodic grid, owned == field coords, gid == index. More...
#include <pore_kernels.hpp>
Public Member Functions | |
| Index | cell (int lx, int ly, int lz) const |
| Index | gid (int lx, int ly, int lz) const |
| void | gcoord (int lx, int ly, int lz, int &gx, int &gy, int &gz) const |
| bool | inOwned (int, int, int) const |
| Index | owned (int ix, int iy, int iz) const |
| void | ownedCoords (Index o, int &ix, int &iy, int &iz) const |
| Index | localOf (Index gid) const |
| Index | cellAtGlobal (int gx, int gy, int gz) const |
| std::size_t | numOwned () const |
Static Public Member Functions | |
| static GridGeo | of (I3 res) |
Public Attributes | |
| int | nx |
| int | ny |
| int | nz |
| int | g |
Single-rank geometry policy: the field IS the whole periodic grid, owned == field coords, gid == index.
All members plain ints so the POD captures by value into lambdas.
Definition at line 101 of file pore_kernels.hpp.
Definition at line 105 of file pore_kernels.hpp.
Referenced by pnm::extract_network_flow_k(), pnm::extractPoresView(), pnm::extractTopologyView(), and pnm::segmentVolumeView().
|
inline |
Definition at line 106 of file pore_kernels.hpp.
References nx, ny, nz, and pnm::wrapc().
Referenced by cellAtGlobal(), gid(), and owned().
|
inline |
|
inline |
Definition at line 110 of file pore_kernels.hpp.
References nx, ny, nz, and pnm::wrapc().
|
inline |
Definition at line 115 of file pore_kernels.hpp.
|
inline |
Definition at line 116 of file pore_kernels.hpp.
References cell().
|
inline |
Definition at line 117 of file pore_kernels.hpp.
Definition at line 122 of file pore_kernels.hpp.
References gid().
|
inline |
Definition at line 123 of file pore_kernels.hpp.
References cell().
|
inline |
Definition at line 126 of file pore_kernels.hpp.
| int pnm::GridGeo::nx |
Definition at line 102 of file pore_kernels.hpp.
Referenced by cell(), gcoord(), numOwned(), and ownedCoords().
| int pnm::GridGeo::ny |
Definition at line 102 of file pore_kernels.hpp.
Referenced by cell(), gcoord(), numOwned(), and ownedCoords().
| int pnm::GridGeo::nz |
Definition at line 102 of file pore_kernels.hpp.
Referenced by cell(), gcoord(), and numOwned().
| int pnm::GridGeo::g |
Definition at line 103 of file pore_kernels.hpp.