biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git]
/
src
/
gromacs
/
trajectoryanalysis
/
modules
/
rdf.cpp
diff --git
a/src/gromacs/trajectoryanalysis/modules/rdf.cpp
b/src/gromacs/trajectoryanalysis/modules/rdf.cpp
index 6dd388f3ad60207eb77a78146efaf246cc1457b2..bb2f6249198ee86fafcefdebb7dc20bfe6c9a9ae 100644
(file)
--- a/
src/gromacs/trajectoryanalysis/modules/rdf.cpp
+++ b/
src/gromacs/trajectoryanalysis/modules/rdf.cpp
@@
-409,7
+409,7
@@
void Rdf::initAfterFirstFrame(const TrajectoryAnalysisSettings& settings, const
{
box[ZZ][ZZ] = 2 * std::max(box[XX][XX], box[YY][YY]);
}
- rmax_ = std::sqrt(0.99 * 0.99 * max_cutoff2(bXY_ ?
epbcXY : epbcXYZ
, box));
+ rmax_ = std::sqrt(0.99 * 0.99 * max_cutoff2(bXY_ ?
PbcType::XY : PbcType::Xyz
, box));
}
else
{