|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#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 >())) |
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) |
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 |
| using HostVec = decltype(Kokkos::create_mirror_view(std::declval<CCField>())) |
Definition at line 57 of file test_cutcellmg_aniso_mpi.cpp.
|
static |
Definition at line 46 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by setupAndSolve().
|
static |
Definition at line 58 of file test_cutcellmg_aniso_mpi.cpp.
References peclet::flow::CutcellMG::Level::AC, 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 126 of file test_cutcellmg_aniso_mpi.cpp.
References blockDiff(), G, peclet::flow::CutcellMG::level(), peclet::flow::CutcellMG::levelRatios(), N, NLEV, peclet::flow::CutcellMG::nLevels(), peclet::flow::CutcellMG::Level::ratio, peclet::flow::CutcellMG::setMetric(), peclet::flow::CutcellMG::setTelescope(), peclet::flow::CutcellMG::setTelescopeForceLevel(), peclet::flow::CutcellMG::setTelescopeMinExtent(), setupAndSolve(), peclet::flow::C3::x, and peclet::flow::C3::y.
|
staticconstexpr |
Definition at line 41 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by peclet::flow::sco::facetCoefficients(), exact_apertures_spheres::Fquad(), initTG(), main(), peclet::flow::Solver< Grid >::marchState(), and setupAndSolve().
|
static |
Definition at line 41 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by main().
|
staticconstexpr |
Definition at line 42 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by main().
|
staticconstexpr |
Definition at line 43 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by sdfAt(), and setupAndSolve().
|
static |
Definition at line 43 of file test_cutcellmg_aniso_mpi.cpp.
Referenced by sdfAt().