CADETProcess.processModel.discretization.MCTDiscretizationFV#
- class CADETProcess.processModel.discretization.MCTDiscretizationFV(spatial_method, ncol, use_analytic_jacobian, reconstruction)[source]#
Bases:
DiscretizationParametersBaseDiscretization parameters of the FV version of the MCT.
- Attributes:
- ncolUnsignedInteger, optional
Number of axial column discretization cells. Default is 100.
- use_analytic_jacobianBool, optional
If True, use analytically computed Jacobian matrix (faster). If False, use Jacobians generated by algorithmic differentiation (slower). Default is True.
- reconstructionSwitch, optional
Method for spatial reconstruction. Valid values are ‘WENO’ (Weighted Essentially Non-Oscillatory). Default is ‘WENO’.
- ncol#
Parameter descriptor for unsigned integer parameters.
- reconstruction#
Parameter that can be set to one of several predefined options.
- Attributes:
- validlist
List of valid options for the parameter.
Notes
Assign a value to this parameter from the valid list.
- spatial_method#
Parameter that is immutable once set.
- Attributes:
- valueAny
The immutable value of the parameter.
Notes
Once set, the value of a Constant parameter cannot be modified.
- use_analytic_jacobian#
Parameter descriptor constrained to boolean values.
Notes
This class also supports casting integers 0 and 1 to their boolean equivalents.