
% Set flags depending on which engine this manual is built for

\cvgromacsonly{
\def\cvsimulationengine{1} % This backend is a simulation engine
\def\gromacsmdmodule{1} % This is the native interface (long-term support)
}

\cvlammpsonly{
\def\cvsimulationengine{1}
\def\cvlammpsornamd{1}
\def\cvscriptapi{1} % Supports the scripting API
\def\cvscriptcmdapi{1} % Supports command-line scripting (via fix_modify)
\newcommand{\cvscriptcmd}{fix\_modify~Colvars}
}

\cvnamdonly{
\def\cvsimulationengine{1}
\def\cvlammpsornamd{1}
\def\cvvmdornamd{1}
\def\cvscriptapi{1}
\def\cvscriptcallbacks{1} % Supports script callbacks (via Tcl)
\def\cvscriptcmdapi{1} % Supports command-line scripting (via cv Tcl command)
\newcommand{\cvscriptcmd}{cv}
}

\cvtinkerhponly{
\def\cvsimulationengine{1}
\def\cvscriptcallbacks{1} % Supports script callbacks (via Tcl)
}

\cvvmdonly{
\def\cvvmdornamd{1}
\def\cvscriptapi{1}
\def\cvscriptcallbacks{1} % Supports script callbacks (via Tcl)
\def\cvscriptcmdapi{1}
\newcommand{\cvscriptcmd}{cv}
}
