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

M_test,[savepath]) More...

Go to the source code of this file.

Functions

function
test_err = 
rb_test_indicator (model, detailed_data, reduced_data, M_test, savepath)
 M_test,[savepath]) More...
 

Detailed Description

M_test,[savepath])

Definition in file rb_test_indicator.m.

Function Documentation

function test_err = rb_test_indicator (   model,
  detailed_data,
  reduced_data,
  M_test,
  savepath 
)

M_test,[savepath])

function determining the test-error-indicators for the given set of vectors mu (columns in M_test) of the RB simulation with corresponding RB set. Either the true errors or the error-estimators are determined. If the true errors are wanted, these are produced into or read from the directory savepath. The offline_data is generated, if empty. The detailed data can be ommited if offline_data is available, and no true error is wanted

Parameters
modelmodel
detailed_datadetailed data
reduced_datareduced data
M_testM test
savepathsavepath
Return values
test_errtest err
Required fields of model:
  • RB_error_indicator —  error or estimator
  • error_algorithm —  in case of error mode, this algorithm is called for computing the error between a U and Uappr
  • get_rb_from_detailed_data —  function RB=f(detailed_data) returning the reduced basis vectors stored in a detailed_data structure.
  • rb_problem_type —  rb problem type
  • M —  M
  • reduced_data_subset —  reduced data subset
Required fields of detailed_data:
  • N —  N
  • QM —  QM
Generated fields of test_err:
  • estimator —  estimator
  • error —  error

Definition at line 17 of file rb_test_indicator.m.

Here is the caller graph for this function: