C++ main module for emicrom Package  1.0
EMM_BrentIterativeTimeStep.h
Go to the documentation of this file.
1 #ifndef EMM_BrentIterativeTimeStep_H
2 #define EMM_BrentIterativeTimeStep_H
3 
5 
6 #include "EMM_RealField.h"
17 
19  // ATTRIBUTES
20 
21 public:
22 
23 
24 protected:
25  // METHODS
26 
27  // CONSTRUCTORS
28 
32 
33 
34  // DESTRUCTORS
35 
36 
39  virtual ~EMM_BrentIterativeTimeStep(void);
40 
41 
42 private:
43 
44 public:
45  // New share pointer constructor
48  static inline SP::EMM_BrentIterativeTimeStep New() {
49  SP::EMM_BrentIterativeTimeStep p(new EMM_BrentIterativeTimeStep(),
51  p->setThis(p);
52  return p;
53  }
54 
55  // SET methods
56 
57 
58 
59 
60 
61 
62  // GET methods
63 
64 
65 
66 public:
67  // OTHERS methods
79  virtual tBoolean optimizeTimeFunction(tReal& dt,const tReal& dt_bound,tUInteger& evaluationsNumber);
80 
81 
82 };
83 
84 #endif
This class compute the new time step by optimizing a function EMM_LandauLisfchitzSystem::computeEnerg...
Definition: EMM_BrentIterativeTimeStep.h:16
#define tUInteger
Definition: types.h:91
virtual tBoolean optimizeTimeFunction(tReal &dt, const tReal &dt_bound, tUInteger &evaluationsNumber)
optimize the time step function
Definition: EMM_BrentIterativeTimeStep.cpp:60
EMM_BrentIterativeTimeStep(void)
create
Definition: EMM_BrentIterativeTimeStep.cpp:53
#define tBoolean
Definition: types.h:139
This class describes the iterative optimal time.
Definition: EMM_IterativeTimeStep.h:20
DEFINE_SPTR(EMM_BrentIterativeTimeStep)
virtual ~EMM_BrentIterativeTimeStep(void)
destroy
Definition: EMM_BrentIterativeTimeStep.cpp:57
SP_OBJECT(EMM_BrentIterativeTimeStep)
#define tReal
Definition: types.h:118
static SP::EMM_BrentIterativeTimeStep New()
build a shared pointer associated to the class
Definition: EMM_BrentIterativeTimeStep.h:48
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141