rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
List of all members | Public Member Functions | Public Attributes
TwoPhaseFlow.RbReducedDataNode Class Reference

Detailed Description

Implementation of a Greedy.User.IReducedDataNode storing reduced data depending on reduced basis space information only. (e.g. reduced matrices of operators)

Definition at line 18 of file RbReducedDataNode.m.

Inheritance diagram for TwoPhaseFlow.RbReducedDataNode:
Inheritance graph
[legend]
Collaboration diagram for TwoPhaseFlow.RbReducedDataNode:
Collaboration graph
[legend]

Public Member Functions

 RbReducedDataNode (TwoPhaseFlow.ReducedModel rmodel,IDetailedData detailed_data)
 constructor for the generation of the reduced data.
 
function conds = get_conds ()
 computes condition numbers of reduced basis matrices
 
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.
 
- Public Member Functions inherited from DataTree.ILeafNode
function
children = 
length ()
 Returns the number of children of the node.
 
function index = get_index (dummy2, dummy3, dummy)
 Obtains the leaf index vector that best fits the child description given by the three arguments.
 
function this = set (dummy2,DataTree.INode value)
 Sets a child at the given path in the tree hierarchy.
 
function data = get (index)
 Access to a child of the current node.
 
function DataTree.ILeafNode node = get_active_leaf (DataTree.IModel model, id)
 retuns the leaf element for the current IDetailedModel configuration.
 
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.
 
- 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.
 
virtual function this = set (index, value)
 Sets a child at the given path in the tree hierarchy.
 
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.
 
- 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 Attributes

 id
 
 Nmass
 reduced basis mass matrix.
 
 N
 number of reduced basis vectors stored in this data node.
 
- Public Attributes inherited from Greedy.User.IReducedDataNode
methods *function rdn
 

Constructor & Destructor Documentation

TwoPhaseFlow.RbReducedDataNode.RbReducedDataNode ( TwoPhaseFlow.ReducedModel  rmodel,
IDetailedData  detailed_data 
)

constructor for the generation of the reduced data.

Alternative synopsis
RbReducedDataNode(rmodel, ei_reduced_data_node)
copying a reduced data node and (optionally) extracting smaller matrices.
Parameters
rmodelobject specifying how the reduced simulations can be computed.
detailed_dataobject 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 64 of file RbReducedDataNode.m.

Member Function Documentation

function conds = TwoPhaseFlow.RbReducedDataNode.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 95 of file RbReducedDataNode.m.

function yesno = TwoPhaseFlow.RbReducedDataNode.needs_subset_copy ( TwoPhaseFlow.ReducedModel  rmodel)

Definition at line 114 of file RbReducedDataNode.m.

Member Data Documentation

TwoPhaseFlow.RbReducedDataNode.N

number of reduced basis vectors stored in this data node.

Note
This property has the MATLAB attribute Dependent set to true.
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.
[readonly]

Note
This property has the MATLAB attribute Dependent set to true.
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.
[readonly]

Definition at line 48 of file RbReducedDataNode.m.

TwoPhaseFlow.RbReducedDataNode.Nmass

reduced basis mass matrix.

The matrix entries are

\[({ \bf N })_{ij} = \int \varphi_i \varphi_j\]

Definition at line 34 of file RbReducedDataNode.m.


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