C++ main module for emicrom Package  1.0
EMM_LandauLifschitzRK45.h
Go to the documentation of this file.
1 #ifndef EMM_LandauLifschitzRK45_H
2 #define EMM_LandauLifschitzRK45_H
3 
4 
6 
70 
72  // ATTRIBUTES
73 
74 public:
75 
76 
77 
78 
79 public:
80 
81 
82  //runge kutta Fehlberk constants
83  static const tReal A[];
84  static const tReal B[];
85  static const tReal CH[];
86  static const tReal CT[];
87 
88 
89 
90 protected:
91  // METHODS
92 
93  // CONSTRUCTORS
94 
98 
99 
100 
101  // DESTRUCTORS
102 
103 
106  virtual ~EMM_LandauLifschitzRK45(void);
107 
108 
109 public:
110 
111  //NEW constructor
112 protected:
113 
114 
115  //DATA methods
116  //=============
117 public:
118 
119 
123  inline static SP::EMM_LandauLifschitzRK45 New() {
124  SP::EMM_LandauLifschitzRK45 sp(new EMM_LandauLifschitzRK45(),
126  sp->setThis(sp);
127  return sp;
128  }
129 
130 
131 
132 
133 
137  virtual const tReal* getACoefficients() const {
138  return A;
139  }
143  virtual const tReal* getBCoefficients() const {
144  return B;
145  }
146 
150  virtual const tReal* getCTCoefficients() const {
151  return CT;
152  }
153 
157  virtual const tReal* getCHCoefficients() const {
158  return CH;
159  }
160 
161 
162 
163 
164 };
165 
166 #endif
virtual const tReal * getACoefficients() const
get the A coefficients
Definition: EMM_LandauLifschitzRK45.h:137
static const tReal A[]
Definition: EMM_LandauLifschitzRK45.h:83
virtual const tReal * getCHCoefficients() const
get the CH coefficients
Definition: EMM_LandauLifschitzRK45.h:157
static const tReal CT[]
Definition: EMM_LandauLifschitzRK45.h:86
This class implements a Runge Kutta of order 5 to integrate the ODE System.
Definition: EMM_LandauLifschitzRK45.h:69
DEFINE_SPTR(EMM_LandauLifschitzRK45)
virtual const tReal * getBCoefficients() const
get the B coefficients
Definition: EMM_LandauLifschitzRK45.h:143
EMM_LandauLifschitzRK45(void)
create the class
Definition: EMM_LandauLifschitzRK45.cpp:37
static SP::EMM_LandauLifschitzRK45 New()
create a shared pointer class of this
Definition: EMM_LandauLifschitzRK45.h:123
This class implements a general Runge Kutta formulation to integrate the ODE System.
Definition: EMM_LandauLifschitzODE_RK.h:41
static const tReal CH[]
Definition: EMM_LandauLifschitzRK45.h:85
#define tReal
Definition: types.h:118
SP_OBJECT(EMM_LandauLifschitzRK45)
static const tReal B[]
Definition: EMM_LandauLifschitzRK45.h:84
virtual ~EMM_LandauLifschitzRK45(void)
destroy the class
Definition: EMM_LandauLifschitzRK45.cpp:41
virtual const tReal * getCTCoefficients() const
get the CT coefficients
Definition: EMM_LandauLifschitzRK45.h:150
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141