Fixing issue where __INTEL_COMPILER not defined for next-gen (LLVM-based) in tersoff.

This commit is contained in:
Mike Brown
2021-07-19 17:49:11 -07:00
parent 596845c8ef
commit 1345c25f41

View File

@ -24,12 +24,12 @@ PairStyle(tersoff/intel,PairTersoffIntel);
#ifndef LMP_PAIR_TERSOFF_INTEL_H
#define LMP_PAIR_TERSOFF_INTEL_H
#ifdef __INTEL_COMPILER
#include "pair.h"
#include "fix_intel.h"
#include "pair_tersoff.h"
#ifdef __INTEL_COMPILER
namespace LAMMPS_NS {
class PairTersoffIntel : public PairTersoff {