run#
- AdvectionDiffusion.run(solver=None, x0=None, verbose=False)#
Builds the A and b matrices, and calls the solver specified in the
settings
attribute.This method stores the solution in the algorithm’s
soln
attribute as aSolutionContainer
object. The solution itself is stored in thex
attribute of the algorithm as a NumPy array.- Parameters:
x0 (ndarray) – Initial guess of unknown variable
- Return type:
None