11 case 1 % detailed simulations and plot
13 model = nonlin_symmetry_model(params);
14 model_data = gen_model_data(model);
16 model = set_mu(model,p);
17 sim_data = detailed_simulation(model, model_data);
19 plot_params.axis_equal = 1;
20 plot_params.title =
'linear flux';
23 model = set_mu(model,p);
24 plot_params.title =
'quadratic flux';
25 sim_data = detailed_simulation(model, model_data);
31 model = nonlin_symmetry_model(params);
32 model_data = gen_model_data(model);
33 %detailed_data = gen_detailed_data(model,model_data);
35 reduced_data = gen_reduced_data(model,detailed_data);
39 model = set_mu(model,p);
40 rb_sim_data = rb_simulation(model,reduced_data);
41 rb_sim_data = rb_reconstruction(model, detailed_data, rb_sim_data);
43 plot_params.axis_equal = 1;
44 plot_params.title =
'reduced simulation';
48 error(
'step unknown');
function nonlin_symmetry(step)
file performing RB steps for nonlin_symmetry model
function varargout = filecache_function(funcptr, varargin)
function used for file-caching other function calls.
function p = plot_sim_data(model, model_data, sim_data, plot_params)
function performing the plot of the simulation results as specified in model.