Namespaces | Macros
GREX.cpp File Reference
#include "GREX.h"
#include "PlumedMain.h"
#include "Atoms.h"
#include "tools/Tools.h"
#include "tools/Communicator.h"
#include <sstream>
#include <unordered_map>
#include "GREXEnum.inc"
#include "GREXMap.inc"

Namespaces

 PLMD
 

Macros

#define CHECK_INIT(ini, word)   plumed_massert(ini,"cmd(\"" + word +"\") should be only used after GREX initialization")
 
#define CHECK_NOTINIT(ini, word)   plumed_massert(!(ini),"cmd(\"" + word +"\") should be only used before GREX initialization")
 
#define CHECK_NOTNULL(val, word)   plumed_massert(val,"NULL pointer received in cmd(\"GREX " + word + "\")");
 

Macro Definition Documentation

◆ CHECK_INIT

#define CHECK_INIT (   ini,
  word 
)    plumed_massert(ini,"cmd(\"" + word +"\") should be only used after GREX initialization")

◆ CHECK_NOTINIT

#define CHECK_NOTINIT (   ini,
  word 
)    plumed_massert(!(ini),"cmd(\"" + word +"\") should be only used before GREX initialization")

◆ CHECK_NOTNULL

#define CHECK_NOTNULL (   val,
  word 
)    plumed_massert(val,"NULL pointer received in cmd(\"GREX " + word + "\")");