1 classdef EILeafNode < Greedy.DataTree.Detailed.ILeafNode
2 % detailed data node implementation storing a collateral reduced basis space
3 % and interpolation DOFs
6 % a unique identifier
for the parameterized
function or
operator
9 % the collateral reduced basis functions `q_m`
12 % the interpolation DOFs `\tau^{EI}_m`
15 % the interpolation matrix `{\bf B}`
18 % nodal basis functions `\xi_m`
22 % interpolation basis was generated.
26 properties (SetAccess =
private, Dependent)
27 % dimension of the collateral reduced basis space
32 function eidd =
EILeafNode(ei_plugin, model_data)
33 %
function eidd =
EILeafNode(eidetailed, model_data)
34 % constructor initializing the empirical interpolation data node
37 % ei_plugin: the plugin
object of type Greedy.Plugin.EI creating
this
38 % detailed data data node
39 eidd = eidd@Greedy.DataTree.Detailed.
ILeafNode(model_data);
40 eidd.id = ei_plugin.id;
41 eidd.ophandle = ei_plugin.generator.ophandle;
44 function [ot1, ot2, ot3] = offtime(
this, rmodel)
45 % returns different offline time measurements
47 % dmodel = rbmodel.detailed_model;
48 % eigen = SnapshotsGenerator.SpaceOpEvals(dmodel);
50 % Mspace = info.M_train;
52 %
for muind = 1:size(Mspace, 1)
53 % set_mu( dmodel, Mspace(mu_ind,:) );
54 % [LU, tt] = generate(eigen, dmodel,
this);
59 ot2 = this.info.elapsed_time;
63 function M =
get.M(
this)
67 function siz = get_ei_size(
this)
68 siz = size(this.QM, 2);
71 function siz = get_rb_size(this)