CADETProcess.solution.SolutionBase#
- class CADETProcess.solution.SolutionBase(name, time, solution, c_min)[source]#
Base class for solutions of component systems.
This class represents a solution of a component system at different time points. It provides several properties that allow access to information about the solution, such as the number of components, the total concentration, and the local purity.
Notes
This class is not meant to be used directly, but to be subclassed by specific solution types.
- Attributes:
- namestr
Name of the solution.
- timenp.ndarray
Array of time points.
- solutionnp.ndarray
Array of solution values.
- c_minfloat
Minimum concentration threshold, below which concentrations are considered zero.
- dimensionslist of str
Names of the dimensions in the solution.
Methods
Verify if all required parameters are set.
reset
()Reset component system, time, and solution arrays to their original values.
update
()Update the solution.
Update the transforms.