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>

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_NULL(val, word)   plumed_massert(val,"NULL pointer received in cmd(\"GREX " + word + "\")");
 

Macro Definition Documentation

#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_NULL (   val,
  word 
)    plumed_massert(val,"NULL pointer received in cmd(\"GREX " + word + "\")");