flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_cutcellmg_mpi.cpp File Reference
#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <Kokkos_Core.hpp>
#include "mac_cutcell_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.

Functions

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)
 

Variables

static constexpr int G = 1
 
static constexpr int NLEV = 4
 

Function Documentation

◆ source()

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

Definition at line 34 of file test_cutcellmg_mpi.cpp.

Referenced by fillSource().

◆ fillSource()

static void fillSource ( CCField  b,
C3  ext,
C3  og,
IVec< 3 >  gs 
)
static

Definition at line 40 of file test_cutcellmg_mpi.cpp.

References G, source(), peclet::flow::C3::x, peclet::flow::C3::y, and peclet::flow::C3::z.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ G

constexpr int G = 1
staticconstexpr

Definition at line 33 of file test_cutcellmg_mpi.cpp.

Referenced by fillSource(), initTG(), and main().

◆ NLEV

constexpr int NLEV = 4
static

Definition at line 33 of file test_cutcellmg_mpi.cpp.

Referenced by main().