Go to the documentation of this file.
40 bool finished =
false;
48 if (
auto [it, inserted] = selctedIndices.insert(newInd); inserted)
63 for (
auto& ind : selctedIndices)
85 dict.subDict(
"randomPointsInfo")
96 begin_(dict.getVal<
uint32>(
"begin")),
97 end_(dict.getValOrSet(
"end",
pStruct.size())),
98 number_(dict.getValOrSet(
"number", 1))
108 <<
" number is greater than the interval defined by begine and end ["
#define fatalExit
Fatal exit.
#define warningInFunction
Report a warning.
void reserve(size_t cap)
Reserve capacity for vector Preserve the content.
uint32Vector selectedPoints_
T max(const internalField< T, MemorySpace > &iField)
std::set< Key, std::less< Key >, std::allocator< Key > > Set
virtual word globalName() const
global name of entry, separated with dots
selectorRandomPoints(const pointStructure &pStruct, const dictionary &dict)
iOstream & endl(iOstream &os)
Add newline and flush stream.
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
const pointStructure & pStruct() const
T min(const internalField< T, MemorySpace > &iField)
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
bool selectAllPointsInRange()