reduced basis construction with different methods More...
Go to the source code of this file.
Functions | |
function
detailed_data = | rb_basis_generation (model, detailed_data) |
reduced basis construction with different methods More... | |
reduced basis construction with different methods
Definition in file rb_basis_generation.m.
function detailed_data = rb_basis_generation | ( | model, | |
detailed_data | |||
) |
reduced basis construction with different methods
reduced basis construction with different methods. Performs computing and insertion of a field RB and RB_info into the detailed_data structure. detailed_data is assumed to contain the grid if required
model | model |
detailed_data | detailed data |
detailed_data | detailed data |
mu_names —
cell array of parameter-names mu_ranges —
cell array of parameter-intervals RB_generation_mode —
file_load
: simple loading of reduced basis from a filelagrangian
: simple snapshots without orthonormalizationPCA_trajectory
: simple detailed simulation and PCA of thePCA_trajectories
: simple detailed simulation and PCA of the trajectories with parameter vectors specified in model.RB_mu_listgreedy_uniform_fixed
: greedy algorithm based on a uniform cartesian parameter gridgreedy_log_uniform_fixed
: greedy algorithm based on a logarithmically uniform cartesian parameter gridgreedy_random_fixed
: greedy algorithm based on a uniformly distributed random parameter setgreedy_refined
: greedy algorithm based on a uniformly random parameter set with grid refinementmodel_RB_basisgen
: call individual model.RB_basisgennone
: skipping of basis generation use_generated_RB_basis —
use generated RB basis set_rb_in_detailed_data —
function detailed_data=f(detailed_data, newRB)
updating the reduced basis vectors stored in detailed_data
by assigning them to newRB
. RB_mu_list —
RB mu list get_dofs_from_sim_data —
function u=f(sim_data)
returning degrees of freedom stored in a sim_data
structure. PCA_fixspace —
PCA fixspace get_inner_product_matrix —
function W=f(model_data)
returning the mass matrix \(W\) for inner product computation \(\langle u,v \rangle = u^t W v\). RB_stop_Nmax —
RB stop Nmax training —
training RB_basisgen —
RB basisgen debug —
flag indicating wether debug output shall be turned onRB_basis_filename —
name of file, that contains precomputed reduced basis RB in file_load
mode RB_train_rand_seed —
set random seed for M_train generation in random mode RB_train_size —
number of training parameter vectors to ... generate in random-mode RB_numintervals —
vector indicating the number of intervals of the (coarse) grid in parameter spaceRB —
reduced basis columns 1,...,Nmax RB_info —
depending on generation method some detailed information RB_info.M_train —
RB info.M train RB_info.MMesh0 —
RB info.MMesh0 Definition at line 17 of file rb_basis_generation.m.