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`.
6 % Generated fields of model_data:
7 % W : inner product weighting matrix
11 model_data.grid = construct_grid(ddescr);
13 model_data.W = ddescr.inner_product_matrix_algorithm(ddescr, model_data);
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, [], []);
function clear_all_caches()
This function clears the caches generated for caching of gradient data in evolution schemes...