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

G.x at the centre of extended-block cell j (physical; cellCentres' formula, unwrapped). More...

#include <scalar_cutcell_operator.hpp>

Public Member Functions

double operator() (long j) const
 

Public Attributes

double G [3] = {0.0, 0.0, 0.0}
 the physical mean gradient (c/L)
 
double org [3] = {0.0, 0.0, 0.0}
 the physical lower corner of the global grid
 
double h [3] = {1.0, 1.0, 1.0}
 the physical cell size
 
long base [3] = {0, 0, 0}
 og_a - g: global index of extended-block index 0
 
long sy = 1
 
long sz = 1
 extended-block strides
 

Detailed Description

G.x at the centre of extended-block cell j (physical; cellCentres' formula, unwrapped).

Definition at line 1122 of file scalar_cutcell_operator.hpp.

Member Function Documentation

◆ operator()()

double peclet::flow::sco::MeanGradPosition::operator() ( long  j) const
inline

Definition at line 1128 of file scalar_cutcell_operator.hpp.

References base, G, h, org, sy, and sz.

Member Data Documentation

◆ G

double peclet::flow::sco::MeanGradPosition::G[3] = {0.0, 0.0, 0.0}

the physical mean gradient (c/L)

Definition at line 1123 of file scalar_cutcell_operator.hpp.

Referenced by operator()().

◆ org

double peclet::flow::sco::MeanGradPosition::org[3] = {0.0, 0.0, 0.0}

the physical lower corner of the global grid

Definition at line 1124 of file scalar_cutcell_operator.hpp.

Referenced by operator()().

◆ h

double peclet::flow::sco::MeanGradPosition::h[3] = {1.0, 1.0, 1.0}

◆ base

long peclet::flow::sco::MeanGradPosition::base[3] = {0, 0, 0}

og_a - g: global index of extended-block index 0

Definition at line 1126 of file scalar_cutcell_operator.hpp.

Referenced by operator()().

◆ sy

long peclet::flow::sco::MeanGradPosition::sy = 1

Definition at line 1127 of file scalar_cutcell_operator.hpp.

Referenced by operator()().

◆ sz

long peclet::flow::sco::MeanGradPosition::sz = 1

extended-block strides

Definition at line 1127 of file scalar_cutcell_operator.hpp.

Referenced by operator()().


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