|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstring>#include <Kokkos_Core.hpp>#include <map>#include <vector>#include "flow_ibm.hpp"#include "peclet/core/decomp/block_decomposer.hpp"Go to the source code of this file.
Classes | |
| struct | Host |
Macros | |
| #define | CHECK(cond) |
Typedefs | |
| using | IbmSolver = peclet::flow::IbmSolver |
Functions | |
| static bool | same (double a, double b) |
| static int | expectIndex (int i, int n, int bcLo, int bcHi) |
| static std::vector< double > | sphereSdf (const double c[3], double R) |
| static Host | hostRecord (IbmSolver &s, int nx, int ny, int nz) |
| static void | runCase (const char *label, const double c[3], double R, const int bc[6], int rank, int size) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | G = IbmSolver::G |
| static constexpr int | N = 32 |
| static int | failures = 0 |
| #define CHECK | ( | cond | ) |
Definition at line 33 of file test_scalar_cutcell_geometry_mpi.cpp.
| using IbmSolver = peclet::flow::IbmSolver |
Definition at line 27 of file test_scalar_cutcell_geometry_mpi.cpp.
|
static |
Definition at line 41 of file test_scalar_cutcell_geometry_mpi.cpp.
Referenced by main(), runCase(), peclet::flow::AndersonAccelerator< Grid >::step(), and peclet::flow::ScalarMG::wallKeep().
|
static |
Definition at line 45 of file test_scalar_cutcell_geometry_mpi.cpp.
Referenced by runCase().
|
static |
Definition at line 56 of file test_scalar_cutcell_geometry_mpi.cpp.
References N.
Definition at line 77 of file test_scalar_cutcell_geometry_mpi.cpp.
References G.
Referenced by runCase().
|
static |
Definition at line 127 of file test_scalar_cutcell_geometry_mpi.cpp.
References Host::byCell, CHECK, Host::ex, expectIndex(), Host::ey, Host::fdat, Host::fint, G, hostRecord(), Host::kappa, l3(), N, peclet::flow::scg::ScalarCutCensus::numUnknowns, same(), Host::sax, Host::say, Host::saz, peclet::flow::Solver< Grid >::scalarCutCensus(), peclet::flow::Solver< Grid >::setDomainBc(), peclet::flow::Solver< Grid >::setSolid(), sphereSdf(), and Host::unknown.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 247 of file test_scalar_cutcell_geometry_mpi.cpp.
|
staticconstexpr |
Definition at line 29 of file test_scalar_cutcell_geometry_mpi.cpp.
Referenced by hostRecord(), and runCase().
|
staticconstexpr |
Definition at line 30 of file test_scalar_cutcell_geometry_mpi.cpp.
Referenced by runCase(), and sphereSdf().
|
static |
Definition at line 32 of file test_scalar_cutcell_geometry_mpi.cpp.
Referenced by main().