Skip to content
Snippets Groups Projects
Commit 918d1e45 authored by Patrick's avatar Patrick
Browse files

CHOLMOD: provide access to the cholmod_common object

This allows other implementations which are using the istl-cholmod wrapper
to set options and other paramters of the cholmod solver
parent b86fd33a
No related branches found
No related tags found
1 merge request!366CHOLMOD: provide access to the cholmod_common object
# Master (will become release 2.8) # Master (will become release 2.8)
- Added public access of the `cholmod_common` object in class `Cholmod`.
## Deprecations and removals ## Deprecations and removals
- Drop deprecated bindings of direct solver Pardiso. - Drop deprecated bindings of direct solver Pardiso.
......
...@@ -311,6 +311,16 @@ public: ...@@ -311,6 +311,16 @@ public:
return SolverCategory::Category::sequential; return SolverCategory::Category::sequential;
} }
/** \brief return a reference to the CHOLMOD common object for advanced option settings
*
* The CHOLMOD common object stores all parameters and options for the solver to run
* and can be modified in several ways, see CHOLMOD Userguide for further information
*/
cholmod_common& cholmodCommonObject()
{
return c_;
}
private: private:
// create a destrucable unique_ptr // create a destrucable unique_ptr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment