45 |
|
namespace oopse { |
46 |
|
|
47 |
|
struct ZconstraintParam { |
48 |
< |
double zTargetPos; /**< target zconstraint position */ |
49 |
< |
double kz; /**< force constant */ |
50 |
< |
double cantVel; /**< The velocity of cantilever */ |
48 |
> |
RealType zTargetPos; /**< target zconstraint position */ |
49 |
> |
RealType kz; /**< force constant */ |
50 |
> |
RealType cantVel; /**< The velocity of cantilever */ |
51 |
|
}; |
52 |
|
|
53 |
|
struct ZconstraintMol { |
54 |
|
Molecule* mol; |
55 |
|
ZconstraintParam param; |
56 |
< |
double fz; |
57 |
< |
double zpos; |
58 |
< |
double cantPos; /**< current position of cantilever */ |
59 |
< |
double endFixingTime; |
56 |
> |
RealType fz; |
57 |
> |
RealType zpos; |
58 |
> |
RealType cantPos; /**< current position of cantilever */ |
59 |
> |
RealType endFixingTime; |
60 |
|
}; |
61 |
|
|
62 |
|
|
63 |
|
struct ZconsData{ |
64 |
|
int zmolIndex; |
65 |
< |
double zforce; |
66 |
< |
double zpos; |
67 |
< |
double zconsPos; |
65 |
> |
RealType zforce; |
66 |
> |
RealType zpos; |
67 |
> |
RealType zconsPos; |
68 |
|
}; |
69 |
|
|
70 |
|
} |