Default values are:
seidel
Default values are:
seidel
Default solver is seidel
Default values are:
seidel
The model
The name of the solver to use for the computation
(seidel
, jacobi
, gmres
, cgns
). Default is seidel
(if solverName
is unknown).
The tolerence of the solver (usually 1e-9)
The maximum nulber of iterations (usually around 1000, but depens on the model)
Call when the solver end either when the computation if done or when the user stop the solver.
Signature is cb(): void
Notification when an error is sent by the solver
Signature is cb(msg: string): void
Notification when a message is sent by the solver
Signature is cb(msg: string): void
Set the callback function to call to notify (i) the progress on the matrix allocation and construction, and (ii) the convergence of the solver.
Notification when a warning is sent by the solver
Signature is cb(msg: string): void
Force the memory to be release
Set the memory of the system to be released after each run or not (default is true)
Set the callback function to call to khnow if the user want to stop the computation.
The callback to pass with signature cb(): boolean
WARNING: This class is still a work in progress and some available solvers might not work as expected...
Create a special solver that can be reused any time if the remote, the boundary values of the surface discontinuities, the young modulus or the density are changed.
Available solvers are
seidel
(default),jacobi
,gmres
andcgns
.Basically, it avoids to rebuild the system matrix each time the remote stresses change, which is time consuming.
This class is meant to be used for superposition, for teaching purpose, or for investigating new ideas.
Usage