adjust usage for a few applications to account for new style

This commit is contained in:
Mark Olesen
2009-12-09 10:19:53 +01:00
parent 8d0522633e
commit dd8f4f657a
5 changed files with 72 additions and 19 deletions

View File

@ -42,7 +42,7 @@ Usage
@param -region \<name\> \n
Specify an alternative mesh region.
@param -dict \<dictionary\> \n
@param -dict \<filename\> \n
Specify an alternative dictionary for the block mesh description.
\*---------------------------------------------------------------------------*/
@ -80,7 +80,7 @@ int main(int argc, char *argv[])
argList::addOption
(
"dict",
"NAME",
"file",
"specify an alternative dictionary for the blockMesh description"
);

View File

@ -142,12 +142,39 @@ void rotateFields(const Time& runTime, const tensor& T)
int main(int argc, char *argv[])
{
argList::addOption("translate", "vector");
argList::addOption("rotate", "(vector vector)");
argList::addOption("rollPitchYaw", "(roll pitch yaw)");
argList::addOption("yawPitchRoll", "(yaw pitch roll)");
argList::addOption
(
"translate",
"vector",
"translate by the specified <vector> - eg, '(1 0 0)'"
);
argList::addOption
(
"rotate",
"(vectorA vectorB)",
"transform in terms of a rotation between <vectorA> and <vectorB> "
"- eg, '( (1 0 0) (0 0 1) )'"
);
argList::addOption
(
"rollPitchYaw",
"vector",
"transform in terms of '( roll pitch yaw )' in degrees"
);
argList::addOption
(
"yawPitchRoll",
"vector",
"transform in terms of '( yaw pitch roll )' in degrees"
);
argList::addBoolOption("rotateFields");
argList::addOption("scale", "vector");
argList::addOption
(
"scale",
"vector",
"scale by the specified amount - eg, '(0.001 0.001 0.001)' for a "
"uniform [mm] to [m] scaling"
);
# include "setRootCase.H"
# include "createTime.H"