mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
rewriting molConfig, renamed to mdInitiaise. Driving all creation of molecules from within moleculeCloud.
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
vector latticePosition;
|
||||
|
||||
vector globalPosition;
|
||||
|
||||
if (latticeStructure == "SC")
|
||||
{
|
||||
# include "SC.H"
|
||||
}
|
||||
|
||||
else if (latticeStructure == "FCC")
|
||||
{
|
||||
# include "FCC.H"
|
||||
}
|
||||
|
||||
else if (latticeStructure == "BCC")
|
||||
{
|
||||
# include "BCC.H"
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
FatalErrorIn("createPositions.H\n")
|
||||
<< "latticeStructure " << latticeStructure
|
||||
<< " not supported."
|
||||
<< abort(FatalError);
|
||||
}
|
||||
Reference in New Issue
Block a user