All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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>

Go to the source code of this file.

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")

Definition at line 53 of file GREX.cpp.

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

Definition at line 54 of file GREX.cpp.

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

Definition at line 55 of file GREX.cpp.