Static Public Member Functions | List of all members
asv::PhysicalConstants Class Reference

A collection of static methods to retrieve physical constants. More...

#include <PhysicalConstants.hh>

Static Public Member Functions

static double G ()
 Universal gravitational constant. More...
 
static double Gravity ()
 Uniform acceleration due to gravity at earth's surface (orientation is z-up). More...
 
static double WaterDensity ()
 Density of water. More...
 
static double WaterKinematicViscosity ()
 Kinematic viscosity of water at 18 dgree C. More...
 

Detailed Description

A collection of static methods to retrieve physical constants.

Definition at line 31 of file PhysicalConstants.hh.

Member Function Documentation

double asv::PhysicalConstants::G ( )
static

Universal gravitational constant.

Returns
6.67408E-11 [m3 kg-1 s-2].

Definition at line 29 of file PhysicalConstants.cc.

double asv::PhysicalConstants::Gravity ( )
static

Uniform acceleration due to gravity at earth's surface (orientation is z-up).

Returns
-9.8 [m s-2].

Definition at line 23 of file PhysicalConstants.cc.

double asv::PhysicalConstants::WaterDensity ( )
static

Density of water.

Returns
998.6 [kg m-3].

Definition at line 35 of file PhysicalConstants.cc.

double asv::PhysicalConstants::WaterKinematicViscosity ( )
static

Kinematic viscosity of water at 18 dgree C.

Source: https://www.engineeringtoolbox.com/water-dynamic-kinematic-viscosity-d_596.html

Returns
1.0533E-6 [m2 s-1].

Definition at line 41 of file PhysicalConstants.cc.


The documentation for this class was generated from the following files:


wave_gazebo_plugins
Author(s): Rhys Mainwaring
autogenerated on Thu May 7 2020 03:54:44