STYLE: Minor corrections to comments/fix typos

This commit is contained in:
Andrew Heather
2017-06-23 12:13:46 +01:00
parent e6951da06f
commit 34a1a5dec2
3 changed files with 4 additions and 4 deletions

View File

@ -248,7 +248,7 @@ bool Foam::timeControl::execute()
default: default:
{ {
FatalErrorInFunction FatalErrorInFunction
<< "Undefined output control: " << "Undefined time control: "
<< timeControlNames_[timeControl_] << nl << timeControlNames_[timeControl_] << nl
<< abort(FatalError); << abort(FatalError);
break; break;

View File

@ -92,14 +92,14 @@ Usage
Where the entries comprise: Where the entries comprise:
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
type | type name: pressure | yes | type | type name: pressure | yes |
field | Name of the pressure field | no | p field | Name of the pressure field | no | p
U | Name of the velocity field | no | U U | Name of the velocity field | no | U
rho | Name of the density field | no | rho rho | Name of the density field | no | rho
result | Name of the resulting field | no | derived from p result | Name of the resulting field | no | derived from p
calcTotal | Calculate total coefficient | yes | calcTotal | Calculate total coefficient | yes |
pRef | Reference pressure for total pressure | no | 0 pRef | Reference pressure for total pressure | no | 0
calcCoeff | Calculate pressure coefficient | yes | calcCoeff | Calculate pressure coefficient | yes |
pInf | Freestream pressure for coefficient calculation | no | pInf | Freestream pressure for coefficient calculation | no |
UInf | Freestream velocity for coefficient calculation | no | UInf | Freestream velocity for coefficient calculation | no |
rhoInf | Freestream density for coefficient calculation | no | rhoInf | Freestream density for coefficient calculation | no |

View File

@ -274,7 +274,7 @@ public:
return R_(); return R_();
} }
//- Update and return the co-ordinate roation for a list of cells //- Update and return the co-ordinate rotation for a list of cells
const coordinateRotation& R const coordinateRotation& R
( (
const polyMesh& mesh, const polyMesh& mesh,