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

#include <grid_layout.hpp>

Static Public Member Functions

static constexpr Off3 offset (int)
 
template<class A >
static double atVelocity (const A &f, long i, long)
 
template<class A >
static double advect (int c, int x, int y, int z, A U, A V, A W, A F, bool uf)
 
template<class A >
static double advect_sou (int c, int x, int y, int z, A U, A V, A W, A F, bool uf)
 
template<class A >
static double advect_fou (int c, int x, int y, int z, A U, A V, A W, A F, bool uf)
 
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 uf)
 

Static Public Attributes

static constexpr const char * name = "colocated"
 
static constexpr bool collocated = true
 

Detailed Description

Definition at line 83 of file grid_layout.hpp.

Member Function Documentation

◆ offset()

static constexpr Off3 peclet::flow::Colocated::offset ( int  )
inlinestaticconstexpr

Definition at line 86 of file grid_layout.hpp.

◆ atVelocity()

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

Definition at line 89 of file grid_layout.hpp.

◆ advect()

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

Definition at line 96 of file grid_layout.hpp.

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

◆ advect_sou()

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

Definition at line 101 of file grid_layout.hpp.

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

◆ advect_fou()

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

Definition at line 106 of file grid_layout.hpp.

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

◆ fou_operator()

template<class A >
static void peclet::flow::Colocated::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  uf 
)
inlinestatic

Definition at line 111 of file grid_layout.hpp.

References cadv::fou_operator(), and U.

Member Data Documentation

◆ name

constexpr const char* peclet::flow::Colocated::name = "colocated"
staticconstexpr

Definition at line 84 of file grid_layout.hpp.

◆ collocated

constexpr bool peclet::flow::Colocated::collocated = true
staticconstexpr

Definition at line 85 of file grid_layout.hpp.


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