46 int main(
int argc,
char *argv[])
57 mesh.time().caseSystem(),
59 IOobject::MUST_READ_IF_MODIFIED,
65 if (Pstream::master())
67 Foam::cp(optDict.objectPath(), optDict.objectPath() +
".org");
72 const dictionary& movementDict =
73 optDict.subDict(
"optimisation").subDict(
"meshMovement");
76 autoPtr<optMeshMovement> movementPtr
79 movementPtr().getActiveDesignVariables();
82 dictionary& updateMethodDict =
83 optDict.subDict(
"optimisation").subDict(
"updateMethod");
87 dictionary& coeffsDict = updateMethodDict.subDictOrAdd(updMethod().
type());
90 "activeDesignVariables",
91 activeDesignVariables,
96 optDict.regIOobject::writeObject
98 IOstreamOption(IOstream::ASCII),