Calculations

namespace calculations
class Froude
#include <Froude.h>

Public Static Functions

static void getMaxFroude(tsunami_lab::setups::Setup *i_setup, t_idx i_domainSize, t_real i_stepSize, t_real &o_maxFroude, t_real &o_maxFroudePosition)

Gets the maximum Froude number within a given domain.

Author

Luca-Philipp Grumbach

Author

Richard Hofmann

Description

Froude number calculation

Parameters:
  • i_setup – setup for which the Froude number will be calculated for

  • i_domainSize – size of the domain in which the max Fraude number will be searched for

  • i_stepSize – accuracy of the data queries towards th setup

  • o_maxFroude – maximum Froude number output

  • o_maxFroudePosition – position of the maximum Froude number

static void getFroude(tsunami_lab::setups::Setup *i_setup, t_real i_position, t_real &o_Froude)

Gets the Fraude number for a specified location.

Parameters:
  • i_setup – setup for which the Froude number will be calculated for

  • i_position – location of the queried point

  • o_FroudeFroude number output

Private Static Attributes

static t_real constexpr m_g = 9.80665

gravity