Implementation of a Greedy.User.IReducedDataNode storing reduced data depending on collateral reduced basis space information only (e.g. interpolation DOFs and a local grid).
Definition at line 18 of file EiReducedDataNode.m.
Public Member Functions | |
EiReducedDataNode (TwoPhaseFlow.ReducedModel rmodel,IDetailedData detailed_data) | |
constructor for the generation of the reduced data. More... | |
function conds = | get_conds () |
function yesno = | needs_subset_copy (TwoPhaseFlow.ReducedModel rmodel) |
Public Member Functions inherited from Greedy.User.IReducedDataNode | |
function
subset_reduced_data = | extract_reduced_data_subset (Greedy.User.IReducedModel rmodel) |
Changes the size of the offline data matrices. More... | |
Public Member Functions inherited from DataTree.ILeafNode | |
function
children = | length () |
Returns the number of children of the node. More... | |
function index = | get_index (dummy2, dummy3, dummy) |
Obtains the leaf index vector that best fits the child description given by the three arguments. More... | |
function this = | set (dummy2,DataTree.INode value) |
Sets a child at the given path in the tree hierarchy. More... | |
function data = | get (index) |
Access to a child of the current node. More... | |
function DataTree.ILeafNode node = | get_active_leaf (DataTree.IModel model, id) |
retuns the leaf element for the current IDetailedModel configuration. More... | |
function tree = | create_tree (creator, ids, mu_cube, tslice, basepath) |
Creates a new tree from a subtree specified by ids, parameter and time index regions. More... | |
Public Member Functions inherited from DataTree.INode | |
virtual function DataTree.INode tree = | create_tree (DataTree.ICreator creator, ids, mu_cube, tslice, basepath) |
Creates a new tree from a subtree specified by ids, parameter and time index regions. More... | |
virtual function this = | set (index, value) |
Sets a child at the given path in the tree hierarchy. More... | |
function | leaf_func (funcptr, ids, mu_cube, tslice) |
applies a function to all leafs of a DataTree More... | |
function tree = | create_scalar_tree (funcptr, ids, mu_cube, tslice) |
copies the current trees with different leafs. These leafs are computes by a function returning scalar values. More... | |
function
start_index = | traverse_start () |
Start iterator for a full traverse of the DataTree. More... | |
function
next_index = | traverse_next (this_index) |
iterator for a full traverse of the DataTree. More... | |
function
description = | get_active_leaf_description (IModel model, ids) |
returns an enumeration of all leaves' basepath index vectors with a description of their parents. More... | |
function
description = | get_leaf_description (ids, mu_cube, tslice) |
returns an enumeration of all leaves' basepath index vectors with a description of their parents. More... | |
function tstop = | index_valid_till (index) |
Returns the last valid time step index of a time slice. More... | |
function INode data = | get_by_description (id, mu, nt) |
A combination of get_index() and get() More... | |
function
active_leaf_index = | get_active_leaf_index (IModel model, id) |
retuns the leaf element index for the current IDetailedModel configuration. More... | |
function
DataTree.LeafNode active_leaf = | get_active_leaf (IModel model, id) |
retuns the leaf element for the current IDetailedModel configuration. More... | |
function | display (fn, basepath, name) |
overwrites the standard display method for DataTree objects More... | |
function lines = | disp_node (basepath, fn) |
returns a cell array of strings with information on the node. More... | |
Public Member Functions inherited from IReducedData | |
virtual function
IReducedData subset_reduced_data = | extract_reduced_data_subset (rmodel) |
Changes the size of the offline data matrices. More... | |
Public Attributes | |
BM | |
empirical interpolation matrix \({\bf B}\) More... | |
grid_local_ext | |
local grid with added neighbours such that a sparse evaluation of the empirically interpolated operators in the interpolation points is possible on this grid. More... | |
TM_local | |
indices of grid entities in the grid_local_ext structure where the interpolation points are situated. More... | |
TM_global | |
indices of grid entities in the the global grid structure where the interpolation points are situated. More... | |
Mmass | |
empirical interpolation mass matrix. More... | |
Mstrich = 0 | |
number of collateral reduced basis vectors used for error estimation. More... | |
::ILocalizedOperator | ophandle |
an object for which the empirical interpolation basis was generated. | |
id | |
gEI | |
gn_edges | |
gn_inner_edges | |
gn_boundary_edges | |
TM_global_args | |
TM_reduction_args = {""} | |
M | |
number of collateral reduced basis vectors stored in this data node. More... | |
grid | |
synonym for grid_local_ext More... | |
Public Attributes inherited from Greedy.User.IReducedDataNode | |
methods *function | rdn |
TwoPhaseFlow.EiReducedDataNode.EiReducedDataNode | ( | TwoPhaseFlow.ReducedModel | rmodel, |
IDetailedData | detailed_data | ||
) |
constructor for the generation of the reduced data.
rmodel | object specifying how the reduced simulations can be computed. |
detailed_data | object defining the basis generation algorithm and storage for storing high dimensional data, i.e. dependent on dimension \(H\). This data is necessary for detailed simulations, construction of online matrices, reduced_data and reconstruction of reduced simulations. |
Definition at line 153 of file EiReducedDataNode.m.
function yesno = TwoPhaseFlow.EiReducedDataNode.needs_subset_copy | ( | TwoPhaseFlow.ReducedModel | rmodel | ) |
TwoPhaseFlow.EiReducedDataNode.BM |
empirical interpolation matrix \({\bf B}\)
\[({\bf B})_{ij} = q_i(x_j)\]
for \(1 \leq i \leq j \leq N\) and vanish elsewhere.Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 30 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.grid |
synonym for grid_local_ext
Dependent
set to true. SetAccess = Private, GetAccess = Public
Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 137 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.grid_local_ext |
local grid with added neighbours such that a sparse evaluation of the empirically interpolated operators in the interpolation points is possible on this grid.
Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 40 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.M |
number of collateral reduced basis vectors stored in this data node.
Dependent
set to true. SetAccess = Private, GetAccess = Public
Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 123 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.Mmass |
empirical interpolation mass matrix.
\[({ \bf M })_{ij} = \int q_i q_j\]
for \(i,j=1,\ldots,M\)Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 70 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.Mstrich = 0 |
number of collateral reduced basis vectors used for error estimation.
Dependent
set to true. SetAccess = Private, GetAccess = Public
Default: 0
Definition at line 80 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.TM_global |
indices of grid entities in the the global grid structure where the interpolation points are situated.
Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 60 of file EiReducedDataNode.m.
TwoPhaseFlow.EiReducedDataNode.TM_local |
indices of grid entities in the grid_local_ext structure where the interpolation points are situated.
Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 50 of file EiReducedDataNode.m.