42 Foam::initialPointsMethod::initialPointsMethod
45 const dictionary& initialPointsDict,
48 const conformationSurfaces& geometryToConformTo,
49 const cellShapeControl& cellShapeControls,
50 const autoPtr<backgroundMeshDecomposition>& decomposition
53 dictionary(initialPointsDict),
56 geometryToConformTo_(geometryToConformTo),
57 cellShapeControls_(cellShapeControls),
58 decomposition_(decomposition),
59 detailsDict_(optionalSubDict(
type +
"Coeffs")),
60 minimumSurfaceDistanceCoeffSqr_
64 initialPointsDict.
get<scalar>(
"minimumSurfaceDistanceCoeff")
67 fixInitialPoints_(initialPointsDict.
get<
bool>(
"fixInitialPoints"))
75 const dictionary&
dict,
78 const conformationSurfaces& geometryToConformTo,
79 const cellShapeControl& cellShapeControls,
80 const autoPtr<backgroundMeshDecomposition>& decomposition
83 const word modelType(
dict.
get<word>(
"initialPointsMethod"));
85 Info<<
nl <<
"Selecting initialPointsMethod " << modelType <<
endl;
87 auto* ctorPtr = dictionaryConstructorTable(modelType);
94 "initialPointsMethod",
96 *dictionaryConstructorTablePtr_
101 autoPtr<initialPointsMethod>