Commit ae499b98 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make Plumed.cpp obsolete in USER-PLUMED code by inserting it into fix_plumed.cpp

parent 925d6d37
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -16,6 +16,29 @@
#include "modify.h"
#include "pair.h"

/*
  Do not link plumed directly but rather do it at runtime
*/
#define __PLUMED_WRAPPER_LINK_RUNTIME 1

/*
  Make sure the inline C++ interface is not included here.
  Should not be necessary, but it doesn't hurt.
*/
#define __PLUMED_WRAPPER_CXX 0

/*
  Tell Plumed.h to emit the whole implementation
*/
#define __PLUMED_WRAPPER_IMPLEMENTATION 1

/*
  Emit fortran wrappers
*/
#define __PLUMED_WRAPPER_FORTRAN 1

#include "Plumed.h"

using namespace LAMMPS_NS;
using namespace PLMD;
using namespace FixConst;