disable clang-tidy on some code
This commit is contained in:
@ -67,6 +67,7 @@ void PairEAMOpt::compute(int eflag, int vflag)
|
||||
|
||||
template <int EVFLAG, int EFLAG, int NEWTON_PAIR> void PairEAMOpt::eval()
|
||||
{
|
||||
// NOLINTBEGIN
|
||||
typedef struct {
|
||||
double x, y, z;
|
||||
} vec3_t;
|
||||
@ -82,6 +83,7 @@ template <int EVFLAG, int EFLAG, int NEWTON_PAIR> void PairEAMOpt::eval()
|
||||
double z2r0, z2r1, z2r2, z2r3, z2r4, z2r5, z2r6;
|
||||
double _pad[3];
|
||||
} fast_gamma_t;
|
||||
// NOLINTEND
|
||||
|
||||
int i, j, ii, jj, inum, jnum, itype, jtype;
|
||||
double evdwl = 0.0;
|
||||
|
||||
@ -61,13 +61,14 @@ void PairLJCharmmCoulLongOpt::compute(int eflag, int vflag)
|
||||
template < int EVFLAG, int EFLAG, int NEWTON_PAIR >
|
||||
void PairLJCharmmCoulLongOpt::eval()
|
||||
{
|
||||
// NOLINTBEGIN
|
||||
typedef struct { double x,y,z; } vec3_t;
|
||||
|
||||
typedef struct {
|
||||
double cutsq,lj1,lj2,lj3,lj4,offset;
|
||||
double _pad[2];
|
||||
} fast_alpha_t;
|
||||
|
||||
// NOLINTEND
|
||||
int i,j,ii,jj,inum,jnum,itype,jtype,itable,sbindex;
|
||||
double fraction,table;
|
||||
double r,r2inv,r6inv,forcecoul,forcelj,factor_coul,factor_lj;
|
||||
|
||||
@ -56,12 +56,14 @@ void PairLJCutOpt::compute(int eflag, int vflag)
|
||||
template < int EVFLAG, int EFLAG, int NEWTON_PAIR >
|
||||
void PairLJCutOpt::eval()
|
||||
{
|
||||
// NOLINTBEGIN
|
||||
typedef struct { double x,y,z; } vec3_t;
|
||||
|
||||
typedef struct {
|
||||
double cutsq,lj1,lj2,lj3,lj4,offset;
|
||||
double _pad[2];
|
||||
} fast_alpha_t;
|
||||
// NOLINTEND
|
||||
|
||||
int i,j,ii,jj,inum,jnum,itype,jtype,sbindex;
|
||||
double factor_lj;
|
||||
|
||||
@ -57,12 +57,14 @@ void PairMorseOpt::compute(int eflag, int vflag)
|
||||
template < int EVFLAG, int EFLAG, int NEWTON_PAIR >
|
||||
void PairMorseOpt::eval()
|
||||
{
|
||||
// NOLINTBEGIN
|
||||
typedef struct { double x,y,z; } vec3_t;
|
||||
|
||||
typedef struct {
|
||||
double cutsq,r0,alpha,morse1,d0,offset;
|
||||
double _pad[2];
|
||||
} fast_alpha_t;
|
||||
// NOLINTEND
|
||||
|
||||
int i,j,ii,jj,inum,jnum,itype,jtype,sbindex;
|
||||
double factor_lj;
|
||||
|
||||
@ -56,12 +56,14 @@ void PairUFMOpt::compute(int eflag, int vflag)
|
||||
template < int EVFLAG, int EFLAG, int NEWTON_PAIR >
|
||||
void PairUFMOpt::eval()
|
||||
{
|
||||
// NOLINTBEGIN
|
||||
typedef struct { double x,y,z; } vec3_t;
|
||||
|
||||
typedef struct {
|
||||
double cutsq,uf1,uf2,uf3,scale,offset;
|
||||
double _pad[2];
|
||||
} fast_alpha_t;
|
||||
// NOLINTEND
|
||||
|
||||
int i,j,ii,jj,inum,jnum,itype,jtype,sbindex;
|
||||
double factor_lj;
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
// NOLINTBEGIN
|
||||
|
||||
typedef void *(lammpsplugin_factory1) (void *);
|
||||
typedef void *(lammpsplugin_factory2) (void *, int, char **);
|
||||
@ -42,6 +43,7 @@ typedef void (*lammpsplugin_initfunc)(void *, void *, void *);
|
||||
// to load a plugin; uses C bindings
|
||||
|
||||
void lammpsplugin_init(void *, void *, void *);
|
||||
// NOLINTEND
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@ -38,6 +38,8 @@
|
||||
#include <stdint.h> /* for int64_t */
|
||||
#endif
|
||||
|
||||
// NOLINTBEGIN
|
||||
|
||||
/** Data type constants for extracting data from atoms, computes and fixes
|
||||
*
|
||||
* Must be kept in sync with the equivalent constants in ``python/lammps/constants.py``,
|
||||
@ -300,13 +302,11 @@ int64_t lammps_encode_image_flags(int ix, int iy, int iz);
|
||||
void lammps_decode_image_flags(int64_t image, int *flags);
|
||||
#endif
|
||||
|
||||
// BEGIN_NOLINT
|
||||
#if defined(LAMMPS_BIGBIG)
|
||||
typedef void (*FixExternalFnPtr)(void *, int64_t, int, int64_t *, double **, double **);
|
||||
#else
|
||||
typedef void (*FixExternalFnPtr)(void *, int64_t, int, int *, double **, double **);
|
||||
#endif
|
||||
// END_NOLINT
|
||||
|
||||
void lammps_set_fix_external_callback(void *handle, const char *id, FixExternalFnPtr funcptr,
|
||||
void *ptr);
|
||||
@ -330,6 +330,7 @@ int lammps_get_last_error_message(void *handle, char *buffer, int buf_size);
|
||||
int lammps_set_show_error(void *handle, const int flag);
|
||||
|
||||
int lammps_python_api_version();
|
||||
// NOLINTBEGIN
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user