| 1 |
tim |
1911 |
#ifndef CONSTRAINTS_ZCONSSTRUCT_HPP |
| 2 |
|
|
#define CONSTRAINTS_ZCONSSTRUCT_HPP |
| 3 |
|
|
#include "primitives/Molecule.hpp" |
| 4 |
|
|
namespace oopse { |
| 5 |
|
|
|
| 6 |
|
|
struct ZconstraintParam { |
| 7 |
|
|
double zTargetPos; /**< target zconstraint position */ |
| 8 |
|
|
double kz; /**< force constant */ |
| 9 |
|
|
double cantVel; /**< The velocity of cantilever */ |
| 10 |
|
|
}; |
| 11 |
|
|
|
| 12 |
|
|
struct ZconstraintMol { |
| 13 |
|
|
Molecule* mol; |
| 14 |
|
|
ZconstraintParam param; |
| 15 |
|
|
double fz; |
| 16 |
|
|
double zpos; |
| 17 |
|
|
double cantPos; /**< current position of cantilever */ |
| 18 |
|
|
double endFixingTime; |
| 19 |
|
|
}; |
| 20 |
|
|
|
| 21 |
|
|
|
| 22 |
|
|
struct ZconsData{ |
| 23 |
|
|
int zmolIndex; |
| 24 |
|
|
double zforce; |
| 25 |
|
|
double zpos; |
| 26 |
|
|
double zconsPos; |
| 27 |
|
|
}; |
| 28 |
|
|
|
| 29 |
|
|
} |
| 30 |
|
|
|
| 31 |
|
|
#endif |