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

Namespaces

 PLMD
 

Macros

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

Macro Definition Documentation

◆ CHECK_INIT

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

◆ CHECK_NOTINIT

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

◆ CHECK_NOTNULL

#define CHECK_NOTNULL (   val,
  word 
)    plumed_assert(val) << "NULL pointer received in cmd(\"GREX " << word << "\")"