|
| static constexpr int | cell_offset_x (int n) |
| |
| static constexpr int | cell_offset_y (int n) |
| |
| static constexpr int | cell_offset_r (int n) |
| |
| static constexpr WedgeContribution | contribution (const int hex_direction, const int wedge_id) |
| |
| static constexpr void | map_face (const int hex_direction, const int wedge_id, const double s, const double t, double &xi, double &eta, double &zeta, CrossProductType &cross_product_type) |
| |
| static void | compute_geometry (const grid::Grid3DDataVec< ScalarT, 3 > &grid, const grid::Grid2DDataScalar< ScalarT > &radii, const grid::Grid4DDataVec< ScalarT, 3 > &cell_centers, const grid::Grid4DDataVec< ScalarT, 3 > &vel_grid, const int local_subdomain_id, const int x_cell, const int y_cell, const int r_cell, ScalarT(&beta)[num_neighbors], ScalarT &M_ii, Vec3(&S_f)[num_neighbors]) |
| | Compute beta[6], M_ii, and S_f[6] for the cell at (x_cell, y_cell, r_cell).
|
| |
template<typename ScalarT>
struct terra::fv::hex::operators::detail::GeometryHelper< ScalarT >
Stateless geometry helper for a single FV hex cell.
Computes:
beta[6] : velocity flux ∫ u·n dS through each of the 6 faces (positive = outward).
M_ii : cell volume.
S_f[6] : area-weighted outward normal vector for each face (∫ n dS).
Neighbour ordering (faces 0..5): face 0: x-1 face 1: x+1 face 2: y-1 face 3: y+1 face 4: r-1 face 5: r+1