Go to the documentation of this file.
43 const dictionary& initialPointsDict,
46 const conformationSurfaces& geometryToConformTo,
47 const cellShapeControl& cellShapeControls,
48 const autoPtr<backgroundMeshDecomposition>& decomposition
62 randomiseInitialGrid_(detailsDict().
lookup(
"randomiseInitialGrid")),
63 randomPerturbationCoeff_
87 scalar x0 = bb.
min().
x();
88 scalar xR = bb.max().x() - x0;
91 scalar
y0 = bb.min().y();
92 scalar yR = bb.max().y() -
y0;
95 scalar z0 = bb.min().z();
96 scalar zR = bb.max().z() - z0;
108 for (
label i = 0; i < ni; i++)
110 for (
label j = 0; j < nj; j++)
124 x0 + (i + 0.5)*
delta.x(),
vectorField pointField
pointField is a vectorField.
const cellShapeControl & cellShapeControls() const
const backgroundMeshDecomposition & decomposition() const
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
static bool & parRun()
Is this a parallel run?
void cmptMin(FieldField< Field, typename FieldField< Field, Type >::cmptType > &cf, const FieldField< Field, Type > &f)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const conformationSurfaces & geometryToConformTo() const
dimensionedScalar y0(const dimensionedScalar &ds)
const point & min() const
Minimum describing the bounding box.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
scalar scalar01()
Scalar [0..1] (so including 0,1)
Macros for easy insertion into run-time selection tables.
Vector< scalar > vector
A scalar version of the templated Vector.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
scalar minimumSurfaceDistanceCoeffSqr_
Only allow the placement of initial points that are within the.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
const treeBoundBox & procBounds() const
Return the boundBox of this processor.
label k
Boltzmann constant.
vector point
Point is a vector.
defineTypeNameAndDebug(combustionModel, 0)
cachedRandom rndGen(label(0), -1)
stressControl lookup("compactNormalStress") >> compactNormalStress