PolarGridContext Struct ReferenceΒΆ

adc_cpp: pops::PolarGridContext Struct Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::PolarGridContext Struct Reference

POLAR mesh + transport BC + aux shared by a block's closures (counterpart of GridContext). More...

#include <block_builder_polar.hpp>

+ Collaboration diagram for pops::PolarGridContext:

Public Attributes

Box2D dom
 index domain (without ghost): nx() = nr, ny() = ntheta
 
BCRec bc
 BC: r (xlo/xhi) physical, theta (ylo/yhi) periodic.
 
PolarGeometry geom
 ring (r_min, r_max, dr, dtheta)
 
MultiFabaux = nullptr
 System's aux (phi, grad_r, grad_theta); NOT owned.
 

Detailed Description

POLAR mesh + transport BC + aux shared by a block's closures (counterpart of GridContext).

aux is NOT owned: it points to the System's aux (stable address). bc carries the radial BC (Foextrap = wall / outflow); theta is PERIODIC (handled by fill_ghosts via bc.ylo/yhi).

Member Data Documentation

◆ aux

MultiFab* pops::PolarGridContext::aux = nullptr

System's aux (phi, grad_r, grad_theta); NOT owned.

◆ bc

BCRec pops::PolarGridContext::bc

BC: r (xlo/xhi) physical, theta (ylo/yhi) periodic.

◆ dom

Box2D pops::PolarGridContext::dom

index domain (without ghost): nx() = nr, ny() = ntheta

◆ geom

PolarGeometry pops::PolarGridContext::geom

ring (r_min, r_max, dr, dtheta)


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