AbstractRootFinder< dim > Class Template Reference#
|
DiFfRG
|
Public Member Functions |
Protected Types |
Protected Member Functions |
Protected Attributes |
List of all members
DiFfRG::AbstractRootFinder< dim > Class Template Referenceabstract
#include <root_finding.hh>
Public Member Functions | |
| AbstractRootFinder (const FUN &f, const double abs_tol=1e-4, const int max_iter=1000) | |
| void | set_abs_tol (const double abs_tol) |
| void | set_max_iter (const uint max_iter) |
| uint | get_iter () const |
| std::array< double, dim > | search () |
Protected Types | |
| using | FUN = std::function<bool(const std::array<double, dim> &)> |
Protected Member Functions | |
| virtual std::array< double, dim > | search_impl ()=0 |
Protected Attributes | |
| FUN | f |
| double | abs_tol |
| uint | max_iter |
| uint | iter |
Member Typedef Documentation
◆ FUN
template<int dim>
|
protected |
Constructor & Destructor Documentation
◆ AbstractRootFinder()
template<int dim>
|
inline |
Member Function Documentation
◆ get_iter()
template<int dim>
|
inline |
◆ search()
template<int dim>
|
inline |
◆ search_impl()
template<int dim>
|
protectedpure virtual |
◆ set_abs_tol()
template<int dim>
|
inline |
◆ set_max_iter()
template<int dim>
|
inline |
Member Data Documentation
◆ abs_tol
template<int dim>
|
protected |
◆ f
template<int dim>
|
protected |
◆ iter
template<int dim>
|
protected |
◆ max_iter
template<int dim>
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/root_finding.hh
Generated by