flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_distributed_mg.cpp File Reference
#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.

Classes

struct  Level
struct  DistMG

Typedefs

using CCConst
using CCExec
using CCField
using FPC
using FPV

Functions

static double source (int gx, int gy, int gz, IVec< kDim > gs)
int main (int argc, char **argv)

Variables

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

Typedef Documentation

◆ CCConst

Definition at line 27 of file mac_cutcell.hpp.

◆ CCExec

Definition at line 24 of file mac_cutcell.hpp.

◆ CCField

Definition at line 26 of file mac_cutcell.hpp.

◆ FPC

Definition at line 85 of file mac_cutcell_mg.hpp.

◆ FPV

Definition at line 84 of file mac_cutcell_mg.hpp.

Function Documentation

◆ source()

double source ( int gx,
int gy,
int gz,
IVec< kDim > gs )
static

Definition at line 42 of file test_distributed_mg.cpp.

Referenced by main().

◆ main()

Variable Documentation

◆ kDim

int kDim = 3
staticconstexpr

Definition at line 40 of file test_distributed_mg.cpp.

◆ G

int G = 1
static

◆ NLEV

int NLEV = 4
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::init().

◆ NVCYC

int NVCYC = 6
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by main(), and DistMG::solve().

◆ PRE

int PRE = 2
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::vcycle().

◆ POST

int POST = 2
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::vcycle().

◆ BOTTOM

int BOTTOM = 8
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::vcycle().