small script implementing a simple advection example for producing matrices to be used in the RB-DS framework Discretization with FV Functions. More...
Go to the source code of this file.
Functions | |
function | advection_fv_output (step) |
small script implementing a simple advection example for producing matrices to be used in the RB-DS framework Discretization with FV Functions. More... | |
function
ds_model = | advectionfvoutput>fast_model (params) |
function Acomp = | advectionfvoutput>A_components (model, model_data) |
function Acoeff = | advectionfvoutput>A_coefficients (model) |
function Bcomp = | advectionfvoutput>B_components (model, model_data) |
function Bcoeff = | advectionfvoutput>B_coefficients (model) |
small script implementing a simple advection example for producing matrices to be used in the RB-DS framework Discretization with FV Functions.
Definition in file advection_fv_output.m.
function advection_fv_output | ( | step | ) |
small script implementing a simple advection example for producing matrices to be used in the RB-DS framework Discretization with FV Functions.
mu_names = {vx_weight
,vy_weight
}; mu_ranges = [0,1]^2
step = 1; % initialization of model and plot of model data step = 2; % detailed simulation of lin_evol step = 2.5; % conversion to DS primal model, lin_ds detailed simulation step = 3; % conversion to DS primal model, DS detailed simulation and comparison with lin_evol step = 4 % compute several trajectories. step = 4.5 % compute reduced basis based on trajecories. step = 4.75 % comparison of detailed and reduced simulation step = 5 % figures of detailed simulations based on step 4 step = 6 % figures of reduced simuations based on step 4 step = 7 % time measurements based on step 4 step = 8; % compare original and accelerated ds_model step = 9; % generate greedy basis on subset of parameter domain step = 10; % reduced simulations and error plots step = 11; % test of matlab ode solver for resulting sparse system step = 12; % further plots for MCMDS paper
step | step |
Definition at line 17 of file advection_fv_output.m.