Loading...
Searching...
No Matches
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

namespace  PLMD

Macros

#define CHECK_INIT(ini, word)
#define CHECK_NOTINIT(ini, word)
#define CHECK_NOTNULL(val, word)

Macro Definition Documentation

◆ CHECK_INIT

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

◆ CHECK_NOTINIT

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

◆ CHECK_NOTNULL

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