|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstdlib>#include <cstring>#include <Kokkos_Core.hpp>#include <vector>#include "flow_ibm.hpp"#include "peclet/core/common/types.hpp"#include "peclet/core/decomp/block_decomposer.hpp"Go to the source code of this file.
Typedefs | |
| using | Stag = peclet::flow::IbmSolver |
| using | Colo = peclet::flow::Solver<peclet::flow::Colocated> |
Functions | |
| static std::vector< double > | packingSdf (double rfrac) |
| template<class S> | |
| static void | configure (S &s, const std::vector< double > &lsdf, int matrixOrder, int rhsOrder) |
| static std::vector< double > | gatherGlobal (const std::vector< double > &local, int ox, int oy, int oz, int lnx, int lny, int lnz, int rank, int size) |
| static double | relErr (const std::vector< double > &a, const std::vector< double > &b) |
| template<class S> | |
| static int | runCase (const char *name, double rfrac, int mo, int ro, int rank, int size) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 15 |
| static constexpr double | RHO = 1.0 |
| static constexpr double | MU = 0.1 |
| static constexpr double | F = 1e-3 |
| static constexpr double | DT = 20.0 |
| using Stag = peclet::flow::IbmSolver |
Definition at line 37 of file test_ghost_projection_mpi.cpp.
Definition at line 38 of file test_ghost_projection_mpi.cpp.
|
static |
|
static |
|
static |
|
static |
Definition at line 115 of file test_ghost_projection_mpi.cpp.
References N.
Referenced by runCase().
|
static |
Definition at line 133 of file test_ghost_projection_mpi.cpp.
References configure(), gatherGlobal(), N, packingSdf(), relErr(), and STEPS.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 179 of file test_ghost_projection_mpi.cpp.
References runCase().
|
staticconstexpr |
Definition at line 40 of file test_ghost_projection_mpi.cpp.
|
static |
Definition at line 40 of file test_ghost_projection_mpi.cpp.
|
staticconstexpr |
Definition at line 41 of file test_ghost_projection_mpi.cpp.
Referenced by configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), rhoAt(), and runDropletAniso().
|
static |
Definition at line 41 of file test_ghost_projection_mpi.cpp.
Referenced by analyticError(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), main(), muAt(), perm(), run(), and runDropletAniso().
|
static |
Definition at line 41 of file test_ghost_projection_mpi.cpp.
Referenced by test_collocated_stability_guard.Path::_build(), peclet::flow::Colocated::advect(), peclet::flow::Staggered::advect(), peclet::flow::Colocated::advect_fou(), peclet::flow::Staggered::advect_fou(), peclet::flow::Colocated::advect_sou(), peclet::flow::Staggered::advect_sou(), peclet::flow::sco::advectionBands(), peclet::flow::sco::advectionResidual(), test_balanced_force_restart::build(), peclet::flow::buildGpOverlay(), peclet::flow::ccFor3(), peclet::flow::ccForRows3(), peclet::flow::ccReduce3(), peclet::flow::ccReduce3Lanes(), peclet::flow::ccdetail::ccRows3(), peclet::flow::ccSampleExt(), peclet::flow::coarsenOpenAvgCell(), configure(), configure(), configure(), configure(), configure(), configure(), configure(), peclet::flow::vof::VofBlockSet::debrisBatched(), vofscene::forEachExtended(), peclet::flow::vof::SharpGeom::forEachOwner(), test_collocated_stability_guard::g2(), peclet::flow::Solver< Grid >::hydroForceTorque(), peclet::flow::Solver< Grid >::hydroForceTorqueReaction(), peclet::flow::ccdetail::laneRow(), gsv1::layered_fractions(), main(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxes(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxesCapped(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxesCut(), peclet::flow::vof::MomentumConsistentAdvector::momentumFluxesCutCapped(), perm(), refusesMomentumBlocks(), test_collocated_stability_guard::restore(), test_balanced_force_restart::run(), peclet::flow::skr::scalarKernel(), test_collocated_stability_guard.Path::step(), peclet::flow::BottomKernel< FacReal >::teamMax(), peclet::flow::BottomKernel< FacReal >::teamSum(), peclet::flow::vof::WyAdvector::timedExchange(), peclet::flow::trilerp(), peclet::flow::vof::vofBatchDebrisSums(), peclet::flow::vof::vofBatchDebrisWrite(), peclet::flow::vof::vofDebrisActCount(), peclet::flow::vof::vofDebrisActEntry(), peclet::flow::vof::vofHostListFor(), peclet::flow::vof::vofHostRowFor(), peclet::flow::vof::vofSetOffsets(), and peclet::flow::vof::vofSetOffsets().
|
static |
Definition at line 41 of file test_ghost_projection_mpi.cpp.