template<typename VectorType = Vector<double>>
class SUNDIALS::KINSOL< VectorType >::AdditionalData
Additional parameters that can be passed to the KINSOL class.
Definition at line 211 of file kinsol.h.
template<typename VectorType >
Add all AdditionalData() parameters to the given ParameterHandler object. When the parameters are parsed from a file, the internal parameters are automatically updated.
The following parameters are declared:
set Maximum number of nonlinear iterations = 200
set Scaled step stopping tolerance = 0
subsection Fixed
point and Picard parameters
set Anderson acceleration subspace size = 5
subsection Linesearch parameters
set Maximum number of beta-condition failures = 0
subsection Newton parameters
set Maximum allowable scaled length of the Newton step = 0
set Maximum iterations without
matrix setup = 0
set Relative error
for different quotient computation = 0
SolutionStrategy strategy
__global__ void set(Number *val, const Number s, const size_type N)
@ matrix
Contents is actually a matrix.
double norm(const FEValuesBase< dim > &fe, const ArrayView< const std::vector< Tensor< 1, dim > > > &Du)
Point< spacedim > point(const gp_Pnt &p, const double tolerance=1e-10)
VectorType::value_type * end(VectorType &V)
These are one-to-one with the options you can pass at construction time.
The options you pass at construction time are set as default values in the ParameterHandler object prm
. You can later modify them by parsing a parameter file using prm
. The values of the parameter will be updated whenever the content of prm
is updated.
Make sure that this class lives longer than prm
. Undefined behavior will occur if you destroy this class, and then parse a parameter file using prm
.
Definition at line 84 of file kinsol.cc.
template<typename VectorType = Vector<double>>
Whether an initial call to the preconditioner or Jacobian setup function should be made or not.
A call to this function is useful when solving a sequence of problems, in which the final preconditioner or Jacobian value from one problem is to be used initially for the next problem.
Definition at line 356 of file kinsol.h.
template<typename VectorType = Vector<double>>
The maximum number of nonlinear iterations that can be performed between calls to the setup_jacobian() function.
If set to zero, default values provided by KINSOL will be used, and in practice this often means that KINSOL will re-use a Jacobian matrix computed in one iteration for later iterations.
Definition at line 366 of file kinsol.h.
template<typename VectorType = Vector<double>>
The relative error in computing \(F(u)\), which is used in the difference quotient approximation to the Jacobian matrix when the user does not supply a solve_jacobian_system_matrix() function.
If set to zero, default values provided by KINSOL will be used.
Definition at line 382 of file kinsol.h.