implementations.problem_classes.Auzinger_implicit module¶
- class auzinger(newton_maxiter=1e-12, newton_tol=100)[source]¶
Bases:
ProblemThis class implements the Auzinger equation [1] as initial value problem. The system of two ordinary differential equations (ODEs) is given by
\[\frac{d y_1 (t)}{dt} = -y_2 (t) + y_1 (t) (1 - y^2_1 (t) - y^2_2 (t)),\]\[\frac{d y_2 (t)}{dt} = y_1 (t) + 3 y_2 (t) (1 - y^2_1 (t) - y^2_2 (t))\]with initial condition \((y_1(t), y_2(t))^T = (1, 0)^T\) for \(t \in [0, 10]\). The exact solution of this problem is
\[(y_1(t), y_2(t))^T = (\cos(t), \sin(t))^T.\]- newton_maxiter¶
Maximum number of iterations for Newton’s method.
- Type:
int, optional
- newton_tol¶
Tolerance for Newton’s method to terminate.
- Type:
float, optional
References
- dtype_f¶
alias of
mesh
- dtype_u¶
alias of
mesh
- eval_f(u, t)[source]¶
Routine to compute the right-hand side of the problem for both components simultaneously.