00001
00007 #ifndef SETTLE_H__
00008 #define SETTLE_H__
00009
00010 #include "Vector.h"
00011 #include "Tensor.h"
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00041 extern int settle1isinitted(void);
00042
00044 extern int settle1init(BigReal mO, BigReal mH, BigReal hhdist, BigReal ohdist);
00045
00047 extern int settle1(const Vector *ref, Vector *pos, Vector *vel, BigReal invdt);
00048
00049 extern int settle2(BigReal mO, BigReal mH, const Vector *pos,
00050 Vector *vel, BigReal dt, Tensor *virial);
00051 #endif