#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <Kokkos_Core.hpp>
#include "mac_velocity_mg.hpp"
#include "peclet/core/common/types.hpp"
#include "peclet/core/decomp/block_decomposer.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< 3 > gs) |
| static void | fillSource (CCField b, C3 ext, C3 og, IVec< 3 > gs) |
| int | main (int argc, char **argv) |
|
| static constexpr int | G = 2 |
| static constexpr int | NLEV = 4 |
| static constexpr int | NVCYC = 6 |
| static constexpr double | IDIAG = 1.0 |
| static constexpr double | BETA = 0.2 |
◆ CCConst
◆ CCField
◆ FPC
◆ FPV
◆ source()
| double source |
( |
int | gx, |
|
|
int | gy, |
|
|
int | gz, |
|
|
IVec< 3 > | gs ) |
|
static |
◆ fillSource()
| void fillSource |
( |
CCField | b, |
|
|
C3 | ext, |
|
|
C3 | og, |
|
|
IVec< 3 > | gs ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 49 of file test_velocitymg_mpi.cpp.
References AC, BETA, VelocityMG::Level::ext, fillSource(), G, IDIAG, peclet::flow::VelocityMG::level(), NLEV, NVCYC, VelocityMG::Level::og, peclet::flow::VelocityMG::setFineStencil(), peclet::flow::VelocityMG::setStaircase(), setupAndSolve(), peclet::flow::VelocityMG::solve(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.
◆ NLEV
◆ NVCYC
◆ IDIAG
◆ BETA