| 50 |
|
#include "primitives/Molecule.hpp" |
| 51 |
|
#include "utils/NumericConstant.hpp" |
| 52 |
|
|
| 53 |
+ |
using namespace std; |
| 54 |
|
namespace OpenMD { |
| 55 |
|
|
| 56 |
|
BondAngleDistribution::BondAngleDistribution(SimInfo* info, |
| 57 |
< |
const std::string& filename, |
| 58 |
< |
const std::string& sele, |
| 59 |
< |
double rCut, int nbins) : StaticAnalyser(info, filename), |
| 60 |
< |
selectionScript_(sele), |
| 61 |
< |
evaluator_(info), seleMan_(info){ |
| 57 |
> |
const string& filename, |
| 58 |
> |
const string& sele, |
| 59 |
> |
double rCut, int nbins) |
| 60 |
> |
: StaticAnalyser(info, filename), selectionScript_(sele), evaluator_(info), |
| 61 |
> |
seleMan_(info) { |
| 62 |
|
|
| 63 |
|
setOutputName(getPrefix(filename) + ".bad"); |
| 64 |
|
|
| 99 |
|
StuntDouble* sd; |
| 100 |
|
Vector3d vec; |
| 101 |
|
std::vector<Vector3d> bondvec; |
| 101 |
– |
std::vector<RealType> bonddist; |
| 102 |
|
RealType r; |
| 103 |
|
int nBonds; |
| 104 |
|
int i; |