prevent clang-format from messing up Style macros
This commit is contained in:
@ -17,7 +17,9 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef ANGLE_CLASS
|
||||
// clang-format off
|
||||
AngleStyle(mesocnt, AngleMesoCNT);
|
||||
// clang-format on
|
||||
#else
|
||||
|
||||
#ifndef LMP_ANGLE_MESOCNT_H
|
||||
|
||||
@ -17,7 +17,9 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef BOND_CLASS
|
||||
// clang-format off
|
||||
BondStyle(mesocnt, BondMesoCNT);
|
||||
// clang-format on
|
||||
#else
|
||||
|
||||
#ifndef LMP_BOND_MESOCNT_H
|
||||
|
||||
@ -17,7 +17,9 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef PAIR_CLASS
|
||||
// clang-format off
|
||||
PairStyle(mesocnt, PairMesoCNT);
|
||||
// clang-format on
|
||||
#else
|
||||
|
||||
#ifndef LMP_PAIR_MESOCNT_H
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user