Refactor half neighbor lists code

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2022-03-18 01:28:11 +01:00
parent 5df544637f
commit e7737e9151
5 changed files with 33 additions and 56 deletions

View File

@@ -181,6 +181,10 @@ int main(int argc, char** argv) {
param.nz = atoi(argv[++i]);
continue;
}
if((strcmp(argv[i], "-half") == 0)) {
param.half_neigh = atoi(argv[++i]);
continue;
}
if((strcmp(argv[i], "-r") == 0) || (strcmp(argv[i], "--radius") == 0)) {
param.cutforce = atof(argv[++i]);
continue;