doc:user:integration:scheme:dynimplexpl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:integration:scheme:dynimplexpl [2014/10/07 18:21] – joris | doc:user:integration:scheme:dynimplexpl [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Data set ===== | ===== Data set ===== | ||
+ | |||
+ | ==== Old Metafor Version <= 2422 ==== | ||
See dynamic [[doc: | See dynamic [[doc: | ||
Line 15: | Line 17: | ||
Shifting can be done automatically or manually or both. Another application of this algorithm is to stabilize explicit steps. | Shifting can be done automatically or manually or both. Another application of this algorithm is to stabilize explicit steps. | ||
+ | |||
+ | ==== New Metafor Version > 2422 ==== | ||
+ | |||
+ | < | ||
+ | ti = IeTimeIntegration(metafor) | ||
+ | ti.setExplicitTimeIntegration(tiExp) | ||
+ | ti.setImplicitTimeIntegration(tiImp) | ||
+ | ti.setCurrentDynamicTimeIntegration(tiImp) | ||
+ | </ | ||
+ | |||
+ | where tiExp and tiImp are the references towards the explicit and implicit time integration scheme respectively. | ||
===== Automatic Shift (method 1 or 2) ===== | ===== Automatic Shift (method 1 or 2) ===== | ||
- | By default, the algorithm chooses the method based on an integration error, the time step and the machine time. The definition '' | + | By default, the algorithm chooses the method based on an integration error, the time step and the machine time. The definition '' |
===== Manual Shift (method 3 or 4) ===== | ===== Manual Shift (method 3 or 4) ===== | ||
- | The user can impose shifts (see command '' | + | The user can impose shifts (see command '' |
===== Balancing===== | ===== Balancing===== | ||
- | When shifting from explicit to implicit, the first implicit time step is calculated | + | When shifting from explicit to implicit, the first implicit time step is computed |
Line 35: | Line 48: | ||
===== Implicit/ | ===== Implicit/ | ||
- | Shift options are selected with the commands: | + | It is **mandatory** to instanciate |
- | + | iesm = IeShiftManager(metafor) | |
- | iesm = metafor.getIeShiftManager() | + | |
iems.setIeShiftMethod(meth) | iems.setIeShiftMethod(meth) | ||
iesm.setNbOfBalanceSteps(nbbs) | iesm.setNbOfBalanceSteps(nbbs) | ||
iesm.setMaxStepIncrease(msin) | iesm.setMaxStepIncrease(msin) | ||
iesm.setAutomaticShiftSecurity(secu) | iesm.setAutomaticShiftSecurity(secu) | ||
+ | iesm.setCpuDependency(cpuDep) | ||
^ Parameter ^ default ^ description ^ | ^ Parameter ^ default ^ description ^ | ||
|'' | |'' | ||
- | | | | = '' | + | | | | = '' |
- | | | | = '' | + | | | | = '' |
- | | | | = '' | + | | | | = '' |
- | | | | = '' | + | | | | = '' |
| | | = '' | | | | = '' | ||
|'' | |'' | ||
|'' | |'' | ||
|'' | |'' | ||
+ | |'' | ||
For manual shift, the user can set times at which method is changed. This is done with the commands: | For manual shift, the user can set times at which method is changed. This is done with the commands: | ||
doc/user/integration/scheme/dynimplexpl.1412698902.txt.gz · Last modified: 2016/03/30 15:22 (external edit)