3 % generate() method returns a detailed simulation.
6 function rbdg = Trajectories(dmodel,
id, force_delete, enable_caching)
7 % function rbdg = Trajectories(dmodel,
id [, force_delete, enable_caching])
8 % constructor for a snapshot generator creating trajectories of DOF
12 %
id: a unique
string identifier for this
object.
13 % force_delete:
boolean value indicating whether the cached data shall
14 % be automatically deleted if its inconsistent with the given
15 % 'dmodel'. (Default = 'true')
16 % enable_caching:
boolean value indicating whether the generated data
17 % shall be stored in a cache. (Default = 'true')
18 if nargin < 2 || isempty(
id)
32 methods (Access = protected)
33 function [U, opt_fields] = generate_impl(this, dmodel, detailed_data, fields)
38 sim_data = detailed_simulation(dmodel, detailed_data);
39 U = dmodel.get_dofs_from_sim_data(sim_data);
40 for i=1:length(fields)
41 opt_fields.(fields{i}) = sim_data.(fields{i});
Interface for the storage and generation of detailed data that can be used to build reduced basis fun...
Cacheable generators of detailed data snapshots.
This is the interface for a detailed model providing methods to compute high dimensional simulation s...