rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
List of all members | Public Member Functions | Protected Member Functions
SnapshotsGenerator.MergedSpaceOpEvals Class Reference

Detailed Description

this class combines two SnapshotsGenerator.SpaceOpEvals and produces the combination of both operator/function evaluations.

The generated snapshots are a concatenation of both underlying generators.

Example
If you have more than one operator in your numerical scheme, for which you want to create a collateral reduced basis space, you can merge their space operator evaluation instances together and then create a collateral reduced basis space valid for all the operators.

Definition at line 18 of file MergedSpaceOpEvals.m.

Inheritance diagram for SnapshotsGenerator.MergedSpaceOpEvals:
Inheritance graph
[legend]
Collaboration diagram for SnapshotsGenerator.MergedSpaceOpEvals:
Collaboration graph
[legend]

Public Member Functions

 MergedSpaceOpEvals (SnapshotsGenerator.SpaceOpEvals generator1,SnapshotsGenerator.SpaceOpEvals generator2)
 constructor merging two SnapshotsGenerator.SpaceOpEvals objects together.
 
function SnapshotsGenerator.MergedSpaceOpEvals
combination = 
plus (SnapshotsGenerator.SpaceOpEvals other)
 convenience function allowing to merge several SnapshotsGenerator.SpaceOpEvals instances together by "adding" them together with a + operator.
 
- Public Member Functions inherited from SnapshotsGenerator.SpaceOpEvals
 SpaceOpEvals (IDetailedModel dmodel, id,SnapshotsGenerator.Cached rbdgen,ILocalizedOperator ophandle, force_delete, enable_caching)
 constructor for a snapshot generator of space operator evaluations.
 
function SnapshotsGenerator.MergedSpaceOpEvals
combination = 
plus (SnapshotsGenerator.SpaceOpEvals other)
 convenience function allowing to merge several SnapshotsGenerator.SpaceOpEvals instances together by "adding" them together with a + operator.
 
- Public Member Functions inherited from SnapshotsGenerator.Cached
 Cached (IDetailedModel dmodel, id, force_delete, enable_caching)
 constructor for the detailed generator
 
function  clear_cachedirectory ()
 clears the directory containing the cached mat-files
 
function  assert_model_is_consistent (IDetailedModel dmodel, comparemodel)
 throws an inconsistency error if the the current IDetailedModel object and the one stored on the harddrive differ.
 
function [
detailed_sample ,
tictoc ,

opt_fields ] = 
generate (IDetailedModel dmodel,IDetailedData detailed_data, fields)
 generates a detailed data sample for a specific parameter using caching facilities
 
function  prepare (IDetailedModel dmodel,IDetailedData detailed_data, M)
 precompute detailed data for all parameters given by M.
 
function IDetailedModel dmodel = get_underlying_model ()
 returns the detailed model stored on the harddrive with which the snaphshots were generated.
 

Protected Member Functions

function LU = generate_ei_impl (IDetailedModel dmodel,IDetailedData detailed_data, U)
 
- Protected Member Functions inherited from SnapshotsGenerator.SpaceOpEvals
function [ LU ,

opt_fields ] = 
generate_impl (IDetailedModel dmodel,IDetailedData detailed_data, fields)
 generates a sample trajectory or detailed simulation item from which a new basis function can be generated.
 
function LU = generate_ei_impl (IDetailedModel dmodel,IDetailedData detailed_data, U)
 generates operator evaluations for snapshots generated by the underlying rb_detailed_generator object.
 

Additional Inherited Members

- Public Attributes inherited from SnapshotsGenerator.SpaceOpEvals
ILocalizedOperator ophandle
 a localized operator
 
- Static Protected Member Functions inherited from SnapshotsGenerator.Cached
static function
hashcode = 
hashcode (IDetailedModel dmodel)
 this is a very simple hash code, generating an md5 hash out of the current parameter vector.
 
- Protected Attributes inherited from SnapshotsGenerator.SpaceOpEvals
::SnapshotsGenerator.Trajectories rb_detailed_generator
 an object providing a generator for detailed_simulations
 

Constructor & Destructor Documentation

SnapshotsGenerator.MergedSpaceOpEvals.MergedSpaceOpEvals ( SnapshotsGenerator.SpaceOpEvals  generator1,
SnapshotsGenerator.SpaceOpEvals  generator2 
)

constructor merging two SnapshotsGenerator.SpaceOpEvals objects together.

Parameters
generator1first space operator evaluation object
generator2second space operator evaluation object
Required fields of generator1:
  • rb_detailed_generator —  rb detailed generator
  • id —  id
  • ophandle —  ophandle
  • force_delete —  force delete
  • enable_caching —  enable caching
Required fields of generator2:
  • rb_detailed_generator —  rb detailed generator
  • id —  id
  • force_delete —  force delete
  • enable_caching —  enable caching

Definition at line 56 of file MergedSpaceOpEvals.m.

Member Function Documentation

function SnapshotsGenerator.MergedSpaceOpEvals combination = SnapshotsGenerator.MergedSpaceOpEvals.plus ( SnapshotsGenerator.SpaceOpEvals  other)

convenience function allowing to merge several SnapshotsGenerator.SpaceOpEvals instances together by "adding" them together with a + operator.

Parameters
otheran "addend"
Return values
combinationthe merged object

Definition at line 102 of file MergedSpaceOpEvals.m.


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