Go to the source code of this file.
|
template<typename T , typename Functor > |
std::pair< T, T > | FluidPropertiesUtils::NewtonSolve (const T &x, const T &y, const Real z_initial_guess, const Real tolerance, const Functor &func, const std::string &caller_name, const unsigned int max_its=100) |
| NewtonSolve does a 1D Newton Solve to solve the equation y = f(x, z) for variable z. More...
|
|
template<typename T , typename Functor1 , typename Functor2 > |
void | FluidPropertiesUtils::NewtonSolve2D (const T &f, const T &g, const Real x0, const Real y0, T &x_final, T &y_final, const Real f_tol, const Real g_tol, const Functor1 &func1, const Functor2 &func2, const unsigned int max_its=100) |
| NewtonSolve2D does a 2D Newton Solve to solve for the x and y such that: f = func1(x, y) and g = func2(x, y). More...
|
|