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_twophase_jacobian () |
performing a test of the correct implementation of derivatives in TwoPhaseData class. | |
function OK = | testtwophasejacobian>check_two_phase (tpd, title_prefix) |
function [
OK , ok_mat ] = | testtwophasejacobian>check_jacobian (model, model_data, Utest, fun, jac_test, title, epsilon) |
function res = | testtwophasejacobian>s_conv_s_u_wrapper (model, model_data, S, U) |
performing a test of the correct implementation of derivatives in TwoPhaseData class.
Definition in file test_twophase_jacobian.m.
function OK = test_twophase_jacobian | ( | ) |
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_twophase_jacobian.m.