cape.pyfun.options.runctlopts
: FUN3D run control options¶
Options interface for aspects of running a case of FUN3D. The settings
are read from the "RunControl"
of a JSON file, and the contents of
this section are written to case.json
within each run folder.
The FUN3D-specific options include adaptation settings and command-line
arguments for both nodet
and dual
.
- class cape.pyfun.options.runctlopts.DualOpts(*args, **kw)¶
Class for FUN3D
dual
settings- Call:
>>> opts = DualOpts(**kw)
- Inputs:
- kw:
dict
Raw options
- kw:
- Outputs:
- opts:
DualOpts
CLI options for
dual
from FUN3D
- opts:
- Versions:
2015-11-24
@ddalle
: Version 1.0 (dual
)2022-11-03
@ddalle
: Version 2.0; useoptdict
- get_dual_adapt(j=None, i=None, **kw)¶
Get whether to adapt when running FUN3D
dual
- Call:
>>> adapt = opts.get_dual_adapt(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- adapt: {
True
} |False
whether to adapt when running FUN3D
dual
- adapt: {
- get_dual_outer_loop_krylov(j=None, i=None, **kw)¶
Get option to use Krylov method in outer loop
- Call:
>>> outer_loop_krylov = opts.get_dual_outer_loop_krylov(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- outer_loop_krylov: {
True
} |False
option to use Krylov method in outer loop
- outer_loop_krylov: {
- get_dual_rad(j=None, i=None, **kw)¶
Get option to use residual adjoint dot product
- Call:
>>> rad = opts.get_dual_rad(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- rad: {
True
} |False
option to use residual adjoint dot product
- rad: {
- set_dual_adapt(v, j=None, mode=None)¶
Get whether to adapt when running FUN3D
dual
- Call:
>>> opts.set_dual_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- adapt: {
True
} |False
whether to adapt when running FUN3D
dual
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_dual_outer_loop_krylov(v, j=None, mode=None)¶
Get option to use Krylov method in outer loop
- Call:
>>> opts.set_dual_outer_loop_krylov(outer_loop_krylov, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- outer_loop_krylov: {
True
} |False
option to use Krylov method in outer loop
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_dual_rad(v, j=None, mode=None)¶
Get option to use residual adjoint dot product
- Call:
>>> opts.set_dual_rad(rad, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- rad: {
True
} |False
option to use residual adjoint dot product
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- class cape.pyfun.options.runctlopts.NodetOpts(*args, **kw)¶
Class for
nodet
settings- Call:
>>> opts = NodetOpts(**kw)
- Inputs:
- kw:
dict
Raw options
- kw:
- Outputs:
- opts:
NodetOpts
CLI options for
nodet
ormpi_nodet
- opts:
- Versions:
2015-11-24
@ddalle
: Version 1.0 (nodet
)2022-11-03
@ddalle
: Version 2.0; useoptdict
- get_nodet_adapt(j=None, i=None, **kw)¶
Get whether to run
nodet
in grid adaptation mode- Call:
>>> adapt = opts.get_nodet_adapt(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- adapt: {
None
} |True
|False
whether to run
nodet
in grid adaptation mode
- adapt: {
- get_nodet_animation_freq(j=None, i=None, **kw)¶
Get animation frequency for
nodet
- Call:
>>> animation_freq = opts.get_nodet_animation_freq(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- animation_freq: {
None
} |int
animation frequency for
nodet
- animation_freq: {
- get_nodet_plt_tecplot_output(j=None, i=None, **kw)¶
Get option to write
.plt
files- Call:
>>> plt_tecplot_output = opts.get_nodet_plt_tecplot_output(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- plt_tecplot_output: {
False
} |True
option to write
.plt
files
- plt_tecplot_output: {
- set_nodet_adapt(v, j=None, mode=None)¶
Get whether to run
nodet
in grid adaptation mode- Call:
>>> opts.set_nodet_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- adapt: {
None
} |True
|False
whether to run
nodet
in grid adaptation mode- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_nodet_animation_freq(v, j=None, mode=None)¶
Get animation frequency for
nodet
- Call:
>>> opts.set_nodet_animation_freq(animation_freq, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- animation_freq: {
None
} |int
animation frequency for
nodet
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_nodet_plt_tecplot_output(v, j=None, mode=None)¶
Get option to write
.plt
files- Call:
>>> opts.set_nodet_plt_tecplot_output(plt_tecplot_output, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- plt_tecplot_output: {
False
} |True
option to write
.plt
files- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- class cape.pyfun.options.runctlopts.RunControlOpts(*args, **kw)¶
FUN3D-specific “RunControl” options interface
- Call:
>>> opts = RunControl(**kw)
- Inputs:
- kw:
dict
Dictionary of “RunControl” settings
- kw:
- Outputs:
- opts:
Options
Options interface
- opts:
- Versions:
2015-09-28
@ddalle
: Version 1.02022-10-24
@ddalle
: Version 2.0
- get_AdaptMethod(j=None, i=None, **kw)¶
Get version of REFINE to use for adaptation
- Call:
>>> AdaptMethod = opts.get_AdaptMethod(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- AdaptMethod: {
'refine/one'
} |'refine/three'
version of REFINE to use for adaptation
- AdaptMethod: {
- get_AdaptPhase(j=None, i=None, **kw)¶
Get whether or not to adapt mesh at end of phase
- Call:
>>> AdaptPhase = opts.get_AdaptPhase(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- AdaptPhase: {
True
} |False
whether or not to adapt mesh at end of phase
- AdaptPhase: {
- get_AdaptationNumber(j=None)¶
Get the adaptation number for a given phase
- Call:
>>> nadapt = opts.get_AdaptationNumber(j=None)
- Inputs:
- opts:
cape.pyfun.options.Options
Options interface
- j: {
None
} |int
Phase number
- opts:
- Outputs:
- nadapt:
int
|None
Number of adaptations prior to phase j
- nadapt:
- Versions:
2015-12-31
@ddalle
: Version 1.02022-10-24
@ddalle
: Version 1.1; use PhaseSequence
- get_Adaptive(j=None, i=None, **kw)¶
Get whether or not to run adaptively
- Call:
>>> Adaptive = opts.get_Adaptive(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- Adaptive: {
False
} |True
whether or not to run adaptively
- Adaptive: {
- get_Dual(j=None, i=None, **kw)¶
Get whether or not to run all adaptations with adjoint
- Call:
>>> Dual = opts.get_Dual(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- Dual: {
False
} |True
whether or not to run all adaptations with adjoint
- Dual: {
- get_DualPhase(j=None, i=None, **kw)¶
Get whether or not to run phase in dual mode
- Call:
>>> DualPhase = opts.get_DualPhase(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- DualPhase: {
True
} |False
whether or not to run phase in dual mode
- DualPhase: {
- get_KeepRestarts(j=None, i=None, **kw)¶
Get whether or not to keep restart files
- Call:
>>> KeepRestarts = opts.get_KeepRestarts(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- KeepRestarts: {
False
} |True
whether or not to keep restart files
- KeepRestarts: {
- get_dual_adapt(j=None, i=None, **kw)¶
Get whether to adapt when running FUN3D
dual
- Call:
>>> adapt = opts.get_dual_adapt(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- adapt: {
True
} |False
whether to adapt when running FUN3D
dual
- adapt: {
- get_dual_outer_loop_krylov(j=None, i=None, **kw)¶
Get option to use Krylov method in outer loop
- Call:
>>> outer_loop_krylov = opts.get_dual_outer_loop_krylov(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- outer_loop_krylov: {
True
} |False
option to use Krylov method in outer loop
- outer_loop_krylov: {
- get_dual_rad(j=None, i=None, **kw)¶
Get option to use residual adjoint dot product
- Call:
>>> rad = opts.get_dual_rad(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- rad: {
True
} |False
option to use residual adjoint dot product
- rad: {
- get_nIterAdjoint(j=None, i=None, **kw)¶
Get number of iterations for adjoint solver
- Call:
>>> nIterAdjoint = opts.get_nIterAdjoint(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- nIterAdjoint: {
200
} |int
number of iterations for adjoint solver
- nIterAdjoint: {
- get_nodet_adapt(j=None, i=None, **kw)¶
Get whether to run
nodet
in grid adaptation mode- Call:
>>> adapt = opts.get_nodet_adapt(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- adapt: {
None
} |True
|False
whether to run
nodet
in grid adaptation mode
- adapt: {
- get_nodet_animation_freq(j=None, i=None, **kw)¶
Get animation frequency for
nodet
- Call:
>>> animation_freq = opts.get_nodet_animation_freq(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- animation_freq: {
None
} |int
animation frequency for
nodet
- animation_freq: {
- get_nodet_plt_tecplot_output(j=None, i=None, **kw)¶
Get option to write
.plt
files- Call:
>>> plt_tecplot_output = opts.get_nodet_plt_tecplot_output(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- plt_tecplot_output: {
False
} |True
option to write
.plt
files
- plt_tecplot_output: {
- get_refine_complexity(j=None, i=None, **kw)¶
Get value of option “complexity”
- Call:
>>> complexity = opts.get_refine_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- complexity: {
None
} |object
value of option “complexity”
- complexity: {
- get_refine_initial_complexity(j=None, i=None, **kw)¶
Get starting projected grid complexity
- Call:
>>> initial_complexity = opts.get_refine_initial_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- initial_complexity: {
None
} |str
starting projected grid complexity
- initial_complexity: {
- get_refine_input(j=None, i=None, **kw)¶
Get value of option “input”
- Call:
>>> input = opts.get_refine_input(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- input: {
None
} |object
value of option “input”
- input: {
- get_refine_interpolant(j=None, i=None, **kw)¶
Get value of option “interpolant”
- Call:
>>> interpolant = opts.get_refine_interpolant(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- interpolant: {
None
} |object
value of option “interpolant”
- interpolant: {
- get_refine_mapbc(j=None, i=None, **kw)¶
Get value of option “mapbc”
- Call:
>>> mapbc = opts.get_refine_mapbc(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- mapbc: {
None
} |object
value of option “mapbc”
- mapbc: {
- get_refine_output(j=None, i=None, **kw)¶
Get value of option “output”
- Call:
>>> output = opts.get_refine_output(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- output: {
None
} |object
value of option “output”
- output: {
- get_refine_ramp_complexity(j=None, i=None, **kw)¶
Get amount to increase complexity between iterations
- Call:
>>> ramp_complexity = opts.get_refine_ramp_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- ramp_complexity: {
None
} |str
amount to increase complexity between iterations
- ramp_complexity: {
- get_refine_sweeps(j=None, i=None, **kw)¶
Get value of option “sweeps”
- Call:
>>> sweeps = opts.get_refine_sweeps(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- sweeps: {
5
} |object
value of option “sweeps”
- sweeps: {
- get_refine_target_complexity(j=None, i=None, **kw)¶
Get final complexity
- Call:
>>> target_complexity = opts.get_refine_target_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- j: {
None
} |int
Phase index; use
None
to just return v- i: {
None
} |int
|np.ndarray
opts.x index(es) to use with
@expr
,@map
, etc.- vdef: {
None
} |object
Manual default
- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- ring: {opts._optring[key]} |
True
|False
Override option to loop through phase inputs
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- x: {
None
} |dict
Ref conditions to use with
@expr
,@map
, etc.; often a run matrix; used in combination with i- sample: {
True
} |False
Apply j, i, and other settings recursively if output is a
list
ordict
- Outputs:
- target_complexity: {
None
} |str
final complexity
- target_complexity: {
- set_AdaptMethod(v, j=None, mode=None)¶
Get version of REFINE to use for adaptation
- Call:
>>> opts.set_AdaptMethod(AdaptMethod, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- AdaptMethod: {
'refine/one'
} |'refine/three'
version of REFINE to use for adaptation
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_AdaptPhase(v, j=None, mode=None)¶
Get whether or not to adapt mesh at end of phase
- Call:
>>> opts.set_AdaptPhase(AdaptPhase, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- AdaptPhase: {
True
} |False
whether or not to adapt mesh at end of phase
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_Adaptive(v, j=None, mode=None)¶
Get whether or not to run adaptively
- Call:
>>> opts.set_Adaptive(Adaptive, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- Adaptive: {
False
} |True
whether or not to run adaptively
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_Dual(v, j=None, mode=None)¶
Get whether or not to run all adaptations with adjoint
- Call:
>>> opts.set_Dual(Dual, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- Dual: {
False
} |True
whether or not to run all adaptations with adjoint
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_DualPhase(v, j=None, mode=None)¶
Get whether or not to run phase in dual mode
- Call:
>>> opts.set_DualPhase(DualPhase, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- DualPhase: {
True
} |False
whether or not to run phase in dual mode
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_KeepRestarts(v, j=None, mode=None)¶
Get whether or not to keep restart files
- Call:
>>> opts.set_KeepRestarts(KeepRestarts, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- KeepRestarts: {
False
} |True
whether or not to keep restart files
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_dual_adapt(v, j=None, mode=None)¶
Get whether to adapt when running FUN3D
dual
- Call:
>>> opts.set_dual_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- adapt: {
True
} |False
whether to adapt when running FUN3D
dual
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_dual_outer_loop_krylov(v, j=None, mode=None)¶
Get option to use Krylov method in outer loop
- Call:
>>> opts.set_dual_outer_loop_krylov(outer_loop_krylov, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- outer_loop_krylov: {
True
} |False
option to use Krylov method in outer loop
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_dual_rad(v, j=None, mode=None)¶
Get option to use residual adjoint dot product
- Call:
>>> opts.set_dual_rad(rad, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- rad: {
True
} |False
option to use residual adjoint dot product
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_nIterAdjoint(v, j=None, mode=None)¶
Get number of iterations for adjoint solver
- Call:
>>> opts.set_nIterAdjoint(nIterAdjoint, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- nIterAdjoint: {
200
} |int
number of iterations for adjoint solver
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_nodet_adapt(v, j=None, mode=None)¶
Get whether to run
nodet
in grid adaptation mode- Call:
>>> opts.set_nodet_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- adapt: {
None
} |True
|False
whether to run
nodet
in grid adaptation mode- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_nodet_animation_freq(v, j=None, mode=None)¶
Get animation frequency for
nodet
- Call:
>>> opts.set_nodet_animation_freq(animation_freq, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- animation_freq: {
None
} |int
animation frequency for
nodet
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_nodet_plt_tecplot_output(v, j=None, mode=None)¶
Get option to write
.plt
files- Call:
>>> opts.set_nodet_plt_tecplot_output(plt_tecplot_output, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- plt_tecplot_output: {
False
} |True
option to write
.plt
files- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_complexity(v, j=None, mode=None)¶
Get value of option “complexity”
- Call:
>>> opts.set_refine_complexity(complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- complexity: {
None
} |object
value of option “complexity”
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_initial_complexity(v, j=None, mode=None)¶
Get starting projected grid complexity
- Call:
>>> opts.set_refine_initial_complexity(initial_complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- initial_complexity: {
None
} |str
starting projected grid complexity
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_input(v, j=None, mode=None)¶
Get value of option “input”
- Call:
>>> opts.set_refine_input(input, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- input: {
None
} |object
value of option “input”
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_interpolant(v, j=None, mode=None)¶
Get value of option “interpolant”
- Call:
>>> opts.set_refine_interpolant(interpolant, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- interpolant: {
None
} |object
value of option “interpolant”
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_mapbc(v, j=None, mode=None)¶
Get value of option “mapbc”
- Call:
>>> opts.set_refine_mapbc(mapbc, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- mapbc: {
None
} |object
value of option “mapbc”
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_output(v, j=None, mode=None)¶
Get value of option “output”
- Call:
>>> opts.set_refine_output(output, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- output: {
None
} |object
value of option “output”
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_ramp_complexity(v, j=None, mode=None)¶
Get amount to increase complexity between iterations
- Call:
>>> opts.set_refine_ramp_complexity(ramp_complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- ramp_complexity: {
None
} |str
amount to increase complexity between iterations
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_sweeps(v, j=None, mode=None)¶
Get value of option “sweeps”
- Call:
>>> opts.set_refine_sweeps(sweeps, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- sweeps: {
5
} |object
value of option “sweeps”
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar
- set_refine_target_complexity(v, j=None, mode=None)¶
Get final complexity
- Call:
>>> opts.set_refine_target_complexity(target_complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineOpts
options interface
- target_complexity: {
None
} |str
final complexity
- j: {
None
} |int
Phase index; use
None
to just return v- mode: {
None
} |0
|1
|2
|3
Warning mode code
0
:no checks
1
:validate silently
2
:validate and show warnings
3
:raise an exception if invalid
- listdepth: {
0
} |int
> 0 Depth of list to treat as a scalar