Class to store boundary template specifications. More...
#include <boundaryTemplates.H>
Public Member Functions | |
| 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 ®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. | |
| void | checkPatch (const word ®ionPrefix, const word &condition, const word &category, const word &patchType) const |
| Check that user supplied patch info is valid. | |
| bool | optionsRequired (const word ®ionPrefix, const word &category, const word &patchType) const |
| Return true if condition requires additional user options. | |
Class to store boundary template specifications.
Templates are typically stored centrally, and constructed hierarchically. The main use is to convert the (user) specified conditions into a form that can be inserted into each field file as dictionary entries.
Definition at line 47 of file boundaryTemplates.H.
Constructor.
References runTime.
| 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.