next iteration of preparing for clang-format
This commit is contained in:
@ -56,15 +56,17 @@ void WriteDump::command(int narg, char **arg)
|
||||
for (int i = 2; i < modindex; ++i)
|
||||
dumpargs[i+2] = arg[i];
|
||||
|
||||
if (0) return; // dummy line to enable else-if macro expansion
|
||||
if (0) {
|
||||
return; // dummy line to enable else-if macro expansion
|
||||
|
||||
#define DUMP_CLASS
|
||||
#define DumpStyle(key,Class) \
|
||||
else if (strcmp(arg[1],#key) == 0) dump = new Class(lmp,modindex+2,dumpargs);
|
||||
} else if (strcmp(arg[1],#key) == 0) { \
|
||||
dump = new Class(lmp,modindex+2,dumpargs);
|
||||
#include "style_dump.h"
|
||||
#undef DUMP_CLASS
|
||||
|
||||
else error->all(FLERR,utils::check_packages_for_style("dump",arg[1],lmp));
|
||||
} else error->all(FLERR,utils::check_packages_for_style("dump",arg[1],lmp));
|
||||
|
||||
if (modindex < narg) dump->modify_params(narg-modindex-1,&arg[modindex+1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user