#include <mpi.h>
#include <array>
#include <cmath>
#include <cstdio>
#include <Kokkos_Core.hpp>
#include <vector>
#include "mac_cutcell_mg.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.
|
| static double | source (int gx, int gy, int gz, IVec< kDim > gs) |
| |
| int | main (int argc, char **argv) |
| |
|
| static constexpr int | kDim = 3 |
| |
| static constexpr int | G = 1 |
| |
| static constexpr int | NLEV = 4 |
| |
| static constexpr int | NVCYC = 6 |
| |
| static constexpr int | PRE = 2 |
| |
| static constexpr int | POST = 2 |
| |
| static constexpr int | BOTTOM = 8 |
| |
◆ source()
| static double source |
( |
int |
gx, |
|
|
int |
gy, |
|
|
int |
gz, |
|
|
IVec< kDim > |
gs |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 179 of file test_distributed_mg.cpp.
References Level::e, G, DistMG::init(), DistMG::lv, Level::n, Level::og, DistMG::solve(), source(), peclet::flow::C3::x, Level::x, peclet::flow::C3::y, and peclet::flow::C3::z.
◆ kDim
◆ NLEV
◆ NVCYC
◆ PRE
◆ POST
◆ BOTTOM