|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
flow — portable (Kokkos) cut-cell pressure-operator face openness from an SDF. More...
#include <cstdlib>#include <Kokkos_Core.hpp>#include <Kokkos_MathematicalFunctions.hpp>#include <string>#include <tuple>#include <type_traits>#include <utility>#include "policy.hpp"Go to the source code of this file.
Namespaces | |
| namespace | peclet |
| namespace | peclet::flow |
| namespace | peclet::flow::ccdetail |
Macros | |
| #define | PECLET_FLOW_OMP_SIMD |
Typedefs | |
| using | peclet::flow::CCExec = Kokkos::DefaultExecutionSpace |
| using | peclet::flow::CCMem = CCExec::memory_space |
| using | peclet::flow::CCField = Kokkos::View<double*, CCMem> |
| using | peclet::flow::CCConst = Kokkos::View<const double*, CCMem> |
Functions | |
| double | peclet::flow::ccFractionCore (double sd, double sxp, double sxm, double syp, double sym, double szp, double szm, int type, double dx, double dy, double dz) |
| double | peclet::flow::ccSampleExt (CCConst sdf, C3 ext, double x, double y, double z) |
| double | peclet::flow::ccFaceOpen (CCConst sdf, C3 ext, double fx, double fy, double fz, int type, double dx, double dy, double dz) |
| double | peclet::flow::ccTriFrac (double a, double b, double c) |
| double | peclet::flow::ccFaceOpenMS (CCConst sdf, C3 ext, double fx, double fy, double fz, int type) |
| void | peclet::flow::buildOpenness (CCField ox, CCField oy, CCField oz, CCConst sdf, C3 ext, double dx, double dy, double dz, int order=1) |
| void | peclet::flow::buildOpennessHighFace (CCField oa, CCConst sdf, C3 ext, int g, int a, double dx, double dy, double dz, int order=1) |
| bool | peclet::flow::hostRunSerial (long cells) |
| template<bool Simd, class F> | |
| void | peclet::flow::ccdetail::ccRows3 (const char *name, C3 lo, C3 hi, F f) |
| template<class F> | |
| void | peclet::flow::ccFor3 (const char *name, C3 lo, C3 hi, F f) |
| template<class F> | |
| void | peclet::flow::ccForRows3 (const char *name, C3 lo, C3 hi, F f) |
| template<class Run> | |
| void | peclet::flow::ccBoxShellRuns (const char *name, C3 rlo, C3 rhi, C3 slo, C3 shi, Run run) |
| CcNbrs | peclet::flow::ccMaskNbrs (int lx, int ly, int lz, C3 n, int g, long i, long sy, long sz, int m) |
| template<class Cell> | |
| void | peclet::flow::ccMaskRow (int ly, int lz, int lx0, int x1, int step, C3 e, C3 n, int g, int m, const Cell &cell) |
| template<class F, class... R> | |
| void | peclet::flow::ccReduce3 (const char *name, C3 lo, C3 hi, F f, R &&... reducers) |
| template<class F, class... T> | |
| void | peclet::flow::ccdetail::laneRow (const F &f, int x0, int x1, int y, int z, T &... acc) |
| template<class F, class... R> | |
| void | peclet::flow::ccReduce3Lanes (const char *name, C3 lo, C3 hi, F f, R &&... reducers) |
Variables | |
| constexpr long | peclet::flow::kHostSerialCellCutoff = 8192L |
| constexpr long | peclet::flow::kShellRunCells = 8L |
flow — portable (Kokkos) cut-cell pressure-operator face openness from an SDF.
Kokkos port of mac_cutcell.cuh: the gradient-normalised masked fluid fraction (cc_fraction_core)
Definition in file mac_cutcell.hpp.
| #define PECLET_FLOW_OMP_SIMD |
Definition at line 348 of file mac_cutcell.hpp.
Referenced by peclet::flow::applyCutcellOpBoxFace(), peclet::flow::ccMaskRow(), peclet::flow::ccdetail::ccRows3(), peclet::flow::ccWrapRowPeeled(), peclet::flow::cutcellSmoothColor(), peclet::flow::cutcellSmoothColorBoxFace(), peclet::flow::cutcellSmoothColorFace(), peclet::flow::residualCutcellBoxFace(), p0bench::smoothFluxPass(), p0bench::smoothPeeledFp64(), peclet::flow::smg::sweepColorFace(), and peclet::flow::vof::vofBatchPeriodic().