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

Go to the source code of this file.

Classes

struct  Scene
struct  Run
struct  C3
class  CutcellMG

Typedefs

using CCConst
using CCField

Functions

static int wrap (int a, int n)
static bool fluidCell (const Scene &sc, double cx, double cy, double cz)
static void fillScene (CCField ox, CCField oy, CCField oz, CCField b, C3 ext, C3 og, const Scene &sc)
static void configure (CutcellMG &mg, int force, bool repart)
static Run solveSteps (IVec< 3 > gs, int nlev, int force, bool repart, peclet::core::decomp::BlockDecomposer< 3 > *dec0, int engine)
int main (int argc, char **argv)

Variables

static constexpr int G = 1
static constexpr int STEPS = 6

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

◆ fluidCell()

bool fluidCell ( const Scene & sc,
double cx,
double cy,
double cz )
static

Definition at line 83 of file test_bottom_direct_mpi.cpp.

Referenced by fillScene(), and main().

◆ fillScene()

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

◆ configure()

◆ solveSteps()

◆ main()

int main ( int argc,
char ** argv )

Variable Documentation

◆ G

◆ STEPS

int STEPS = 6
staticconstexpr

Definition at line 49 of file test_bottom_direct_mpi.cpp.