Skip to content
Snippets Groups Projects
Commit 0abc39a9 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Add constructor that only sets the solver parameter

parent 956de017
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -650,6 +650,12 @@ public: ...@@ -650,6 +650,12 @@ public:
constraintObstacles_(nullptr),constraintMatrix_(nullptr) constraintObstacles_(nullptr),constraintMatrix_(nullptr)
{} {}
/** \brief Constructor that only sets solver parameter. */
QuadraticIPOptSolver (field_type tolerance, int numIterations,
NumProc::VerbosityMode verbosity = NumProc::FULL)
: IterativeSolver<VectorType>(tolerance, numIterations, verbosity)
{}
/** \brief Constructor for a linear problem */ /** \brief Constructor for a linear problem */
QuadraticIPOptSolver (const MatrixType& hessian, QuadraticIPOptSolver (const MatrixType& hessian,
VectorType& x, VectorType& x,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment