apply simplifications to standard packages

This commit is contained in:
Axel Kohlmeyer
2020-06-29 00:06:28 -04:00
parent a1c0b78a3a
commit 3a0ae83c96
21 changed files with 88 additions and 219 deletions

View File

@ -14,6 +14,7 @@
#include "hyper.h"
#include <mpi.h>
#include <cstring>
#include <string>
#include "update.h"
#include "domain.h"
#include "region.h"
@ -100,13 +101,8 @@ void Hyper::command(int narg, char **arg)
// create FixEventHyper class to store event and pre-quench states
char **args = new char*[3];
args[0] = (char *) "hyper_event";
args[1] = (char *) "all";
args[2] = (char *) "EVENT/HYPER";
modify->add_fix(3,args);
modify->add_fix("hyper_event all EVENT/HYPER");
fix_event = (FixEventHyper *) modify->fix[modify->nfix-1];
delete [] args;
// create Finish for timing output