Go to the documentation of this file.
33 pointToCell_(pToCell),
35 processedFieldName_(dict.name()),
36 operation_(dict.getVal<
word>(
"operation")),
37 includeMaskType_(dict.getVal<
word>(
"includeMask")),
38 threshold_(dict.getValOrSetMax<
int32>(
"threshold", 1))
69 fieldName =
"uniformField";
75 if( !
timeFolder.pointFieldFileGetType(fieldName, fieldType) )
86 "does not contain field keyword"<<
endl;
103 if(!getFieldType(dict,
timeFolder, fName, fType))
111 if( dictionaryvCtorSelector_.search(method) )
114 dictionaryvCtorSelector_[method]
115 (dict, pToCell, rep);
124 method <<
" dose not exist. \n"
125 <<
"Avaiable ones are: \n\n"
127 dictionaryvCtorSelector_
static uniquePtr< includeMask > create(const dictionary &dict, const word &opType, readFromTimeFolder &timeFolder)
#define fatalExit
Fatal exit.
static uniquePtr< processField > create(const dictionary &dict, pointRectCell &pToCell, repository &rep)
static bool getFieldType(const dictionary &dict, readFromTimeFolder &timeFolder, word &fieldName, word &fieldType)
iOstream & printKeys(iOstream &os, const wordHashMap< T > &m)
virtual word globalName() const
global name of entry, separated with dots
dictionary & subDictOrCreate(const word &keyword)
search for a sub-dict with keyword create a new sub-dict if not found and return a ref to it fatalExi...
iOstream & endl(iOstream &os)
Add newline and flush stream.
uniquePtr< includeMask > includeMask_
#define Yellow_Text(text)
bool containsDataEntry(const word &name) const
check if a data entry exist
Data entry to be used in dictionries.
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
word angleBracketsNames(const word &w1, const word &w2)
Output <w1,w2>
dataEntry & dataEntryRef(const word &keyword)
ref to a subdictioanry fatalExit if not found/not a dataEntry
processField(const dictionary &dict, pointRectCell &pToCell, repository &rep)
#define fatalError
Report a fatal error and exit the applicaiton.
T getVal(const word &keyword) const
get the value of data entry
bool isTwoPartEntry(dataEntry entry)
const word & firstPart() const
readFromTimeFolder timeFolder_
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...