mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
27 lines
384 B
C
27 lines
384 B
C
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);
|
|
}
|