chombo-discharge
CD_PolyUtils.H
Go to the documentation of this file.
1 /* chombo-discharge
2  * Copyright © 2021 SINTEF Energy Research.
3  * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4  */
5 
12 #ifndef CD_PolyUtils_H
13 #define CD_PolyUtils_H
14 
15 // Chombo includes
16 #include <RefCountedPtr.H>
17 #include <BaseIF.H>
18 
19 // Our includes
20 #include <CD_NamespaceHeader.H>
21 
25 namespace PolyUtils {
26 
34  RealVect
35  brentRootFinder(const RefCountedPtr<BaseIF>& a_impFunc, const RealVect& a_point1, const RealVect& a_point2);
36 } // namespace PolyUtils
37 
38 #include <CD_NamespaceFooter.H>
39 
40 #endif
Agglomeration class for various useful polynomial routines.
Definition: CD_PolyUtils.H:25
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:20