-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_examples_lldp_fj.m
38 lines (32 loc) · 954 Bytes
/
run_examples_lldp_fj.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% This script generates the Tables 3-5 of [1] illustrating the performance
% of the codes LLDP1 and LLDP2 for different tolerances.
%
% [1] Jacobian-free Locally Linearized Runge-Kutta method of
% Dormand and Prince for large systems of differential equations
% by F.S. Naranjo-Noda and J.C. Jimenez
%
close all;
clear all;
abspath = which('run_examples_lldp_fj');
pos = strfind(abspath, filesep); pos = pos(end);
abspath = abspath(1:pos - 1);
cd(sprintf('%s%s%s',abspath,filesep,'..'));
s = [
[abspath,filesep,'..',filesep,'demo;']...,
[abspath,filesep,'..',filesep,'llint;']...,
[abspath,filesep,'Brusselator;']...,
[abspath,filesep,'Brusselator2D;']...,
[abspath,filesep,'Burgers;']...,
[abspath,filesep,'CUSP;']...,
[abspath,filesep,'DND;']...,
[abspath,filesep,'GrayScott2D;']...,
[abspath,filesep,'utiles;']
];
path(s,path);
initllPaths(true);
cusp_example;
bg_example;
br2d_example;
gs2d_example;
br_example;
dnd_example;