flow
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
 

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
 

Function Documentation

◆ source()

static 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()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ kDim

constexpr int kDim = 3
staticconstexpr

Definition at line 40 of file test_distributed_mg.cpp.

◆ G

constexpr int G = 1
static

◆ NLEV

constexpr int NLEV = 4
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::init().

◆ NVCYC

constexpr int NVCYC = 6
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::solve().

◆ PRE

constexpr int PRE = 2
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::vcycle().

◆ POST

constexpr int POST = 2
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::vcycle().

◆ BOTTOM

constexpr int BOTTOM = 8
static

Definition at line 40 of file test_distributed_mg.cpp.

Referenced by DistMG::vcycle().