Loading...
Searching...
No Matches
geometry_helper.hpp File Reference

Shared FV hex cell geometry: face-normal surface integrals, velocity fluxes, cell volume. More...

Go to the source code of this file.

Classes

struct  terra::fv::hex::operators::detail::GeometryHelper< ScalarT >
 Stateless geometry helper for a single FV hex cell. More...
 

Namespaces

namespace  terra
 
namespace  terra::fv
 
namespace  terra::fv::hex
 
namespace  terra::fv::hex::operators
 
namespace  terra::fv::hex::operators::detail
 

Detailed Description

Shared FV hex cell geometry: face-normal surface integrals, velocity fluxes, cell volume.

Used by both fct_advection.hpp (advection only) and advection_diffusion.hpp (advection + diffusion). Cell centers must have been initialised via fv::hex::initialize_cell_centers so that ghost layers hold valid neighbour values — required for the outward-normal sign check.