flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_mg_stencil_halo_mpi.cpp File Reference
#include <mpi.h>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <Kokkos_Core.hpp>
#include <string>
#include <vector>
#include "mac_cutcell_mg.hpp"
#include "peclet/core/common/types.hpp"

Go to the source code of this file.

Classes

struct  Scene
struct  Case
struct  Run

Typedefs

using CCConst
using CCField

Functions

static int wrap (int a, int n)
static void fillScene (CCField ox, CCField oy, CCField oz, CCField b, C3 ext, C3 og, const Scene &sc)
static Run solveSteps (const Case &c, bool hookOff)
int main (int argc, char **argv)

Variables

static constexpr int G = 1
static constexpr int STEPS = 4

Typedef Documentation

◆ CCConst

Definition at line 27 of file mac_cutcell.hpp.

◆ CCField

Definition at line 26 of file mac_cutcell.hpp.

Function Documentation

◆ wrap()

int wrap ( int a,
int n )
static

Definition at line 44 of file test_mg_stencil_halo_mpi.cpp.

Referenced by fillScene().

◆ fillScene()

void fillScene ( CCField ox,
CCField oy,
CCField oz,
CCField b,
C3 ext,
C3 og,
const Scene & sc )
static

Definition at line 74 of file test_mg_stencil_halo_mpi.cpp.

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

Referenced by solveSteps().

◆ solveSteps()

◆ main()

int main ( int argc,
char ** argv )

Variable Documentation

◆ G

int G = 1
staticconstexpr

Definition at line 41 of file test_mg_stencil_halo_mpi.cpp.

◆ STEPS

int STEPS = 4
staticconstexpr

Definition at line 42 of file test_mg_stencil_halo_mpi.cpp.