template<auto pointLonA, auto pointLatA, auto pointLonB, auto pointLatB>
| static auto applications::exahype2::ShallowWater::GulfOfMexico::atmosphericPressure |
( |
const auto | x, |
|
|
const auto | y, |
|
|
const auto | t, |
|
|
auto | projectionFunctionForward, |
|
|
auto | projectionFunctionInverse ) |
|
static |
Computes the moving atmospheric pressure disturbance for the Gulf of Mexico test case.
The pressure field is modelled as an asymmetric Gaussian pulse that travels along a great-circle–like path between two geographic points (A,B), defined in lon/lat. The function takes Cartesian model coordinates (x,y) in the Albers Equal-Area projection, maps them back to lon/lat, aligns the (A,B) path with a local x-axis, and evaluates the pressure profile in this rotated coordinate system.
- Template Parameters
-
| pointLonA | Longitude of path start point A [deg]. |
| pointLatA | Latitude of path start point A [deg]. |
| pointLonB | Longitude of path end point B [deg]. |
| pointLatB | Latitude of path end point B [deg]. |
- Parameters
-
| x | Cartesian x-coordinate in projected space [m]. |
| y | Cartesian y-coordinate in projected space [m]. |
| t | Physical time [s]. |
| projectionFunctionForward | Callable that maps (lon,lat) → (x,y) in the chosen projection. |
| projectionFunctionInverse | Callable that maps (x,y) → (lon,lat) in the chosen projection. |
- Returns
- Atmospheric pressure perturbation at (x,y,t) [Pa].