flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
peclet::flow::Staggered Struct Reference

#include <grid_layout.hpp>

Static Public Member Functions

static constexpr Off3 offset (int c)
 
template<class A >
static double atVelocity (const A &f, long i, long s)
 
template<class A >
static double advect (int c, int x, int y, int z, A U, A V, A W, A F, bool)
 
template<class A >
static double advect_sou (int c, int x, int y, int z, A U, A V, A W, A F, bool)
 
template<class A >
static double advect_fou (int c, int x, int y, int z, A U, A V, A W, A F, bool)
 
template<class A >
static void fou_operator (int c, int x, int y, int z, A U, A V, A W, double dt, double &cC, double &cxm, double &cxp, double &cym, double &cyp, double &czm, double &czp, bool)
 

Static Public Attributes

static constexpr const char * name = "staggered"
 
static constexpr bool collocated = false
 

Detailed Description

Definition at line 35 of file grid_layout.hpp.

Member Function Documentation

◆ offset()

static constexpr Off3 peclet::flow::Staggered::offset ( int  c)
inlinestaticconstexpr

Definition at line 38 of file grid_layout.hpp.

◆ atVelocity()

template<class A >
static double peclet::flow::Staggered::atVelocity ( const A &  f,
long  i,
long  s 
)
inlinestatic

Definition at line 49 of file grid_layout.hpp.

◆ advect()

template<class A >
static double peclet::flow::Staggered::advect ( int  c,
int  x,
int  y,
int  z,
A  U,
A  V,
A  W,
A  F,
bool   
)
inlinestatic

Definition at line 56 of file grid_layout.hpp.

References sadv::advect(), F, and U.

◆ advect_sou()

template<class A >
static double peclet::flow::Staggered::advect_sou ( int  c,
int  x,
int  y,
int  z,
A  U,
A  V,
A  W,
A  F,
bool   
)
inlinestatic

Definition at line 61 of file grid_layout.hpp.

References sadv::advect_sou(), F, and U.

◆ advect_fou()

template<class A >
static double peclet::flow::Staggered::advect_fou ( int  c,
int  x,
int  y,
int  z,
A  U,
A  V,
A  W,
A  F,
bool   
)
inlinestatic

Definition at line 66 of file grid_layout.hpp.

References sadv::advect_fou(), F, and U.

◆ fou_operator()

template<class A >
static void peclet::flow::Staggered::fou_operator ( int  c,
int  x,
int  y,
int  z,
A  U,
A  V,
A  W,
double  dt,
double &  cC,
double &  cxm,
double &  cxp,
double &  cym,
double &  cyp,
double &  czm,
double &  czp,
bool   
)
inlinestatic

Definition at line 71 of file grid_layout.hpp.

References sadv::fou_operator(), and U.

Member Data Documentation

◆ name

constexpr const char* peclet::flow::Staggered::name = "staggered"
staticconstexpr

Definition at line 36 of file grid_layout.hpp.

◆ collocated

constexpr bool peclet::flow::Staggered::collocated = false
staticconstexpr

Definition at line 37 of file grid_layout.hpp.


The documentation for this struct was generated from the following file: