PolarGeometry 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::PolarGeometry Struct Reference
#include <geometry.hpp>
Collaboration diagram for pops::PolarGeometry:Public Member Functions | |
| POPS_HD Real | dr () const |
| POPS_HD Real | dtheta () const |
| POPS_HD Real | r_cell (int i) const |
| Radius at the CENTER of radial cell i (i = 0 -> r_min + dr/2). | |
| POPS_HD Real | r_face (int i) const |
| Radius at radial FACE i (face between cells i-1 and i; i = 0 -> r_min, i = nr -> r_max). | |
| POPS_HD Real | theta_cell (int j) const |
| Angle at the CENTER of azimuthal cell j (j = 0 -> dtheta/2). | |
| POPS_HD Real | theta_face (int j) const |
| Angle at azimuthal FACE j (face between cells j-1 and j). | |
| PolarGeometry | refine (int r) const |
Public Attributes | |
| Box2D | domain {} |
| nx() = nr (radial cells), ny() = ntheta (azimuthal cells) | |
| Real | r_min = 0 |
| Real | r_max = 1 |
| physical radial bounds of the ring | |
Static Public Attributes | |
| static constexpr Real | kTwoPi = Real(2) * Real(3.14159265358979323846) |
Member Function Documentation
◆ dr()
Here is the call graph for this function:
Here is the caller graph for this function:◆ dtheta()
Here is the call graph for this function:
Here is the caller graph for this function:◆ r_cell()
Radius at the CENTER of radial cell i (i = 0 -> r_min + dr/2).
Here is the call graph for this function:
Here is the caller graph for this function:◆ r_face()
Radius at radial FACE i (face between cells i-1 and i; i = 0 -> r_min, i = nr -> r_max).
Here is the call graph for this function:
Here is the caller graph for this function:◆ refine()
|
inline |
Here is the call graph for this function:◆ theta_cell()
Angle at the CENTER of azimuthal cell j (j = 0 -> dtheta/2).
Here is the call graph for this function:◆ theta_face()
Angle at azimuthal FACE j (face between cells j-1 and j).
Here is the call graph for this function:Member Data Documentation
◆ domain
| Box2D pops::PolarGeometry::domain {} |
nx() = nr (radial cells), ny() = ntheta (azimuthal cells)
◆ kTwoPi
◆ r_max
| Real pops::PolarGeometry::r_max = 1 |
physical radial bounds of the ring
◆ r_min
| Real pops::PolarGeometry::r_min = 0 |
The documentation for this struct was generated from the following file:
- include/pops/mesh/geometry/geometry.hpp
Generated by