mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: add input surface scaling (issue #514)
- surfaceFeatureExtract * dictionary "scale" entry - triSurface - triSurfaceLoader * optional scaleFactor on reading - surfaceAdd - surfaceBooleanFeatures - surfaceClean - surfaceCoarsen * scale option - surfaceTransformPoints, transformPoints * scale option as scalar or vector quantity
This commit is contained in:
@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
fileFormats::FIREMeshWriter::binary = !args.optionFound("ascii");
|
||||
|
||||
// default: rescale from [m] to [mm]
|
||||
// Default: no rescaling
|
||||
scalar scaleFactor = 1;
|
||||
if (args.optionReadIfPresent("scale", scaleFactor))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user