KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AMassMatrix.m
Go to the documentation of this file.
1 namespace dscomponents{
2 
3 
4 /* (Autoinserted by mtoc++)
5  * This source code has been filtered by the mtoc++ executable,
6  * which generates code that can be processed by the doxygen documentation tool.
7  *
8  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
9  * Except for the comments, the function bodies of your M-file functions are untouched.
10  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
11  * attached source files that are highly readable by humans.
12  *
13  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
14  * the correct locations in the source code browser.
15  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
16  */
17 
19  :public KerMorObject,
20  public general.AProjectable {
40  public:
41 
74  public:
75 
77 
78 
79  public:
80 
81  AMassMatrix(algdims,varargin) {
82  this = this@KerMorObject;
83  if nargin == 1
84  this.AlgebraicEquationDims= algdims;
85  end
86  }
87 
88 
89  function copy = clone(copy) {
90  copy = clone@general.AProjectable(this, copy);
91  copy.TimeDependent= this.TimeDependent;
92  copy.SparsityPattern= this.SparsityPattern;
93  copy.AlgebraicEquationDims= this.AlgebraicEquationDims;
94  }
95 
96 
97  public: /* ( Abstract ) */
98 
99  virtual function M = evaluate(double t,colvec<double> mu) = 0;
100 
101 
102  virtual function [L , U , Q , P ] = getLU(double t,colvec<double> mu) = 0;
103 
104 
105  protected: /* ( Static ) */
106 
107  static function obj = loadobj(obj,from) {
108  if nargin == 2
109  obj.TimeDependent= from.TimeDependent;
110  obj.SparsityPattern= from.SparsityPattern;
111  obj = loadobj@KerMorObject(obj, from);
112  obj = loadobj@general.AProjectable(obj, from);
113  else
114  obj = loadobj@KerMorObject(obj);
115  obj = loadobj@general.AProjectable(obj);
116  end
117  }
118 
119 
120 
121 };
122 }
123 
AMassMatrix(algdims, varargin)
Definition: AMassMatrix.m:81
Interface for all components that can be projected.
Definition: AProjectable.m:18
Base class for any KerMor class.
Definition: KerMorObject.m:17
logical TimeDependent
Flag that indicates time-dependency of the Mass Matrix.
Definition: AMassMatrix.m:42
virtual function M = evaluate(double t,colvec< double > mu)
A boolean value.
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
Definition: AMassMatrix.m:89
KerMorObject()
Constructs a new KerMor object.
Definition: KerMorObject.m:55
A variable number of input arguments.
A matlab sparse matrix.
static function obj = loadobj(obj, from)
Definition: AMassMatrix.m:107
sparsematrix SparsityPattern
The sparsity pattern for the mass matrix.
Definition: AMassMatrix.m:57
virtual function [ L , U , Q , P ] = getLU(double t,colvec< double > mu)