Peano
Loading...
Searching...
No Matches
applications::exahype2::ShallowWater::GulfOfMexico Namespace Reference

Functions

template<auto pointLonA, auto pointLatA, auto pointLonB, auto pointLatB>
static auto atmosphericPressure (const auto x, const auto y, const auto t, auto projectionFunctionForward, auto projectionFunctionInverse)
 Computes the moving atmospheric pressure disturbance for the Gulf of Mexico test case.
 

Function Documentation

◆ atmosphericPressure()

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
pointLonALongitude of path start point A [deg].
pointLatALatitude of path start point A [deg].
pointLonBLongitude of path end point B [deg].
pointLatBLatitude of path end point B [deg].
Parameters
xCartesian x-coordinate in projected space [m].
yCartesian y-coordinate in projected space [m].
tPhysical time [s].
projectionFunctionForwardCallable that maps (lon,lat) → (x,y) in the chosen projection.
projectionFunctionInverseCallable that maps (x,y) → (lon,lat) in the chosen projection.
Returns
Atmospheric pressure perturbation at (x,y,t) [Pa].