|
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 <string>#include <vector>#include "flow_ibm.hpp"#include "peclet/core/common/types.hpp"Go to the source code of this file.
Classes | |
| struct | Grid3 |
Typedefs | |
| using | Row = CutcellMG::PlanRow |
Functions | |
| static bool | sameRow (const Row &a, const Row &b) |
| static void | printRows (const char *tag, const std::vector< Row > &rows) |
| static bool | compare (const char *what, const std::vector< Row > &built, const std::vector< Row > &predicted, int rank) |
| static std::vector< peclet::core::Real > | weights (int kind, Grid3 g) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | LEVELS = 8 |
| static constexpr int | MIN_EXTENT = 4 |
Definition at line 31 of file test_predict_weighted_mpi.cpp.
Definition at line 35 of file test_predict_weighted_mpi.cpp.
Referenced by compare().
Definition at line 43 of file test_predict_weighted_mpi.cpp.
|
static |
Definition at line 55 of file test_predict_weighted_mpi.cpp.
References printRows(), and sameRow().
Referenced by main().
Definition at line 82 of file test_predict_weighted_mpi.cpp.
Referenced by main(), and NB_MODULE().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 101 of file test_predict_weighted_mpi.cpp.
References compare(), LEVELS, MIN_EXTENT, printRows(), peclet::flow::Solver< Grid >::setDt(), peclet::flow::Solver< Grid >::setMu(), peclet::flow::Solver< Grid >::setPressureLevels(), peclet::flow::Solver< Grid >::setPressurePcg(), peclet::flow::Solver< Grid >::setRho(), peclet::flow::Solver< Grid >::setSolid(), and weights().
|
staticconstexpr |
Definition at line 33 of file test_predict_weighted_mpi.cpp.
Referenced by main().
|
static |
Definition at line 33 of file test_predict_weighted_mpi.cpp.
Referenced by main().