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

Go to the source code of this file.

Typedefs

using IbmSolver = peclet::flow::IbmSolver
 

Functions

static double rhoAt (int gz)
 
static void run (IbmSolver &s, int ox, int oy, int oz, int lnx, int lny, int lnz, int forceLevel, bool telescope, std::vector< double > &u, std::vector< double > &p, int &teleCount)
 
int main (int argc, char **argv)
 

Variables

static constexpr int N = 32
 
static constexpr int STEPS = 4
 
static constexpr double RHO0 = 1.0
 
static constexpr double RATIO = 100.0
 
static constexpr double MU = 0.1
 
static constexpr double DT = 0.5
 
static constexpr double WIN = 0.05
 

Typedef Documentation

◆ IbmSolver

Function Documentation

◆ rhoAt()

static double rhoAt ( int  gz)
static

Definition at line 23 of file test_telescope_varrho_mpi.cpp.

References N, RATIO, and RHO0.

Referenced by run().

◆ run()

static void run ( IbmSolver &  s,
int  ox,
int  oy,
int  oz,
int  lnx,
int  lny,
int  lnz,
int  forceLevel,
bool  telescope,
std::vector< double > &  u,
std::vector< double > &  p,
int &  teleCount 
)
static

Definition at line 27 of file test_telescope_varrho_mpi.cpp.

References DT, MU, RHO0, rhoAt(), STEPS, and WIN.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 58 of file test_telescope_varrho_mpi.cpp.

References N, and run().

Variable Documentation

◆ N

constexpr int N = 32
staticconstexpr

Definition at line 20 of file test_telescope_varrho_mpi.cpp.

Referenced by main(), and rhoAt().

◆ STEPS

constexpr int STEPS = 4
static

Definition at line 20 of file test_telescope_varrho_mpi.cpp.

Referenced by run().

◆ RHO0

constexpr double RHO0 = 1.0
staticconstexpr

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by rhoAt(), and run().

◆ RATIO

constexpr double RATIO = 100.0
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by rhoAt().

◆ MU

constexpr double MU = 0.1
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by run().

◆ DT

constexpr double DT = 0.5
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by run().

◆ WIN

constexpr double WIN = 0.05
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by run().