Class to store boundary template specifications. More...
Public Member Functions | |
boundaryTemplates (const fileName &baseDir, const Time &runTime, const word &solverType) | |
Constructor. More... | |
const dictionary & | templates () const |
Return the dictionary of boundary templates. More... | |
dictionary | generatePatchDict (const word ®ionPrefix, const word &fieldName, const word &condition, const word &category, const word &patchType, const dictionary &conditionOptions) const |
Generate a dictionary representation of patch boundary condition. More... | |
void | checkPatch (const word ®ionPrefix, const word &condition, const word &category, const word &patchType) const |
Check that user supplied patch info is valid. More... | |
bool | optionsRequired (const word ®ionPrefix, const word &category, const word &patchType) const |
Return true if condition requires additional user options. More... | |
Private Attributes | |
dictionary | templates_ |
Dictionary of boundary templates. More... | |
dictionary | options_ |
Dictionary of boundary template options. More... | |
Class to store boundary template specifications.
Templates are typically stored centrally, and constructed in a hierarchical manner. The main use is to convert the (user) specified conditions into a form which can be inserted into each field file as dictionary entries.
Definition at line 53 of file boundaryTemplates.H.
boundaryTemplates | ( | const fileName & | baseDir, |
const Time & | runTime, | ||
const word & | solverType | ||
) |
Constructor.
const dictionary& templates | ( | ) | const |
Return the dictionary of boundary templates.
dictionary generatePatchDict | ( | const word & | regionPrefix, |
const word & | fieldName, | ||
const word & | condition, | ||
const word & | category, | ||
const word & | patchType, | ||
const dictionary & | conditionOptions | ||
) | const |
Generate a dictionary representation of patch boundary condition.
void checkPatch | ( | const word & | regionPrefix, |
const word & | condition, | ||
const word & | category, | ||
const word & | patchType | ||
) | const |
Check that user supplied patch info is valid.
bool optionsRequired | ( | const word & | regionPrefix, |
const word & | category, | ||
const word & | patchType | ||
) | const |
Return true if condition requires additional user options.
|
private |
Dictionary of boundary templates.
Definition at line 58 of file boundaryTemplates.H.
|
private |
Dictionary of boundary template options.
Definition at line 61 of file boundaryTemplates.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.