|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <algorithm>#include <cmath>#include <cstdio>#include <Kokkos_Core.hpp>#include <stdexcept>#include <string>#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 | Scene |
| struct | Run |
| struct | C3 |
| class | CutcellMG |
Typedefs | |
| using | CCConst |
| using | CCField |
Functions | |
| static int | wrap (int a, int n) |
| static bool | fluidCell (const Scene &sc, double cx, double cy, double cz) |
| static void | fillScene (CCField ox, CCField oy, CCField oz, CCField b, C3 ext, C3 og, const Scene &sc) |
| static void | configure (CutcellMG &mg, int force, bool repart) |
| static Run | solveSteps (IVec< 3 > gs, int nlev, int force, bool repart, peclet::core::decomp::BlockDecomposer< 3 > *dec0, int engine) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | G = 1 |
| static constexpr int | STEPS = 6 |
| 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 51 of file test_bottom_direct_mpi.cpp.
Referenced by fillScene(), peclet_flow_fp32_problems::makeProblem(), peclet::flow::smg::nbrs(), peclet::flow::smg::nbrsOn(), peclet::flow::vof::VofBlockSet::outOfBoxSum(), packingSdf(), packingSdf(), packingSdf(), packingSdf(), packingSdf(), packingSdf(), packingSdf(), peclet::flow::vof::VofBlockSet::recentreTo(), peclet::flow::smg::residualBand(), peclet::flow::smg::residualFace(), peclet::flow::smg::residualTwo(), p0bench::runP0(), scalarAt(), peclet::flow::smg::sweepColorBand(), peclet::flow::smg::sweepColorFace(), and peclet::flow::smg::sweepColorTwo().
|
static |
Definition at line 83 of file test_bottom_direct_mpi.cpp.
Referenced by fillScene(), and main().
|
static |
Definition at line 91 of file test_bottom_direct_mpi.cpp.
References fluidCell(), G, wrap(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
Referenced by solveSteps().
|
static |
Definition at line 140 of file test_bottom_direct_mpi.cpp.
References peclet::flow::CutcellMG::setAgglomerationMode(), peclet::flow::CutcellMG::setBoundaryConditions(), peclet::flow::CutcellMG::setRepartition(), peclet::flow::CutcellMG::setTelescope(), and peclet::flow::CutcellMG::setTelescopeForceLevel().
Referenced by solveSteps().
|
static |
Definition at line 149 of file test_bottom_direct_mpi.cpp.
References peclet::flow::CutcellMG::coarsestGlobal(), configure(), CutcellMG::Level::ext, fillScene(), peclet::flow::CutcellMG::level(), peclet::flow::CutcellMG::localLevels(), CutcellMG::Level::og, peclet::flow::CutcellMG::repartitionCount(), peclet::flow::CutcellMG::setBottomSolver(), peclet::flow::CutcellMG::setOpenness(), peclet::flow::CutcellMG::solvePCG(), STEPS, peclet::flow::CutcellMG::telescopeCount(), 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 180 of file test_bottom_direct_mpi.cpp.
References cg(), fluidCell(), G, CutcellMG::kBottomAlgebraic, CutcellMG::kBottomDirect, solveSteps(), and STEPS.
|
staticconstexpr |
Definition at line 48 of file test_bottom_direct_mpi.cpp.
Referenced by cg(), compare(), compareBlock(), evalSharp(), evalT(), peclet::flow::sco::facetCoefficients(), fillScene(), fillScene(), fillSource(), fillSource(), fillSource(), exact_apertures_spheres::Fquad(), hostRecord(), initTG(), main(), main(), periodicFill(), runCase(), setupAndSolve(), and solveSteps().
|
staticconstexpr |
Definition at line 49 of file test_bottom_direct_mpi.cpp.