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
/
mdlib
/
nsgrid.cpp
diff --git
a/src/gromacs/mdlib/nsgrid.cpp
b/src/gromacs/mdlib/nsgrid.cpp
index 82173e7edc00151459bfdf9353025fb50d8f7f3b..e9f7f0c9735036ad769dc4acedd1e4477ce4c4dd 100644
(file)
--- a/
src/gromacs/mdlib/nsgrid.cpp
+++ b/
src/gromacs/mdlib/nsgrid.cpp
@@
-364,9
+364,9
@@
t_grid* init_grid(FILE* fplog, t_forcerec* fr)
snew(grid, 1);
- grid->npbcdim =
ePBC2npbcdim(fr->ePBC
);
+ grid->npbcdim =
numPbcDimensions(fr->pbcType
);
- if (fr->
ePBC == epbc
XY && fr->nwall == 2)
+ if (fr->
pbcType == PbcType::
XY && fr->nwall == 2)
{
grid->nboundeddim = 3;
}