GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DAERT.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2002-2015 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if !defined (octave_DAERT_h)
24 #define octave_DAERT_h 1
25 
26 #include "DAE.h"
27 #include "DAERTFunc.h"
28 #include "base-dae.h"
29 
30 class
31 DAERT : public base_diff_alg_eqn, public DAERTFunc
32 {
33 public:
34 
35  DAERT (void)
36  : base_diff_alg_eqn (), DAERTFunc () { }
37 
38  DAERT (const ColumnVector& xx, double tt, DAERTFunc& f)
39  : base_diff_alg_eqn (xx, tt), DAERTFunc (f) { }
40 
41  DAERT (const ColumnVector& xx, const ColumnVector& xxdot, double tt,
42  DAERTFunc& f)
43  : base_diff_alg_eqn (xx, xxdot, tt), DAERTFunc (f) { }
44 
45  DAERT (const DAERT& a)
46  : base_diff_alg_eqn (a), DAERTFunc (a) { }
47 
48  DAERT& operator = (const DAERT& a)
49  {
50  if (this != &a)
51  {
54 
55  }
56  return *this;
57  }
58 
59  virtual ~DAERT (void) { }
60 
61  void initialize (const ColumnVector& xx, const ColumnVector& xxdot,
62  double tt)
63  {
64  base_diff_alg_eqn::initialize (xx, xxdot, tt);
65  }
66 };
67 
68 #endif
Definition: DAERT.h:30
void initialize(const ColumnVector &x0, double t0)
Definition: base-dae.h:58
base_diff_alg_eqn & operator=(const base_diff_alg_eqn &a)
Definition: base-dae.h:48
virtual ~DAERT(void)
Definition: DAERT.h:59
DAERT(const ColumnVector &xx, const ColumnVector &xxdot, double tt, DAERTFunc &f)
Definition: DAERT.h:41
DAERT(const ColumnVector &xx, double tt, DAERTFunc &f)
Definition: DAERT.h:38
ColumnVector & operator=(const ColumnVector &a)
Definition: dColVector.h:53
F77_RET_T const double const double * f
void initialize(const ColumnVector &xx, const ColumnVector &xxdot, double tt)
Definition: DAERT.h:61
DAERT(void)
Definition: DAERT.h:35
DAERTFunc & operator=(const DAERTFunc &a)
Definition: DAERTFunc.h:53
DAERT(const DAERT &a)
Definition: DAERT.h:45