17#include <RefCountedPtr.H>
21#include <CD_NamespaceHeader.H>
37brentRootFinder(
const RefCountedPtr<BaseIF>& a_impFunc,
const RealVect& a_point1,
const RealVect& a_point2);
47brentSolve(
const Real a_point1,
const Real a_point2,
const std::function<Real(
const Real x)>& a_func)
noexcept;
50#include <CD_NamespaceFooter.H>
Agglomeration class for various useful polynomial routines.
Definition CD_PolyUtils.H:26
Real brentSolve(const Real a_point1, const Real a_point2, const std::function< Real(const Real x)> &a_func) noexcept
Compute the root of a function between two points. This is a 1D problem.
Definition CD_PolyUtils.cpp:169
RealVect brentRootFinder(const RefCountedPtr< BaseIF > &a_impFunc, const RealVect &a_point1, const RealVect &a_point2)
Compute the root of a function between two points. This is a 1D problem along the line.
Definition CD_PolyUtils.cpp:25