rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
gen_model_data.m
1 function model_data = gen_model_data(dmodel)
2 % function model_data = gen_model_data(model)
3 % method which produces all `H`-dependent data, that is required for a detailed
4 % simulations and is independent of the parameter `\mu`.
5 %
6 % Generated fields of model_data:
7 % W : inner product weighting matrix
8 
9 ddescr = dmodel.descr;
10 
11 model_data.grid = construct_grid(ddescr);
12 
13 model_data.W = ddescr.inner_product_matrix_algorithm(ddescr, model_data);
14 
15 %if isequal(params.model_type, 'implicit_nonaffine_linear')
17 % [model_data.implicit_operator, model_data.implicit_constant ] = ...
18 % fv_operators_diff_implicit(model, model_data, [], []);
20 %end
function clear_all_caches()
This function clears the caches generated for caching of gradient data in evolution schemes...