Package parasol :: Module Plots_Cache' :: Class Plots_Cache
[hide private]
[frames] | no frames]

Class Plots_Cache

source code


Instance Methods [hide private]
 
__init__(self, PS, maxCache=100000)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
funcCall(self, *dvL)
Treats ParametricSoln object like a function call as defined in setUpForFuncCall (only used by Carpet plot routine)
source code
 
getResults(self, dump=0)
Either retrieve results from cache, or rerun model to get result vars Assume that the desVars have been set in PS to desired values
source code
 
getViolationXYLists(self) source code
 
restoreParasolState(self)
Restore design variables values from dvSavedD and call ParametricSoln model evaluate(), this is done to restore the last call to saveParasolState
source code
 
saveParasolState(self)
Save design variables values in dictionary, dvSavedD, so the state can be restored at a later time by restoreParasolState
source code
 
setUpForFuncCall(self, dvNameL=None, outNameL=None)
set up so that the ParametricSoln model can be called as a simple function by Carpet plot routine
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, PS, maxCache=100000)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

setUpForFuncCall(self, dvNameL=None, outNameL=None)

source code 
set up so that the ParametricSoln model can be called as a simple function
by Carpet plot routine

for example:
    setUpForFuncCall( dvL=['a','b'], outL=['x','y'])
    
 would set up for:
     x, y = self.funcCall( a, b )