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

Functions

template<auto param>
static auto constant ()
 Returns the Coriolis parameter f for a given position.
 
template<auto f0, auto beta>
static auto betaPlane (const auto y)
 Returns the Coriolis parameter f for a given position.
 
template<auto omega>
static auto sphere (const auto latDeg)
 Returns the Coriolis parameter f for a given position.
 

Function Documentation

◆ betaPlane()

template<auto f0, auto beta>
static auto applications::exahype2::ShallowWater::coriolisForce::betaPlane ( const auto y)
static

Returns the Coriolis parameter f for a given position.

This function provides the β-plane approximation (linearly varying with y).

Parameters
yCartesian y-coordinate representing the north-south direction
Returns
The Coriolis parameter f at the given location

Definition at line 11 of file MeteotsunamiLaws.cpph.

◆ constant()

template<auto param>
static auto applications::exahype2::ShallowWater::coriolisForce::constant ( )
static

Returns the Coriolis parameter f for a given position.

This function provides the Coriolis parameter using the f-plane approximation (constant value).

Returns
The Coriolis parameter f at the given location

Definition at line 6 of file MeteotsunamiLaws.cpph.

◆ sphere()

template<auto omega>
static auto applications::exahype2::ShallowWater::coriolisForce::sphere ( const auto latDeg)
static

Returns the Coriolis parameter f for a given position.

The full spherical model, where the Coriolis parameter is computed as f = 2 * Ω * sin(φ). (φ = geographic latitude, Ω = Earth's rotation rate) ⇒ f varies with latitude.

Parameters
latgeographic latitude in [-pi, pi] rad
Returns
The Coriolis parameter f at the given location

Definition at line 16 of file MeteotsunamiLaws.cpph.