flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_full_stress_mpi.cpp File Reference
#include <mpi.h>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <Kokkos_Core.hpp>
#include <limits>
#include <vector>
#include "flow_ibm.hpp"
#include "full_stress.hpp"
#include "peclet/core/decomp/block_decomposer.hpp"

Go to the source code of this file.

Classes

struct  VarFaceProps

Typedefs

using CCConst
using CCField
using IbmSolver
using RegConst
using RegMask
 Per-component regular-node mask (§5.4): 1 = a velocity node with neither a solid nor a cut row.

Functions

static double urand (int id, int gx, int gy, int gz)
static double fieldValue (int id, int gx, int gy, int gz)
static std::vector< double > evalT (IbmSolver &s, const int o[3], const int ln[3], bool withReg)
int main (int argc, char **argv)

Variables

static constexpr int NX = 16
static constexpr int NY = 12
static constexpr int NZ = 8
static constexpr int G = IbmSolver::G

Typedef Documentation

◆ CCConst

Definition at line 27 of file mac_cutcell.hpp.

◆ CCField

Definition at line 26 of file mac_cutcell.hpp.

◆ IbmSolver

Definition at line 5663 of file flow_ibm.hpp.

◆ RegConst

Definition at line 37 of file full_stress.hpp.

◆ RegMask

Per-component regular-node mask (§5.4): 1 = a velocity node with neither a solid nor a cut row.

Read only on the solid path (kSolid).

Definition at line 36 of file full_stress.hpp.

Function Documentation

◆ urand()

double urand ( int id,
int gx,
int gy,
int gz )
static

Definition at line 45 of file test_full_stress_mpi.cpp.

References NX, NY, and NZ.

Referenced by fieldValue(), and p0bench::runP0().

◆ fieldValue()

double fieldValue ( int id,
int gx,
int gy,
int gz )
static

Definition at line 58 of file test_full_stress_mpi.cpp.

References urand().

Referenced by evalT().

◆ evalT()

◆ main()

int main ( int argc,
char ** argv )

Definition at line 142 of file test_full_stress_mpi.cpp.

References evalT(), maxAbs(), NX, NY, and NZ.

Variable Documentation

◆ NX

int NX = 16
staticconstexpr

Definition at line 41 of file test_full_stress_mpi.cpp.

◆ NY

int NY = 12
static

Definition at line 41 of file test_full_stress_mpi.cpp.

◆ NZ

int NZ = 8
static

Definition at line 41 of file test_full_stress_mpi.cpp.

◆ G

int G = IbmSolver::G
staticconstexpr

Definition at line 42 of file test_full_stress_mpi.cpp.