|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Classes | |
| struct | Stat |
Typedefs | |
| using | VReal = float |
| using | FV = Kokkos::View<VReal*, pf::CCMem> |
| using | FVC = Kokkos::View<const VReal*, pf::CCMem> |
Functions | |
| int | runRbgs (int N, int K) |
| template<class Exec = pf::CCExec> | |
| void | smoothPeeledFp64 (pf::CCField phi, pf::CCConst b, pf::FPC AC, pf::FPC AFX, pf::FPC AFY, pf::FPC AFZ, pf::C3 e, pf::C3 n, pf::C3 og, int g, int color) |
| template<class Exec = pf::CCExec> | |
| void | checkPeeled (pf::CCField xa, pf::CCField xb, pf::CCConst b, pf::FPC AC, pf::FPC AFX, pf::FPC AFY, pf::FPC AFZ, pf::C3 e, pf::C3 n, pf::C3 og, int g) |
| template<class XV, class BV, class WV> | |
| void | smoothLiteCell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, const pf::CcNbrs &w) |
| template<class XV, class BV, class WV> | |
| void | smoothFp32Cell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, const pf::CcNbrs &w) |
| template<bool Fp32, class XV, class BV, class WV> | |
| void | fluxCell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, const pf::CcNbrs &w) |
| template<bool Fp32, class XV, class BV> | |
| void | smoothFluxPass (XV x, BV b, FVC WX, FVC WY, FVC WZ, pf::C3 e, pf::C3 n, pf::C3 og, int g, int color) |
| void | loadavg (const char *tag) |
| Stat | stats (std::vector< double > v) |
| int | runP0 (int rounds, int passes) |
| int | runC0 (int rounds, int launches) |
Variables | |
| constexpr bool | kHost = std::is_same_v<pf::CCMem, Kokkos::HostSpace> |
| using p0bench::VReal = float |
Definition at line 39 of file bench_rbgs.cpp.
| using p0bench::FV = Kokkos::View<VReal*, pf::CCMem> |
Definition at line 40 of file bench_rbgs.cpp.
| using p0bench::FVC = Kokkos::View<const VReal*, pf::CCMem> |
Definition at line 41 of file bench_rbgs.cpp.
| int p0bench::runRbgs | ( | int | N, |
| int | K ) |
Definition at line 43 of file bench_rbgs.cpp.
References N, and peclet::flow::poisSweep().
Referenced by main().
| void p0bench::smoothPeeledFp64 | ( | pf::CCField | phi, |
| pf::CCConst | b, | ||
| pf::FPC | AC, | ||
| pf::FPC | AFX, | ||
| pf::FPC | AFY, | ||
| pf::FPC | AFZ, | ||
| pf::C3 | e, | ||
| pf::C3 | n, | ||
| pf::C3 | og, | ||
| int | g, | ||
| int | color ) |
Definition at line 81 of file bench_rbgs.cpp.
References AC, peclet::flow::ccWrapNbrs(), peclet::flow::cutcellSmoothFaceCell(), and PECLET_FLOW_OMP_SIMD.
Referenced by checkPeeled(), and runP0().
| void p0bench::checkPeeled | ( | pf::CCField | xa, |
| pf::CCField | xb, | ||
| pf::CCConst | b, | ||
| pf::FPC | AC, | ||
| pf::FPC | AFX, | ||
| pf::FPC | AFY, | ||
| pf::FPC | AFZ, | ||
| pf::C3 | e, | ||
| pf::C3 | n, | ||
| pf::C3 | og, | ||
| int | g ) |
Definition at line 124 of file bench_rbgs.cpp.
References AC, peclet::flow::cutcellSmoothColorFaceWrap(), and smoothPeeledFp64().
Referenced by runP0().
| void p0bench::smoothLiteCell | ( | const XV & | x, |
| const BV & | b, | ||
| const WV & | WX, | ||
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| const pf::CcNbrs & | w ) |
Definition at line 141 of file bench_rbgs.cpp.
Referenced by fluxCell().
| void p0bench::smoothFp32Cell | ( | const XV & | x, |
| const BV & | b, | ||
| const WV & | WX, | ||
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| const pf::CcNbrs & | w ) |
Definition at line 158 of file bench_rbgs.cpp.
Referenced by fluxCell().
| void p0bench::fluxCell | ( | const XV & | x, |
| const BV & | b, | ||
| const WV & | WX, | ||
| const WV & | WY, | ||
| const WV & | WZ, | ||
| long | i, | ||
| long | sx, | ||
| long | sy, | ||
| long | sz, | ||
| const pf::CcNbrs & | w ) |
Definition at line 172 of file bench_rbgs.cpp.
References smoothFp32Cell(), and smoothLiteCell().
Referenced by smoothFluxPass().
| void p0bench::smoothFluxPass | ( | XV | x, |
| BV | b, | ||
| FVC | WX, | ||
| FVC | WY, | ||
| FVC | WZ, | ||
| pf::C3 | e, | ||
| pf::C3 | n, | ||
| pf::C3 | og, | ||
| int | g, | ||
| int | color ) |
Definition at line 184 of file bench_rbgs.cpp.
References peclet::flow::ccWrapNbrs(), fluxCell(), kHost, and PECLET_FLOW_OMP_SIMD.
Referenced by runP0().
| void p0bench::loadavg | ( | const char * | tag | ) |
Definition at line 217 of file bench_rbgs.cpp.
| Stat p0bench::stats | ( | std::vector< double > | v | ) |
Definition at line 231 of file bench_rbgs.cpp.
| int p0bench::runP0 | ( | int | rounds, |
| int | passes ) |
Definition at line 236 of file bench_rbgs.cpp.
References AC, peclet::flow::buildCutcellOpFace(), checkPeeled(), peclet::flow::cutcellSmoothColorFaceWrap(), kHost, loadavg(), smoothFluxPass(), smoothPeeledFp64(), stats(), urand(), and wrap().
Referenced by main().
| int p0bench::runC0 | ( | int | rounds, |
| int | launches ) |
Definition at line 397 of file bench_rbgs.cpp.
References peclet::flow::ccReduce3(), peclet::flow::ccReduce3Lanes(), loadavg(), N, stats(), and val().
Referenced by main().
|
constexpr |
Definition at line 76 of file bench_rbgs.cpp.
Referenced by runP0(), and smoothFluxPass().