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

The map between the solver's INDEX coordinates and the coordinate system the analytic scene is written in. More...

#include <flow_ibm.hpp>

Public Attributes

double a [3] = {0.0, 0.0, 0.0}
 scene_a = a[a] + b[a]*xi_a (xi = global index)
 
double b [3] = {1.0, 1.0, 1.0}
 
double dToInt = 1.0
 scene signed distance -> index distance (1/hRef)
 
double velToInt [3] = {1.0, 1.0, 1.0}
 scene velocity -> index velocity
 
double angToInt = 1.0
 scene angular velocity -> index (omega*tRef)
 

Detailed Description

template<class Grid>
struct peclet::flow::Solver< Grid >::SceneMap

The map between the solver's INDEX coordinates and the coordinate system the analytic scene is written in.

A scene is in the caller's PHYSICAL coordinates once a domain is armed, and in the historical cell coordinates otherwise (cell centre (i,j,k) at exactly (i,j,k)) — hence the half-cell in a. Every field is exactly the identity in cell units, and the struct is captured BY VALUE into device kernels (no Solver state on device).

Definition at line 241 of file flow_ibm.hpp.

Member Data Documentation

◆ a

template<class Grid >
double peclet::flow::Solver< Grid >::SceneMap::a[3] = {0.0, 0.0, 0.0}

◆ b

template<class Grid >
double peclet::flow::Solver< Grid >::SceneMap::b[3] = {1.0, 1.0, 1.0}

Definition at line 243 of file flow_ibm.hpp.

◆ dToInt

template<class Grid >
double peclet::flow::Solver< Grid >::SceneMap::dToInt = 1.0

scene signed distance -> index distance (1/hRef)

Definition at line 244 of file flow_ibm.hpp.

◆ velToInt

template<class Grid >
double peclet::flow::Solver< Grid >::SceneMap::velToInt[3] = {1.0, 1.0, 1.0}

scene velocity -> index velocity

Definition at line 245 of file flow_ibm.hpp.

◆ angToInt

template<class Grid >
double peclet::flow::Solver< Grid >::SceneMap::angToInt = 1.0

scene angular velocity -> index (omega*tRef)

Definition at line 246 of file flow_ibm.hpp.


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