rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
Functions
test_twophase_jacobian.m File Reference

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)
 

Detailed Description

performing a test of the correct implementation of derivatives in TwoPhaseData class.

Definition in file test_twophase_jacobian.m.

Function Documentation

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.

Return values
OK1, if test is OK, 0 otherwise

Definition at line 17 of file test_twophase_jacobian.m.