enable_expression_cache#
- SetupCircuit.enable_expression_cache(expressions, report_type='Fields', intrinsics='', isconvergence=True, isrelativeconvergence=True, conv_criteria=1)#
Enable a setup expression cache.
- Parameters:
- expressions
strorlist One or more formulas to add to the expression cache.
- report_type
strorlist,optional Type of the report for the expression. The default is
"Fields". If a list of expressions is supplied, a corresponding list of report types must be supplied.- intrinsics
strorlist,optional Intrinsic functions for the expressions. The default is
"". If a list of expressions is supplied, a corresponding list of intrinsic expressesions must be supplied.- isconvergencebool,
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.
- expressions
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oModule.EditSetup