Update some doc strings to make future merges more concise.
*/
void compute(gmx::ArrayRef<const Vec3> coordinates, gmx::ArrayRef<Vec3> forces, bool usePbc = false);
- //! Alternative overload with the energies in an output buffer
+ //! \brief Alternative overload with the energies in an output buffer
void compute(gmx::ArrayRef<const Vec3> coordinates,
gmx::ArrayRef<Vec3> forces,
EnergyType& energies,
bool usePbc = false);
- /*! \brief We need to declare the destructor here to move the (still default) implementation
- * to the .cpp file. Omitting this declaration would mean an inline destructor
- * which can't compile because the unique_ptr dtor needs ~ForceBuffer, which is not available
- * here because it's incomplete.
- */
+ //! \brief default, but moved to separate compilation unit
~ListedForceCalculator();
private:
/*! this trait maps nblib InteractionTypes to the corresponding gmx enum
*
- * @tparam InteractionType
+ * \tparam InteractionType
*/
template<class InteractionType>
struct ListedIndex
{
}
+//! \brief Harmonic bond parameter conversion function
template<>
void transferParameters(const ListedTypeData<HarmonicBondType>& interactions, gmx_ffparams_t& gmx_params)
{
}
}
+//! \brief Harmonic angle parameter conversion function
template<>
void transferParameters(const ListedTypeData<HarmonicAngle>& interactions, gmx_ffparams_t& gmx_params)
{
}
}
+//! \brief Proper dihedral parameter conversion function
template<>
void transferParameters(const ListedTypeData<ProperDihedral>& interactions, gmx_ffparams_t& gmx_params)
{
}
catch (const std::out_of_range& outOfRange)
{
- // TODO: use string format function once we have it
if (moleculeName.value() == residueName.value())
{
printf("No particle %s in residue %s in molecule %s found\n",
//! Named type for particle mass
using Mass = StrongType<real, struct MassParameter>;
-// Shorthand for a map used for looking up non-bonded parameters using particle types
+//! Shorthand for a map used for looking up non-bonded parameters using particle types
//! Named type for the C6 parameter in the Lennard-Jones potential
using C6 = StrongType<real, struct C6Parameter>;
//! Named type for the C12 parameter in the Lennard-Jones potential
#include "nblib/simulationstate.h"
#include "nblib/simulationstateimpl.h"
#include "nblib/util/setup.h"
+#include "nblib/vector.h"
namespace nblib
{
#include <memory>
#include <vector>
-#include "box.h"
-#include "topology.h"
-#include "vector.h"
+#include "nblib/box.h"
+#include "nblib/topology.h"
+#include "nblib/vector.h"
namespace nblib
{