From 0cb657c21c0a767a2563f98d656e1dc63a76e131 Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Thu, 16 Nov 2023 13:53:12 -0500 Subject: [PATCH] Run pre-commit. --- hoomd/md/EvaluatorExternalElectricField.h | 3 ++- hoomd/md/EvaluatorExternalMagneticField.h | 3 ++- hoomd/md/EvaluatorExternalPeriodic.h | 3 ++- hoomd/md/EvaluatorWalls.h | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hoomd/md/EvaluatorExternalElectricField.h b/hoomd/md/EvaluatorExternalElectricField.h index 8c9d12a4c4..c04688874c 100644 --- a/hoomd/md/EvaluatorExternalElectricField.h +++ b/hoomd/md/EvaluatorExternalElectricField.h @@ -117,7 +117,8 @@ class EvaluatorExternalElectricField \param energy value of the energy \param virial array of six scalars for the upper triangular virial tensor */ - DEVICE void evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) + DEVICE void + evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) { F = m_qi * m_E; energy = -m_qi * dot(m_E, m_pos); diff --git a/hoomd/md/EvaluatorExternalMagneticField.h b/hoomd/md/EvaluatorExternalMagneticField.h index cb1a244b47..d3fb39e211 100644 --- a/hoomd/md/EvaluatorExternalMagneticField.h +++ b/hoomd/md/EvaluatorExternalMagneticField.h @@ -121,7 +121,8 @@ class EvaluatorExternalMagneticField \param energy value of the energy \param virial array of six scalars for the upper triangular virial tensor */ - DEVICE void evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) + DEVICE void + evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) { vec3 dir = rotate(m_q, m_mu); diff --git a/hoomd/md/EvaluatorExternalPeriodic.h b/hoomd/md/EvaluatorExternalPeriodic.h index 0b6cd55f32..ddc4b24bc6 100644 --- a/hoomd/md/EvaluatorExternalPeriodic.h +++ b/hoomd/md/EvaluatorExternalPeriodic.h @@ -128,7 +128,8 @@ class EvaluatorExternalPeriodic \param energy value of the energy \param virial array of six scalars for the upper triangular virial tensor */ - DEVICE void evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) + DEVICE void + evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) { Scalar3 a2 = make_scalar3(0, 0, 0); Scalar3 a3 = make_scalar3(0, 0, 0); diff --git a/hoomd/md/EvaluatorWalls.h b/hoomd/md/EvaluatorWalls.h index 87741271cc..4535c54e92 100644 --- a/hoomd/md/EvaluatorWalls.h +++ b/hoomd/md/EvaluatorWalls.h @@ -238,7 +238,8 @@ template class EvaluatorWalls } //! Generates force and energy from standard evaluators using wall geometry functions - DEVICE void evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) + DEVICE void + evalForceTorqueEnergyAndVirial(Scalar3& F, Scalar3& T, Scalar& energy, Scalar* virial) { F.x = Scalar(0.0); F.y = Scalar(0.0);