Go to the source code of this file.
Functions | |
void | function_f1 (Real x1, Real x2, Real &z, Real &dzdx1, Real &dzdx2) |
void | function_f2 (Real x1, Real x2, Real &z, Real &dzdx1, Real &dzdx2) |
TEST (NewtonInversion, NewtonSolve) | |
Tests the implementation of Newton's method to find the roots of: a polynomial of x and y, with x constant f1(x, y) = y^2 - 3*y + 4*x + 2 a non-linear function of x and y, with x constant f2(x, y) = exp(x * y) + y * log(y) More... | |
void | function_g1 (Real x1, Real x2, Real &g, Real &dgdx1, Real &dgdx2) |
void | function_g2 (Real x1, Real x2, Real &g, Real &dgdx1, Real &dgdx2) |
void | function_g3 (Real x1, Real x2, Real &g, Real &dgdx1, Real &dgdx2) |
TEST (NewtonInversion, NewtonSolve2D) | |
Tests the implementation of Newton's method to find the roots of: 2D inversion problems, where we seek x1,x2 such that g_i(x1,x2)=y1, g_j(x1,x2)=y2 with the g_j functions chosen among: a 2D bilinear function g1(x,y) = y - 2x a 2D quadratic function g2(x,y) = y^2 + x^2 - 4*x*y + 2 a 2D nonlinear function g3(x,y) = exp(y) + x*log(x) More... | |
Definition at line 14 of file NewtonInversionTest.C.
Referenced by TEST().
Definition at line 68 of file NewtonInversionTest.C.
Referenced by TEST().
Definition at line 76 of file NewtonInversionTest.C.
Referenced by TEST().
TEST | ( | NewtonInversion | , |
NewtonSolve | |||
) |
Tests the implementation of Newton's method to find the roots of: a polynomial of x and y, with x constant f1(x, y) = y^2 - 3*y + 4*x + 2 a non-linear function of x and y, with x constant f2(x, y) = exp(x * y) + y * log(y)
Definition at line 36 of file NewtonInversionTest.C.
TEST | ( | NewtonInversion | , |
NewtonSolve2D | |||
) |
Tests the implementation of Newton's method to find the roots of: 2D inversion problems, where we seek x1,x2 such that g_i(x1,x2)=y1, g_j(x1,x2)=y2 with the g_j functions chosen among: a 2D bilinear function g1(x,y) = y - 2x a 2D quadratic function g2(x,y) = y^2 + x^2 - 4*x*y + 2 a 2D nonlinear function g3(x,y) = exp(y) + x*log(x)
Definition at line 102 of file NewtonInversionTest.C.