PyFoam.IPythonHelpers.Case module¶
Encapsulate a case and give convenient access to certain applications
-
class
PyFoam.IPythonHelpers.Case.Case(input)[source]¶ Bases:
objectThis 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({'sampleTime': <function Case.sampleTime>, 'timeline': <function Case.timeline>, 'sampleInfo': <function Case.sampleInfo>, 'distribution': <function Case.distribution>, 'path': <property object>, 'distributionSelector': <function Case.distributionSelector>, 'distributionInfo': <function Case.distributionInfo>, '__init__': <function Case.__init__>, 'pickledPlotSelector': <function Case.pickledPlotSelector>, 'longBoundaryConditions': <function Case.longBoundaryConditions>, 'pickledData': <function Case.pickledData>, 'sol': <property object>, 'timelineSelector': <function Case.timelineSelector>, 'pickledDataSelector': <function Case.pickledDataSelector>, 'decomposition': <function Case.decomposition>, 'relaxationFactors': <function Case.relaxationFactors>, 'pickledPlots': <function Case.pickledPlots>, '_Case__getObjectName': <function Case.__getObjectName>, '_Case__callCaseReport': <function Case.__callCaseReport>, '__module__': 'PyFoam.IPythonHelpers.Case', 'regions': <property object>, '_Case__getStorageName': <function Case.__getStorageName>, 'boundaryConditions': <function Case.boundaryConditions>, 'size': <function Case.size>, '__weakref__': <attribute '__weakref__' of 'Case' objects>, '__doc__': 'This class is initialized with a path and gives access to\n reporting functions\n\n ', '__dict__': <attribute '__dict__' of 'Case' objects>, 'internalField': <function Case.internalField>, 'sampleSelector': <function Case.sampleSelector>, 'sampleField': <function Case.sampleField>, 'processorMatrix': <function Case.processorMatrix>, 'linearSolvers': <function Case.linearSolvers>, 'timelineInfo': <function Case.timelineInfo>, 'dimensions': <function Case.dimensions>})¶
-
__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
-