C++ main module for emicrom Package  1.0
EMM_GoldenNumberIterativeTimeStep.h
Go to the documentation of this file.
1 #ifndef EMM_GoldenNumberIterativeTimeStep_H
2 #define EMM_GoldenNumberIterativeTimeStep_H
3 
5 
6 #include "EMM_RealField.h"
64 
66  // ATTRIBUTES
67 
68 public:
69 
70 protected:
71  // METHODS
72 
73  // CONSTRUCTORS
74 
78  }
79 
80 
81 
82  // DESTRUCTORS
83 
84 
88  }
89 
90 
91 private:
92 
93 public:
94  // New share pointer constructor
97  static inline SP::EMM_GoldenNumberIterativeTimeStep New() {
98  SP::EMM_GoldenNumberIterativeTimeStep p(new EMM_GoldenNumberIterativeTimeStep(),EMM_GoldenNumberIterativeTimeStep::Delete());
99  p->setThis(p);
100  return p;
101  }
102 
103  // SET methods
104 
105 
106 
107 
108 
109 
110  // GET methods
111 
112 
113 
114 public:
115  // OTHERS methods
142  virtual tBoolean optimizeTimeFunction(tReal& dt,const tReal& dt_bound,tUInteger& evaluationsNumber);
143 
144 
145 
146 
147 
148 
149 };
150 
151 #endif
This class compute the new time step by optimizing a function EMM_LandauLisfchitzSystem::computePredi...
Definition: EMM_GoldenNumberIterativeTimeStep.h:63
virtual ~EMM_GoldenNumberIterativeTimeStep(void)
destroy
Definition: EMM_GoldenNumberIterativeTimeStep.h:87
#define tUInteger
Definition: types.h:91
DEFINE_SPTR(EMM_GoldenNumberIterativeTimeStep)
#define tBoolean
Definition: types.h:139
This class describes the iterative optimal time.
Definition: EMM_IterativeTimeStep.h:20
EMM_GoldenNumberIterativeTimeStep(void)
create
Definition: EMM_GoldenNumberIterativeTimeStep.h:77
SP_OBJECT(EMM_GoldenNumberIterativeTimeStep)
virtual tBoolean optimizeTimeFunction(tReal &dt, const tReal &dt_bound, tUInteger &evaluationsNumber)
optimize the time step function
Definition: EMM_GoldenNumberIterativeTimeStep.cpp:3
static SP::EMM_GoldenNumberIterativeTimeStep New()
build a shared pointer associated to the class
Definition: EMM_GoldenNumberIterativeTimeStep.h:97
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141