enable_expression_cache#
- SetupMaxwell.enable_expression_cache(expressions, report_type='Fields', intrinsics='', isconvergence=True, isrelativeconvergence=True, conv_criteria=1, use_cache_for_pass=True, use_cache_for_freq=True)[source]#
Enable an expression cache.
- Parameters:
- expressions
str
orlist
One or more formulas to add to the expression cache.
- report_type
str
orlist
,optional
Type of the report for the expression. The default is
Fields
. If a list of expressions is supplied, supply a corresponding list of report types.- intrinsics
str
orlist
,optional
Intrinsic functions for the expressions. The default is
""
. If a list of expressions is supplied, a corresponding list of intrinsic functions must be supplied.- isconvergencebool or
str
orlist
,optional
Whether the expression is in the convergence criteria. The default is
True
. If a list of expressions is supplied, a corresponding list of Boolean values must be supplied.- isrelativeconvergencebool,
optional
The default is
True
.- conv_criteria
The default is
1
.- use_cache_for_passbool,
optional
Use cache for pass. Default value is
True
.- use_cache_for_freqbool,
optional
Use cache for frequency. Default value is
True
.
- expressions
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.EditSetup