Simple random number generator.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
const cellShapeControl & cellShapeControls() const
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const backgroundMeshDecomposition & decomposition() const
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void splitLine(const line< point, point > &l, const scalar &pert, DynamicList< Vb::Point > &initialPoints) const
TypeName("rayShooting")
Runtime type information.
Switch randomiseInitialGrid_
Should the initial positions be randomised.
virtual List< Vb::Point > initialPoints() const
Return the initial points for the conformalVoronoiMesh.
const conformationSurfaces & geometryToConformTo() const
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for generating initial points for a conformalVoronoiMesh.
virtual ~rayShooting()
Destructor.
rayShooting(const dictionary &initialPointsDict, const Time &runTime, Random &rndGen, const conformationSurfaces &geometryToConformTo, const cellShapeControl &cellShapeControls, const autoPtr< backgroundMeshDecomposition > &decomposition)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalar randomPerturbationCoeff_
Randomise the initial positions by fraction of the initialCellSize_.