rbmatlab 0.10.01
|
Interface class for the generation and storage of offline matrices and vectors as described in Module (M3).
Definition at line 1 of file IReducedData.m.
Public Member Functions | |
IReducedData ( rmodel) | |
Constructor for reduced data (which automatically implements a copy constructor) | |
virtual function
IReducedData subset_reduced_data = | extract_reduced_data_subset ( rmodel) |
Changes the size of the offline data matrices. | |
virtual function conds = | get_conds () |
computes condition numbers of reduced basis matrices | |
virtual function IReducedData c = | copy () |
function that deep copies this handle class |
IReducedData.IReducedData | ( | rmodel | ) |
Constructor for reduced data (which automatically implements a copy constructor)
An implementation of this interface should at least provide a
ReducedData(rmodel, detailed_data)
where detailed_data
is an appropriate IDetailedData implementation, and rmodel
and appropriate IReducedModel implementation.
rmodel | rmodel |
Definition at line 13 of file IReducedData.m.
function IReducedData c = IReducedData.copy | ( | ) | [pure virtual] |
function that deep copies this handle class
The suggested implementation in the implementation class should call a copy constructor which might look as follows:
// this implements a copy constructor if necessary... rm = rm@IReducedData(rmodel); // are we NOT a copy constructor? if ~isa(rmodel, 'Implementation.ReducedData') // do some checks and further initializations here... end
c | an object which is a deep copy of this object. |
Implemented in LinEvol.ReducedData, LinEvolDune.ReducedData, LinStat.ReducedData, NonlinEvol.ReducedData, NonlinEvol.EiRbReducedDataNode, NonlinEvol.EiReducedDataNode, NonlinEvol.RbReducedDataNode, TwoPhaseFlow.ReducedData, TwoPhaseFlow.EiRbReducedDataNode, TwoPhaseFlow.EiReducedDataNode, TwoPhaseFlow.RbReducedDataNode, Greedy.DataTree.Reduced.IdMapNode, Greedy.DataTree.Reduced.SeparableFunctionNode, Greedy.DataTree.Reduced.SeparableOperatorNode, Greedy.User.ReducedData, and Test.ReducedData.
function IReducedData subset_reduced_data = IReducedData.extract_reduced_data_subset | ( | rmodel | ) | [pure virtual] |
Changes the size of the offline data matrices.
Depending on the values of
the size of the offline data matrices is reduced and a copy with the smaller data is returned.
rmodel | rmodel |
subset_reduced_data | a copy of the reduced data with reduced offline matrices and vectors |
function conds = IReducedData.get_conds | ( | ) | [pure virtual] |
computes condition numbers of reduced basis matrices
The output can be analyzed for example by the post-processing tools in Postprocess.
conds | a vector of condition numbers. It is the implementers choice which matrices shall be added here. |
Implemented in LinEvol.ReducedData, LinEvolDune.ReducedData, LinStat.ReducedData, NonlinEvol.ReducedData, NonlinEvol.EiRbReducedDataNode, NonlinEvol.EiReducedDataNode, NonlinEvol.RbReducedDataNode, TwoPhaseFlow.ReducedData, TwoPhaseFlow.EiRbReducedDataNode, TwoPhaseFlow.EiReducedDataNode, TwoPhaseFlow.RbReducedDataNode, Greedy.DataTree.Reduced.IdMapNode, Greedy.DataTree.Reduced.SeparableFunctionNode, Greedy.DataTree.Reduced.SeparableOperatorNode, Greedy.User.ReducedData, and Test.ReducedData.