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

Classes

class  VelocityMG

Typedefs

using CCConst
using CCField
using FPC
using FPV

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 = 2
static constexpr int NLEV = 4
static constexpr int NVCYC = 6
static constexpr double IDIAG = 1.0
static constexpr double BETA = 0.2

Typedef Documentation

◆ CCConst

Definition at line 27 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< 3 > gs )
static

Definition at line 32 of file test_velocitymg_mpi.cpp.

Referenced by fillSource().

◆ fillSource()

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

Definition at line 37 of file test_velocitymg_mpi.cpp.

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

Referenced by main().

◆ main()

Variable Documentation

◆ G

int G = 2
staticconstexpr

Definition at line 30 of file test_velocitymg_mpi.cpp.

◆ NLEV

int NLEV = 4
static

Definition at line 30 of file test_velocitymg_mpi.cpp.

◆ NVCYC

int NVCYC = 6
static

Definition at line 30 of file test_velocitymg_mpi.cpp.

◆ IDIAG

double IDIAG = 1.0
staticconstexpr

Definition at line 31 of file test_velocitymg_mpi.cpp.

◆ BETA

double BETA = 0.2
static

Definition at line 31 of file test_velocitymg_mpi.cpp.