rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
List of all members | Public Member Functions
Greedy.DataTree.Reduced.IdMapNode Class Reference

Detailed Description

Definition at line 20 of file IdMapNode.m.

Inheritance diagram for Greedy.DataTree.Reduced.IdMapNode:
Inheritance graph
[legend]
Collaboration diagram for Greedy.DataTree.Reduced.IdMapNode:
Collaboration graph
[legend]

Public Member Functions

 IdMapNode (idmap, initvalues)
 
function yesno = needs_subset_copy (IReducedModel rmodel)
 
function
subset_reduced_data = 
extract_reduced_data_subset (IReducedModel rmodel)
 
function conds = get_conds ()
 computes condition numbers of reduced basis matrices
 
- 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.
 
- Public Member Functions inherited from DataTree.IdMapNode
 IdMapNode (idmap, initvalues, mergefun)
 constructor for an IdMapNode mapping the children nodes with "Id" tags.
 
function data = get (index)
 Access to a child of the current node.
 
function index = get_index (id, mu, nt)
 Obtains the leaf index vector that best fits the child description given by the three arguments.
 
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.
 
function this = set (i, value, mergefun)
 sets a new value at a specific child branch
 
function scalar = scalar (mergefun)
 reduces the data tree values with help of the mergefun
 
function ids = get_all_ids ()
 returns all "Id" strings in this IdMapNode.
 
function st = get_flat_struct ()
 makes a struct from the data tree with field names equal to the "Id" names.
 
function str = num2str ()
 converts the data tree into a string
 
function this = minus (scalar)
 substracts a scalar from each of the values in the data tree.
 
function  display ()
 prints out a string representation of the data tree.
 
- Public Member Functions inherited from DataTree.DefaultNode
function
children = 
length ()
 Returns the number of children of the node.
 
function this = set (index, value)
 Sets a child at the given path in the tree hierarchy.
 
- 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.
 
function  leaf_func (funcptr, ids, mu_cube, tslice)
 applies a function to all leafs of a DataTree
 
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.
 
function
start_index = 
traverse_start ()
 Start iterator for a full traverse of the DataTree.
 
function
next_index = 
traverse_next (this_index)
 iterator for a full traverse of the DataTree.
 
function
description = 
get_active_leaf_description (IModel model, ids)
 returns an enumeration of all leaves' basepath index vectors with a description of their parents.
 
function
description = 
get_leaf_description (ids, mu_cube, tslice)
 returns an enumeration of all leaves' basepath index vectors with a description of their parents.
 
function tstop = index_valid_till (index)
 Returns the last valid time step index of a time slice.
 
function INode data = get_by_description (id, mu, nt)
 A combination of get_index() and get()
 
function
active_leaf_index = 
get_active_leaf_index (IModel model, id)
 retuns the leaf element index for the current IDetailedModel configuration.
 
function DataTree.LeafNode
active_leaf = 
get_active_leaf (IModel model, id)
 retuns the leaf element for the current IDetailedModel configuration.
 
function  display (fn, basepath, name)
 overwrites the standard display method for DataTree objects
 
function lines = disp_node (basepath, fn)
 returns a cell array of strings with information on the node.
 

Additional Inherited Members

- Static Public Member Functions inherited from DataTree.IdMapNode
static function flatca = flatten_cell_array (ca)
 flattens a cell array, i.e. returns a cell without cell entries which are cell arrays by itself.
 
static function idname = name_from_idmap (idmap)
 creates a string representation of an "Id"-map
 
- Public Attributes inherited from DataTree.IdMapNode
 idmap
 cell array of "Id" strings
 
- Static Public Attributes inherited from DataTree.IdMapNode
static const  data_node_type = "IdMap"
 Data node type identifier.
 

Member Function Documentation

function conds = Greedy.DataTree.Reduced.IdMapNode.get_conds ( )
virtual

computes condition numbers of reduced basis matrices

The output can be analyzed for example by the post-processing tools in Postprocess.

Return values
condsa vector of condition numbers. It is the implementers choice which matrices shall be added here.

Implements IReducedData.

Definition at line 64 of file IdMapNode.m.


The documentation for this class was generated from the following file: