ENH: Templated MolecularCloud.

This commit is contained in:
graham
2011-07-04 16:17:52 +01:00
parent aaad626afe
commit d3ddb37480
20 changed files with 667 additions and 303 deletions

View File

@ -12,6 +12,23 @@
mesh
);
potential pot(mesh);
word cloudName("polyatomicCloud");
polyatomicCloud molecules(mesh, pot);
potential pot
(
mesh,
IOdictionary
(
IOobject
(
cloudName + "Properties",
mesh.time().constant(),
mesh,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE,
false
)
)
);
polyatomicCloud molecules(cloudName, mesh, pot);