PyFoam.Applications.CaseBuilderBackend module¶
Represents the actual CaseBuilder-File and other things that have to do with the Casebuilder
-
class
PyFoam.Applications.CaseBuilderBackend.
ArgWrapper
(el)[source]¶ Bases:
object
Wraps the argument element for convenient access
-
class
PyFoam.Applications.CaseBuilderBackend.
CaseBuilderDescriptionList
[source]¶ Bases:
object
Gets a list of the case-builder files found in the current path
-
class
PyFoam.Applications.CaseBuilderBackend.
CaseBuilderFile
(fName)[source]¶ Bases:
object
This class reads an XML-file that describes how to build a case and gives information about the case and if asked to builds the actual case
-
buildCase
(cName, args)[source]¶ Builds the case :param cName: The name of the case directory :param args: The arguments (as a dictionary)
-
getSingleElement
(parent, name, optional=False)[source]¶ Get an element and check that it is the only one :param parent: the parent element :param name: The name of the element
-