PyFoam.IPythonHelpers.Case module¶
Encapsulate a case and give convenient access to certain applications
-
class
PyFoam.IPythonHelpers.Case.
Case
(input)[source]¶ Bases:
object
This class is initialized with a path and gives access to reporting functions
-
_Case__callCaseReport
(region=None, level=3, **kwargs)¶ Helper function that does the actual calling of CaseReport and returning of the HTML-formatted output
-
_Case__getObjectName
(obj)¶
-
_Case__getStorageName
()¶
-
__dict__
= mappingproxy({'timeline': <function Case.timeline>, 'distributionSelector': <function Case.distributionSelector>, 'dimensions': <function Case.dimensions>, 'timelineInfo': <function Case.timelineInfo>, '__dict__': <attribute '__dict__' of 'Case' objects>, 'sampleTime': <function Case.sampleTime>, 'pickledData': <function Case.pickledData>, 'timelineSelector': <function Case.timelineSelector>, 'pickledPlotSelector': <function Case.pickledPlotSelector>, 'internalField': <function Case.internalField>, 'distribution': <function Case.distribution>, 'sampleSelector': <function Case.sampleSelector>, 'sampleInfo': <function Case.sampleInfo>, 'regions': <property object>, 'pickledPlots': <function Case.pickledPlots>, 'size': <function Case.size>, 'boundaryConditions': <function Case.boundaryConditions>, 'distributionInfo': <function Case.distributionInfo>, '_Case__callCaseReport': <function Case.__callCaseReport>, 'decomposition': <function Case.decomposition>, '__module__': 'PyFoam.IPythonHelpers.Case', 'longBoundaryConditions': <function Case.longBoundaryConditions>, 'relaxationFactors': <function Case.relaxationFactors>, '__init__': <function Case.__init__>, '__weakref__': <attribute '__weakref__' of 'Case' objects>, '__doc__': 'This class is initialized with a path and gives access to\n reporting functions\n\n ', 'path': <property object>, 'pickledDataSelector': <function Case.pickledDataSelector>, '_Case__getStorageName': <function Case.__getStorageName>, 'sampleField': <function Case.sampleField>, 'sol': <property object>, 'linearSolvers': <function Case.linearSolvers>, '_Case__getObjectName': <function Case.__getObjectName>, 'processorMatrix': <function Case.processorMatrix>})¶
-
__init__
(input)[source]¶ Parameters: input – either a SolutionDirectory-instance or a string with a pathname
-
__module__
= 'PyFoam.IPythonHelpers.Case'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
path
¶ The path to the solution
-
regions
¶ Regions in the case
-
sol
¶ The actual solution directory
-