Skip to content

Commit

Permalink
input files for paper
Browse files Browse the repository at this point in the history
  • Loading branch information
plkinon committed Nov 4, 2022
1 parent 7059dec commit 54af28b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 157 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

%% Integrator
% Name of routine in /classes/Integrator
INTEGRATOR = 'EMS_ggl';
INTEGRATOR = 'GGL_VI_theta_A';
% Parameters of the method
INT_PARA = [NaN, NaN];
INT_PARA = [0.5, NaN];
% time step size
DT = 0.25;
DT = 0.05;
% starting time
T_0 = 0;
% end time
T_END = 100;
T_END = 1;

%% Solver Method
% maximum number of iterations of Newton Rhapson method
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions start_metis_error_analysis.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
addpath(genpath(fileparts(which(mfilename))));

% Metis creates a dummy simulation object, the system and solver from input-file
[dummy_simulation, system, dummy_integrator, solver] = Metis('input/published/paper_kinon_betsch_2022/heavy_top/error_analysis_heavy_top', 1, 1);
[dummy_simulation, system, dummy_integrator, solver] = Metis('input/published/NODY_kinon_betsch_schneider_2022/heavy_top/error_analysis_heavy_top', 1, 1);
% Check how many different timestepsizes and integrators are analyzed
n_DT = numel(dummy_simulation.ALL_DT);
n_INT = numel(dummy_simulation.ALL_INTEGRATOR);
Expand All @@ -40,7 +40,7 @@
for j = 1:n_INT

% Metis creates objects for current timestepsize and integrator
[current_simulation, ~, current_integrator, ~] = Metis('input/published/paper_kinon_betsch_2022/heavy_top/error_analysis_heavy_top', i, j);
[current_simulation, ~, current_integrator, ~] = Metis('input/published/NODY_kinon_betsch_schneider_2022/heavy_top/error_analysis_heavy_top', i, j);

%% METIS solver
% Solve system with solver and current integrator
Expand Down
2 changes: 1 addition & 1 deletion start_metis_single_analysis.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
% Add all subdirectories and to the current path
addpath(genpath(fileparts(which(mfilename))));
% Metis creates objects from input-file
[simulation, system, integrator, solver] = Metis('input/published/paper_kinon_betsch_2022/4P_system/single_analysis_4Psystem', 1, 1);
[simulation, system, integrator, solver] = Metis('input/published/NODY_kinon_betsch_schneider_2022/pendulum/single_analysis_pendulum', 1, 1);

%% METIS solver
% Solve system with chosen solver and integration scheme
Expand Down

0 comments on commit 54af28b

Please sign in to comment.