rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
step8_estimator_landscape.m File Reference

script generating landscapes plot data by computing the error estimator of reduced simulations for given test parameters over differing basis sizes. More...

Go to the source code of this file.

Functions

function  step8_estimator_landscape ()
 script generating landscapes plot data by computing the error estimator of reduced simulations for given test parameters over differing basis sizes. More...
 

Detailed Description

script generating landscapes plot data by computing the error estimator of reduced simulations for given test parameters over differing basis sizes.

Definition in file step8_estimator_landscape.m.

Function Documentation

function step8_estimator_landscape ( )

script generating landscapes plot data by computing the error estimator of reduced simulations for given test parameters over differing basis sizes.

The generated cell array output can later be visualized with plot_error_landscape().

required variables that need to be set
  • basis_gen
  • detailed_data
  • Nsize : number of reduced basis sizes to be tested.
  • Msize : number of colletaral reduced basis sizes to be tested.
  • Mstrich_samples : vector of values that are assigned to M' for plots where M' varies.
  • csample : vector of increasing values between 0 and 1 indicating a set of reduced basis sizes to be tested for coupled plots.
See also
couple_N_and_M_by_c() for more information.
  • cdescr : description text for coupled plots.
  • mu_set_size : default size of Regression tests parameter set.
  • model.RB_detailed_train_savepath : path to detailed simulations for train parameter set.
  • params.step8_outputfile : file name where the generated output structure is saved.
optional variables that can be set
  • estimator_plots : cell array of strings specifying which test cases shall be handled by the script. Possible choices are
    1. Mstrich_1_coupled – plot of error estimates over c, where c couples N and M by couple_N_and_M_by_c() and Mstrich is set to 1 .
    2. Mstrich_max_coupled – plot of error estimates over c, where c couples N and M by couple_N_and_M_by_c() and Mstrich is set to maximum value in Mstrich_samples.
    3. Mstrich_1 – landscape plot over N and M and Mstrich is set to 1.
    4. Mstrich_max – landscape plot over N and M and Mstrich is set to maximum value in array Mstrich_samples.
    5. Mmax_train – landscape plot over N and Mstrich with M set to maximum possible value for test parameter set used in reduced basis generation.
    6. coupled – landscape plot over c and Mstrich where c couples N and M by couple_N_and_M_by_c().
    7. Mmax – landscape plot over N and Mstrich with M set to maximum possible value.
    8. Nmax – landscape plot over M and Mstrich with N set to maximum reduced basis size.
             By default all estimator landscapes are selected.

Definition at line 17 of file step8_estimator_landscape.m.

Here is the call graph for this function:

Here is the caller graph for this function: