|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstring>#include <exception>#include <Kokkos_Core.hpp>#include <utility>#include <vector>#include "mac_cutcell.hpp"#include "mac_cutcell_mg.hpp"#include "peclet/core/common/types.hpp"Go to the source code of this file.
Typedefs | |
| using | HostVec = decltype(Kokkos::create_mirror_view(std::declval<CCField>())) |
| using | CCConst |
| using | CCField |
Functions | |
| static double | sdfAt (int gx, int gy, int gz, int nx, int ny, int nz, double dref) |
| static HostVec | setupAndSolve (CutcellMG &mg, C3 ext, C3 og, int nx, int ny, int nz, bool collective, int *iters) |
| int | main (int argc, char **argv) |
| void | buildOpenness (CCField ox, CCField oy, CCField oz, CCConst sdf, C3 ext, double dx, double dy, double dz, int order=1) |
Variables | |
| static constexpr int | G = 1 |
| static constexpr int | NLEV = 6 |
| static constexpr int | N = 32 |
| static constexpr double | LBOX = 1.0 |
| static constexpr double | RSPH = 0.3722 |
Definition at line 59 of file test_cutcellmg_aniso_mpi.cpp.
| using peclet::flow::CCConst |
Definition at line 27 of file mac_cutcell.hpp.
| using peclet::flow::CCField |
Definition at line 26 of file mac_cutcell.hpp.
|
static |
Definition at line 48 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by setupAndSolve().
|
static |
Definition at line 60 of file test_cutcellmg_aniso_mpi.cpp.
References peclet::flow::CutcellMG::Level::AC, buildOpenness(), G, LBOX, peclet::flow::CutcellMG::level(), mean(), sdfAt(), peclet::flow::CutcellMG::setOpenness(), peclet::flow::CutcellMG::solvePCG(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 128 of file test_cutcellmg_aniso_mpi.cpp.
References blockDiff(), CutcellMG::Level::ext, peclet::flow::CutcellMG::Level::ext, G, peclet::flow::CutcellMG::init(), CutcellMG::kVcycleFp32, peclet::flow::CutcellMG::lastVcycleFp32(), peclet::flow::CutcellMG::level(), peclet::flow::CutcellMG::levelRatios(), N, NLEV, peclet::flow::CutcellMG::nLevels(), CutcellMG::Level::og, peclet::flow::CutcellMG::Level::og, peclet::flow::CutcellMG::Level::ratio, peclet::flow::CutcellMG::setMetric(), peclet::flow::CutcellMG::setTelescope(), peclet::flow::CutcellMG::setTelescopeForceLevel(), peclet::flow::CutcellMG::setTelescopeMinExtent(), setupAndSolve(), peclet::flow::CutcellMG::setVcyclePrecision(), peclet::flow::C3::x, and peclet::flow::C3::y.
|
inline |
Definition at line 215 of file mac_cutcell.hpp.
Referenced by setupAndSolve().
|
staticconstexpr |
Definition at line 43 of file test_cutcellmg_aniso_mpi.cpp.
|
static |
Definition at line 43 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by main(), and mgChecks().
|
staticconstexpr |
Definition at line 44 of file test_cutcellmg_aniso_mpi.cpp.
|
staticconstexpr |
Definition at line 45 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by sdfAt(), and setupAndSolve().
|
static |
Definition at line 45 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by sdfAt().