Clang-format.
authorSebastian Kehl <sebastian.kehl@mpcdf.mpg.de>
Fri, 1 Oct 2021 17:45:44 +0000 (19:45 +0200)
committerMagnus Lundborg <magnus.lundborg@scilifelab.se>
Tue, 5 Oct 2021 11:38:46 +0000 (11:38 +0000)
src/gromacs/gmxlib/nonbonded/nb_softcore.h

index 501ddb1eb9dfe5e1288b27f0817438bda87b18ba..5db070ff42a034ff04ff04d783f45d6ab7ec1cc6 100644 (file)
 
 /* linearized electrostatics */
 template<bool computeForces, class RealType, class BoolType>
-static inline void quadraticApproximationCoulomb(const RealType       qq,
-                                                 const RealType       rInvQ,
-                                                 const RealType       r,
-                                                 const real           lambdaFac,
-                                                 const real           dLambdaFac,
+static inline void quadraticApproximationCoulomb(const RealType qq,
+                                                 const RealType rInvQ,
+                                                 const RealType r,
+                                                 const real     lambdaFac,
+                                                 const real     dLambdaFac,
                                                  RealType gmx_unused* force,
                                                  RealType*            potential,
                                                  RealType*            dvdl,
@@ -72,15 +72,15 @@ static inline void quadraticApproximationCoulomb(const RealType       qq,
 
 /* reaction-field linearized electrostatics */
 template<bool computeForces, class RealType, class BoolType>
-static inline void reactionFieldQuadraticPotential(const RealType       qq,
-                                                   const real           facel,
-                                                   const RealType       r,
-                                                   const real           rCutoff,
-                                                   const real           lambdaFac,
-                                                   const real           dLambdaFac,
-                                                   const RealType       alphaEff,
-                                                   const real           krf,
-                                                   const real           potentialShift,
+static inline void reactionFieldQuadraticPotential(const RealType qq,
+                                                   const real     facel,
+                                                   const RealType r,
+                                                   const real     rCutoff,
+                                                   const real     lambdaFac,
+                                                   const real     dLambdaFac,
+                                                   const RealType alphaEff,
+                                                   const real     krf,
+                                                   const real     potentialShift,
                                                    RealType gmx_unused* force,
                                                    RealType*            potential,
                                                    RealType*            dvdl,
@@ -133,14 +133,14 @@ static inline void reactionFieldQuadraticPotential(const RealType       qq,
 
 /* ewald linearized electrostatics */
 template<bool computeForces, class RealType, class BoolType>
-static inline void ewaldQuadraticPotential(const RealType       qq,
-                                           const real           facel,
-                                           const RealType       r,
-                                           const real           rCutoff,
-                                           const real           lambdaFac,
-                                           const real           dLambdaFac,
-                                           const RealType       alphaEff,
-                                           const real           potentialShift,
+static inline void ewaldQuadraticPotential(const RealType qq,
+                                           const real     facel,
+                                           const RealType r,
+                                           const real     rCutoff,
+                                           const real     lambdaFac,
+                                           const real     dLambdaFac,
+                                           const RealType alphaEff,
+                                           const real     potentialShift,
                                            RealType gmx_unused* force,
                                            RealType*            potential,
                                            RealType*            dvdl,
@@ -192,16 +192,16 @@ static inline void ewaldQuadraticPotential(const RealType       qq,
 
 /* cutoff LJ with quadratic appximation of lj-potential */
 template<bool computeForces, class RealType, class BoolType>
-static inline void lennardJonesQuadraticPotential(const RealType       c6,
-                                                  const RealType       c12,
-                                                  const RealType       r,
-                                                  const RealType       rsq,
-                                                  const real           lambdaFac,
-                                                  const real           dLambdaFac,
-                                                  const RealType       sigma6,
-                                                  const RealType       alphaEff,
-                                                  const real           repulsionShift,
-                                                  const real           dispersionShift,
+static inline void lennardJonesQuadraticPotential(const RealType c6,
+                                                  const RealType c12,
+                                                  const RealType r,
+                                                  const RealType rsq,
+                                                  const real     lambdaFac,
+                                                  const real     dLambdaFac,
+                                                  const RealType sigma6,
+                                                  const RealType alphaEff,
+                                                  const real     repulsionShift,
+                                                  const real     dispersionShift,
                                                   RealType gmx_unused* force,
                                                   RealType*            potential,
                                                   RealType*            dvdl,