flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
grid_layout.hpp File Reference

flow — GridLayout policy traits (placement of the velocity unknowns). More...

Go to the source code of this file.

Classes

struct  peclet::flow::Staggered
 
struct  peclet::flow::Colocated
 

Namespaces

namespace  peclet
 
namespace  peclet::flow
 

Detailed Description

flow — GridLayout policy traits (placement of the velocity unknowns).

The orchestrator peclet::flow::Solver<Grid> is templated on a GridLayout policy that supplies the grid-position-dependent pieces of the solver. Phase 1 of the collocated-grid plan (doc/flow_colocated_plan.md) factors out the single seam needed to keep the staggered path bit-identical: the per-component velocity sample offset that the cut-cell IBM overlay / openness / volume-fraction kernels are built at. The Staggered policy places u,v,w on the low (-x/-y/-z) faces; the future Colocated policy will place all three components at the cell center (offset 0) and add the face-averaging + approximate-projection hooks. Header-only, constexpr — no runtime cost.

Definition in file grid_layout.hpp.