69 |
|
class Snapshot { |
70 |
|
public: |
71 |
|
|
72 |
< |
Snapshot(int nAtoms, int nRigidbodies) : atomData(nAtoms), rigidbodyData(nRigidbodies), |
73 |
< |
currentTime_(0), orthoTolerance_(1e-6), orthoRhombic_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), id_(-1), hasCOM_(false) { |
72 |
> |
Snapshot(int nAtoms, int nRigidbodies) : atomData(nAtoms), |
73 |
> |
rigidbodyData(nRigidbodies), |
74 |
> |
currentTime_(0), |
75 |
> |
orthoTolerance_(1e-6), |
76 |
> |
orthoRhombic_(0), |
77 |
> |
chi_(0.0), |
78 |
> |
integralOfChiDt_(0.0), |
79 |
> |
eta_(0.0), id_(-1), |
80 |
> |
hasCOM_(false) { |
81 |
|
|
82 |
|
} |
83 |
|
|
84 |
|
Snapshot(int nAtoms, int nRigidbodies, int storageLayout) |
85 |
< |
: atomData(nAtoms, storageLayout), rigidbodyData(nRigidbodies, storageLayout), |
86 |
< |
currentTime_(0), orthoTolerance_(1e-6), orthoRhombic_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), id_(-1), hasCOM_(false) { |
85 |
> |
: atomData(nAtoms, storageLayout), |
86 |
> |
rigidbodyData(nRigidbodies, storageLayout), |
87 |
> |
currentTime_(0), orthoTolerance_(1e-6), orthoRhombic_(0), chi_(0.0), |
88 |
> |
integralOfChiDt_(0.0), eta_(0.0), id_(-1), hasCOM_(false) { |
89 |
|
|
90 |
|
} |
91 |
|
|