prevent clang-format from messing up Style macros

This commit is contained in:
Axel Kohlmeyer
2022-08-30 13:20:59 -04:00
parent 8cae52a2cf
commit 3c52be6a44
4 changed files with 10 additions and 2 deletions

View File

@ -17,7 +17,9 @@
------------------------------------------------------------------------- */
#ifdef ANGLE_CLASS
// clang-format off
AngleStyle(mesocnt, AngleMesoCNT);
// clang-format on
#else
#ifndef LMP_ANGLE_MESOCNT_H

View File

@ -17,7 +17,9 @@
------------------------------------------------------------------------- */
#ifdef BOND_CLASS
// clang-format off
BondStyle(mesocnt, BondMesoCNT);
// clang-format on
#else
#ifndef LMP_BOND_MESOCNT_H

View File

@ -17,7 +17,9 @@
------------------------------------------------------------------------- */
#ifdef PAIR_CLASS
// clang-format off
PairStyle(mesocnt, PairMesoCNT);
// clang-format on
#else
#ifndef LMP_PAIR_MESOCNT_H

View File

@ -15,11 +15,13 @@
Contributing author: Philipp Kloza (University of Cambridge)
pak37@cam.ac.uk
------------------------------------------------------------------------- */
#ifdef PAIR_CLASS
PairStyle(mesocnt / viscous, PairMesoCNTViscous);
// clang-format off
PairStyle(mesocnt/viscous, PairMesoCNTViscous);
// clang-format on
#else
#ifndef LMP_PAIR_MESOCNT_VISCOUS_H
#define LMP_PAIR_MESOCNT_VISCOUS_H