1 function model_data = gen_model_data(dmodel)
2 %
function model_data = gen_model_data(dmodel)
3 % method which produces all `H`-dependent data, that is required
for a detailed
4 % simulations and is independent of the parameter `\mu`.
6 % Generated fields of model_data:
7 % W : inner product weighting matrix
9 % Bernard Haasdonk 27.8.2009
13 model_data.grid = construct_grid(descr);
15 % I think
"inner_product_matrix_algorithm" should be replaced by mass_matrix,
16 % as the latter can be built generically by local_mass_matrix
17 %
function, e.g.
for ldg functions
18 %model_data.W = model.inner_product_matrix_algorithm(model, model_data);
19 % the following can, e.g. be set to fv_mass_matrix
20 model_data.W = descr.mass_matrix([], model_data.grid,[]);