flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
peclet_flow_fp32_problems Namespace Reference

Classes

struct  Problem

Functions

template<class V>
std::vector< typename V::non_const_value_type > toHost (const V &f)
CCField toDevice (const std::vector< double > &v, const char *name)
template<class Open, class Rho>
Problem makeProblem (const std::string &name, int nx, int ny, int nz, int levels, const int bc[6], Open open, Rho rho)
double clamp01 (double v)
Problem columnProblem ()
Problem cylProblem ()
Problem slabProblem (double ratio=1e3)
Problem packProblem ()
Problem boxProblem ()
void setUp (CutcellMG &mg, const Problem &P, int mode)
std::vector< double > rhsOf (const Problem &P)

Function Documentation

◆ toHost()

template<class V>
std::vector< typename V::non_const_value_type > peclet_flow_fp32_problems::toHost ( const V & f)
inline

Definition at line 20 of file mg_fp32_problems.hpp.

◆ toDevice()

CCField peclet_flow_fp32_problems::toDevice ( const std::vector< double > & v,
const char * name )
inline

Definition at line 24 of file mg_fp32_problems.hpp.

Referenced by main(), and setUp().

◆ makeProblem()

template<class Open, class Rho>
Problem peclet_flow_fp32_problems::makeProblem ( const std::string & name,
int nx,
int ny,
int nz,
int levels,
const int bc[6],
Open open,
Rho rho )
inline

Definition at line 46 of file mg_fp32_problems.hpp.

References wrap().

Referenced by boxProblem(), columnProblem(), cylProblem(), packProblem(), preset(), and slabProblem().

◆ clamp01()

double peclet_flow_fp32_problems::clamp01 ( double v)
inline

Definition at line 76 of file mg_fp32_problems.hpp.

Referenced by cylProblem(), packProblem(), and preset().

◆ columnProblem()

Problem peclet_flow_fp32_problems::columnProblem ( )
inline

Definition at line 80 of file mg_fp32_problems.hpp.

References makeProblem().

Referenced by main().

◆ cylProblem()

Problem peclet_flow_fp32_problems::cylProblem ( )
inline

Definition at line 95 of file mg_fp32_problems.hpp.

References clamp01(), makeProblem(), N, and R.

Referenced by main().

◆ slabProblem()

Problem peclet_flow_fp32_problems::slabProblem ( double ratio = 1e3)
inline

Definition at line 114 of file mg_fp32_problems.hpp.

References makeProblem().

Referenced by main().

◆ packProblem()

Problem peclet_flow_fp32_problems::packProblem ( )
inline

Definition at line 122 of file mg_fp32_problems.hpp.

References clamp01(), and makeProblem().

Referenced by main().

◆ boxProblem()

Problem peclet_flow_fp32_problems::boxProblem ( )
inline

Definition at line 149 of file mg_fp32_problems.hpp.

References makeProblem().

Referenced by main().

◆ setUp()

void peclet_flow_fp32_problems::setUp ( CutcellMG & mg,
const Problem & P,
int mode )
inline

◆ rhsOf()

std::vector< double > peclet_flow_fp32_problems::rhsOf ( const Problem & P)
inline

Definition at line 166 of file mg_fp32_problems.hpp.

Referenced by main().