performing a test of the correct implementation of derivatives in TwoPhaseData class. More...
Go to the source code of this file.
Functions | |
function OK = | test_two_phase_datafunc () |
performing a test of the correct implementation of derivatives in TwoPhaseData class. | |
function OK = | testtwophasedatafunc>check_two_phase (tpd, title_prefix) |
function OK = | testtwophasedatafunc>check_convergence (f, df, tpd, descr, title) |
performing a test of the correct implementation of derivatives in TwoPhaseData class.
Definition in file test_two_phase_datafunc.m.
function OK = test_two_phase_datafunc | ( | ) |
performing a test of the correct implementation of derivatives in TwoPhaseData class.
It generates a simple 2x2
on which the gradients of the functions are computed numerically.
OK | 1 , if test is OK, 0 otherwise |
Definition at line 17 of file test_two_phase_datafunc.m.