mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
minor cleanup on constants/
- removed/renamed one level of directories, not all constants are dimensioned
global/dimensionedConstants -> global/constants/
global/dimensionedConstants/constants/* -> global/constants/
- formatting and doxygen cleanup
- added degToRad() and radToDeg() inline functions (in mathematicalConstants)
removed equivalent degToRad() from engineTime
This commit is contained in:
@ -123,12 +123,6 @@ bool Foam::engineTime::read()
|
||||
}
|
||||
|
||||
|
||||
Foam::scalar Foam::engineTime::degToRad(const scalar deg) const
|
||||
{
|
||||
return constant::mathematical::pi*deg/180.0;
|
||||
}
|
||||
|
||||
|
||||
Foam::scalar Foam::engineTime::degToTime(const scalar theta) const
|
||||
{
|
||||
// 6 * rpm => deg/s
|
||||
|
||||
Reference in New Issue
Block a user