|
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 <vector>#include "mac_cutcell_mg.hpp"#include "peclet/core/common/types.hpp"#include "peclet/core/decomp/block_decomposer.hpp"Go to the source code of this file.
Classes | |
| struct | Result |
Functions | |
| static double | source (int gx, int gy, int gz, IVec< 3 > gs) |
| static void | fillSource (CCField b, C3 ext, C3 og, IVec< 3 > gs) |
| static Result | setupAndSolve (CutcellMG &mg, C3 ext, C3 og, IVec< 3 > gs) |
| static double | compareBlock (const Result &d, const CutcellMG::Level &l0, const Result &ref, C3 re) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | G = 1 |
|
static |
Definition at line 53 of file test_telescope_mpi.cpp.
Referenced by fillSource().
Definition at line 57 of file test_telescope_mpi.cpp.
References G, source(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by setupAndSolve().
Definition at line 74 of file test_telescope_mpi.cpp.
References fillSource(), 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 105 of file test_telescope_mpi.cpp.
References cg(), peclet::flow::CutcellMG::coarsestGlobal(), compareBlock(), G, peclet::flow::CutcellMG::level(), peclet::flow::CutcellMG::localLevels(), peclet::flow::CutcellMG::repartitionCount(), peclet::flow::CutcellMG::setAgglomerationMode(), peclet::flow::CutcellMG::setRepartition(), peclet::flow::CutcellMG::setTelescope(), peclet::flow::CutcellMG::setTelescopeForceLevel(), setupAndSolve(), peclet::flow::CutcellMG::telescopeCount(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
staticconstexpr |
Definition at line 51 of file test_telescope_mpi.cpp.
Referenced by compareBlock(), fillSource(), and main().