|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <array>#include <cmath>#include <cstdio>#include <Kokkos_Core.hpp>#include "mac_pressure.hpp"#include "peclet/core/common/types.hpp"#include "peclet/core/common/view.hpp"#include "peclet/core/decomp/block_decomposer.hpp"#include "peclet/core/halo/grid_halo.hpp"#include "peclet/core/halo/grid_halo_topology.hpp"Go to the source code of this file.
Classes | |
| struct | Reduce |
Typedefs | |
| using | OpV = Kokkos::View<double*, peclet::flow::CCMem> |
| using | CCConst |
| using | CCExec |
| using | CCField |
Functions | |
| static double | source (int gx, int gy, int gz, IVec< kDim > gs) |
| static void | axpy (CCField y, double a, CCConst x) |
| static void | aypx (CCField y, double a, CCConst x) |
| template<class Exch> | |
| static void | cg (CCField x, CCConst b, OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, C3 e, Exch &&exchange, const Reduce &red, long gCells, int iters) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | kDim = 3 |
| static constexpr int | G = 1 |
| static constexpr int | CGIT = 40 |
| using OpV = Kokkos::View<double*, peclet::flow::CCMem> |
Definition at line 35 of file test_distributed_pressure.cpp.
| using peclet::flow::CCConst |
Definition at line 27 of file mac_cutcell.hpp.
| using peclet::flow::CCExec |
Definition at line 24 of file mac_cutcell.hpp.
| using peclet::flow::CCField |
Definition at line 26 of file mac_cutcell.hpp.
|
static |
Definition at line 39 of file test_distributed_pressure.cpp.
Referenced by main().
Definition at line 105 of file test_distributed_pressure.cpp.
Referenced by cg().
Definition at line 114 of file test_distributed_pressure.cpp.
Referenced by cg().
|
static |
Definition at line 127 of file test_distributed_pressure.cpp.
References AC, axpy(), aypx(), Reduce::dot(), G, and Reduce::removeMean().
Referenced by main(), peclet::flow::vof::VofDynamicWetting::measure(), and peclet::flow::vof::WyAdvector::solidBandFillPassWetting().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 156 of file test_distributed_pressure.cpp.
References AC, peclet::flow::buildCutcellOp(), cg(), CGIT, G, N, source(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
|
staticconstexpr |
Definition at line 37 of file test_distributed_pressure.cpp.
|
static |
Definition at line 37 of file test_distributed_pressure.cpp.
Referenced by Reduce::dot(), Reduce::maxabs(), and Reduce::removeMean().
|
static |
Definition at line 37 of file test_distributed_pressure.cpp.
Referenced by main().