C++ main module for emicrom Package  1.0
EMM_OptimalIterativeTimeStep.h
Go to the documentation of this file.
1 #ifndef EMM_OptimalIterativeTimeStep_H
2 #define EMM_OptimalIterativeTimeStep_H
3 
5 
6 #include "EMM_RealField.h"
14 
16  // ATTRIBUTES
17 
18 public:
19 
20 protected:
21  // METHODS
22 
23  // CONSTRUCTORS
24 
28  }
29 
30 
31 
32  // DESTRUCTORS
33 
34 
38  }
39 
40 
41 private:
42 
43 public:
44  // New share pointer constructor
47  static inline SP::EMM_OptimalIterativeTimeStep New() {
48  SP::EMM_OptimalIterativeTimeStep p(new EMM_OptimalIterativeTimeStep(),EMM_OptimalIterativeTimeStep::Delete());
49  p->setThis(p);
50  return p;
51  }
52 
53  // SET methods
54 
55 
56 
57 
58 
59 
60  // GET methods
61 
62 
63 
64 public:
65  // OTHERS methods
66 
67 
75  tBoolean computeNewTimeStep(tReal& dt,tUInteger& nEvaluations);
76 
77 };
78 
79 #endif
This class compute the new time step by optimizing a function EMM_LandauLisfchitzSystem::computePredi...
Definition: EMM_GoldenNumberIterativeTimeStep.h:63
#define tUInteger
Definition: types.h:91
tBoolean computeNewTimeStep(tReal &dt, tUInteger &nEvaluations)
compute the new time step
Definition: EMM_OptimalIterativeTimeStep.cpp:5
static SP::EMM_OptimalIterativeTimeStep New()
build a shared pointer associated to the class
Definition: EMM_OptimalIterativeTimeStep.h:47
#define tBoolean
Definition: types.h:139
DEFINE_SPTR(EMM_OptimalIterativeTimeStep)
This class compute the new time step by using the optimal time step and with a golden method if the t...
Definition: EMM_OptimalIterativeTimeStep.h:13
EMM_OptimalIterativeTimeStep(void)
create
Definition: EMM_OptimalIterativeTimeStep.h:27
virtual ~EMM_OptimalIterativeTimeStep(void)
destroy
Definition: EMM_OptimalIterativeTimeStep.h:37
SP_OBJECT(EMM_OptimalIterativeTimeStep)
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141