IGMBaseLib 1.0
Functions/Subroutines | Variables

igmcore_math Module Reference

This module provides some subroutines for performing basic numeric operations. More...

Functions/Subroutines

real(DP), public toRadians (angdeg)
 Converts an angle measured in degrees to an angle measured in radisns.
real(DP), public toDegrees (angrad)
 Converts an angle measured in radians to an angle measured in degrees.

Variables

real(DP), parameter, public PI = 3.1415926535897932d0
 Ratio of circle's circumference to its diameter.

Detailed Description

This module provides some subroutines for performing basic numeric operations.



Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??

Author:
Yuta Kawai

Function/Subroutine Documentation

real(DP),public igmcore_math::toDegrees ( real(DP),intent(in)  angrad)

Converts an angle measured in radians to an angle measured in degrees.

Parameters:
[in]angradAn angle, in radians.
Returns:
deg The measurement of the angle angdeg in degrees.

Definition at line 81 of file igmcore_math.f90.

real(DP),public igmcore_math::toRadians ( real(DP),intent(in)  angdeg)

Converts an angle measured in degrees to an angle measured in radisns.

Parameters:
[in]angdegAn angle, in degrees.
Returns:
rad The measurement of the angle angdeg in radians.

Definition at line 56 of file igmcore_math.f90.


Variable Documentation

real(DP),parameter,public igmcore_math::PI = 3.1415926535897932d0

Ratio of circle's circumference to its diameter.

Definition at line 33 of file igmcore_math.f90.

 All Classes Namespaces Files Functions Variables