diff --git a/src/INTEL/angle_charmm_intel.h b/src/INTEL/angle_charmm_intel.h index 35a9578b2d..3419fe3a3e 100644 --- a/src/INTEL/angle_charmm_intel.h +++ b/src/INTEL/angle_charmm_intel.h @@ -59,7 +59,7 @@ class AngleCharmmIntel : public AngleCharmm { fc_packed1 *fc; ForceConst() : fc(nullptr), _nangletypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int nangletypes, Memory *memory); diff --git a/src/INTEL/angle_harmonic_intel.h b/src/INTEL/angle_harmonic_intel.h index 786cb496db..c69147c87e 100644 --- a/src/INTEL/angle_harmonic_intel.h +++ b/src/INTEL/angle_harmonic_intel.h @@ -60,7 +60,7 @@ class AngleHarmonicIntel : public AngleHarmonic { fc_packed1 *fc; ForceConst() : fc(nullptr), _nangletypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int nangletypes, Memory *memory); diff --git a/src/INTEL/bond_fene_intel.h b/src/INTEL/bond_fene_intel.h index 062f27b15b..ec4645cb60 100644 --- a/src/INTEL/bond_fene_intel.h +++ b/src/INTEL/bond_fene_intel.h @@ -59,7 +59,7 @@ class BondFENEIntel : public BondFENE { fc_packed1 *fc; ForceConst() : fc(nullptr), _nbondtypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int nbondtypes, Memory *memory); diff --git a/src/INTEL/bond_harmonic_intel.h b/src/INTEL/bond_harmonic_intel.h index 5223355874..3233a7e985 100644 --- a/src/INTEL/bond_harmonic_intel.h +++ b/src/INTEL/bond_harmonic_intel.h @@ -59,7 +59,7 @@ class BondHarmonicIntel : public BondHarmonic { fc_packed1 *fc; ForceConst() : fc(nullptr), _nbondtypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int nbondtypes, Memory *memory); diff --git a/src/INTEL/dihedral_charmm_intel.h b/src/INTEL/dihedral_charmm_intel.h index 8dea498f6f..a0f797b062 100644 --- a/src/INTEL/dihedral_charmm_intel.h +++ b/src/INTEL/dihedral_charmm_intel.h @@ -68,7 +68,7 @@ class DihedralCharmmIntel : public DihedralCharmm { flt_t *weight; ForceConst() : ljp(nullptr), fc(nullptr), weight(nullptr), _npairtypes(0), _ndihderaltypes(0) {} - ~ForceConst() { set_ntypes(0, 0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, nullptr); } void set_ntypes(const int npairtypes, const int ndihderaltypes, Memory *memory); diff --git a/src/INTEL/dihedral_fourier_intel.h b/src/INTEL/dihedral_fourier_intel.h index 5d8c4fec85..c731de4109 100644 --- a/src/INTEL/dihedral_fourier_intel.h +++ b/src/INTEL/dihedral_fourier_intel.h @@ -63,7 +63,7 @@ class DihedralFourierIntel : public DihedralFourier { fc_packed1 **fc; ForceConst() : fc(nullptr), _ndihedraltypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr, nullptr, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr, nullptr, nullptr); } void set_ntypes(const int ndihedraltypes, int *setflag, int *nterms, Memory *memory); diff --git a/src/INTEL/dihedral_harmonic_intel.h b/src/INTEL/dihedral_harmonic_intel.h index de609409a5..9a1d9a5e76 100644 --- a/src/INTEL/dihedral_harmonic_intel.h +++ b/src/INTEL/dihedral_harmonic_intel.h @@ -63,7 +63,7 @@ class DihedralHarmonicIntel : public DihedralHarmonic { fc_packed1 *fc; ForceConst() : fc(nullptr), _ndihderaltypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int ndihderaltypes, Memory *memory); diff --git a/src/INTEL/dihedral_opls_intel.h b/src/INTEL/dihedral_opls_intel.h index b8cd98a7b0..3332bd9818 100644 --- a/src/INTEL/dihedral_opls_intel.h +++ b/src/INTEL/dihedral_opls_intel.h @@ -62,7 +62,7 @@ class DihedralOPLSIntel : public DihedralOPLS { fc_packed1 *fc; ForceConst() : fc(nullptr), _ndihderaltypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int ndihderaltypes, Memory *memory); diff --git a/src/INTEL/improper_cvff_intel.h b/src/INTEL/improper_cvff_intel.h index 234dc0f010..f8322eacf9 100644 --- a/src/INTEL/improper_cvff_intel.h +++ b/src/INTEL/improper_cvff_intel.h @@ -61,7 +61,7 @@ class ImproperCvffIntel : public ImproperCvff { fc_packed1 *fc; ForceConst() : fc(nullptr), _nimpropertypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int nimpropertypes, Memory *memory); diff --git a/src/INTEL/improper_harmonic_intel.h b/src/INTEL/improper_harmonic_intel.h index 648288b97a..c6189c5945 100644 --- a/src/INTEL/improper_harmonic_intel.h +++ b/src/INTEL/improper_harmonic_intel.h @@ -60,7 +60,7 @@ class ImproperHarmonicIntel : public ImproperHarmonic { fc_packed1 *fc; ForceConst() : fc(nullptr), _nimpropertypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr); } void set_ntypes(const int nimpropertypes, Memory *memory); diff --git a/src/INTEL/pair_buck_coul_cut_intel.h b/src/INTEL/pair_buck_coul_cut_intel.h index 6635096b14..476c02529b 100644 --- a/src/INTEL/pair_buck_coul_cut_intel.h +++ b/src/INTEL/pair_buck_coul_cut_intel.h @@ -77,7 +77,7 @@ class PairBuckCoulCutIntel : public PairBuckCoulCut { c_cut_t **c_cut; ForceConst() : _ntypes(0), _ntable(0) {} - ~ForceConst() { set_ntypes(0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int ntable, Memory *memory, const int cop); diff --git a/src/INTEL/pair_buck_coul_long_intel.h b/src/INTEL/pair_buck_coul_long_intel.h index 638fe7f18c..92e7935c7c 100644 --- a/src/INTEL/pair_buck_coul_long_intel.h +++ b/src/INTEL/pair_buck_coul_long_intel.h @@ -79,7 +79,7 @@ class PairBuckCoulLongIntel : public PairBuckCoulLong { flt_t *etable, *detable, *ctable, *dctable; ForceConst() : _ntypes(0), _ntable(0) {} - ~ForceConst() { set_ntypes(0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int ntable, Memory *memory, const int cop); diff --git a/src/INTEL/pair_buck_intel.h b/src/INTEL/pair_buck_intel.h index 643defe6dd..4974a9b600 100644 --- a/src/INTEL/pair_buck_intel.h +++ b/src/INTEL/pair_buck_intel.h @@ -73,7 +73,7 @@ class PairBuckIntel : public PairBuck { c_energy_t **c_energy; ForceConst() : _ntypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr, _cop); } void set_ntypes(const int ntypes, Memory *memory, const int cop); diff --git a/src/INTEL/pair_dpd_intel.h b/src/INTEL/pair_dpd_intel.h index 87cf39be41..bee7b68e08 100644 --- a/src/INTEL/pair_dpd_intel.h +++ b/src/INTEL/pair_dpd_intel.h @@ -83,7 +83,7 @@ class PairDPDIntel : public PairDPD { int *rngi; ForceConst() : _ntypes(0) {} - ~ForceConst() { set_ntypes(0, 0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int nthreads, const int max_nbors, Memory *memory, const int cop); diff --git a/src/INTEL/pair_eam_intel.h b/src/INTEL/pair_eam_intel.h index 41b533bf95..517dfdbb84 100644 --- a/src/INTEL/pair_eam_intel.h +++ b/src/INTEL/pair_eam_intel.h @@ -73,7 +73,7 @@ class PairEAMIntel : public PairEAM { fc_packed2 *z2r_spline_t; ForceConst() : _ntypes(0), _nr(0) {} - ~ForceConst() { set_ntypes(0, 0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int nr, const int nrho, Memory *memory, const int cop); inline int rhor_jstride() const { return _nr; } diff --git a/src/INTEL/pair_gayberne_intel.h b/src/INTEL/pair_gayberne_intel.h index 88870a2f59..4bc6854fe0 100644 --- a/src/INTEL/pair_gayberne_intel.h +++ b/src/INTEL/pair_gayberne_intel.h @@ -76,7 +76,7 @@ class PairGayBerneIntel : public PairGayBerne { int **jtype_form, **jlist_form; ForceConst() : _ntypes(0) {} - ~ForceConst() { set_ntypes(0, 0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int one_length, const int nthreads, Memory *memory, const int cop); diff --git a/src/INTEL/pair_lj_charmm_coul_charmm_intel.h b/src/INTEL/pair_lj_charmm_coul_charmm_intel.h index cafb6b913c..8122ff096d 100644 --- a/src/INTEL/pair_lj_charmm_coul_charmm_intel.h +++ b/src/INTEL/pair_lj_charmm_coul_charmm_intel.h @@ -68,7 +68,7 @@ class PairLJCharmmCoulCharmmIntel : public PairLJCharmmCoulCharmm { typename IntelBuffers::vec4_t **lj; ForceConst() : _ntypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr, _cop); } void set_ntypes(const int ntypes, Memory *memory, const int cop); diff --git a/src/INTEL/pair_lj_charmm_coul_long_intel.h b/src/INTEL/pair_lj_charmm_coul_long_intel.h index acc58028a2..a105af8712 100644 --- a/src/INTEL/pair_lj_charmm_coul_long_intel.h +++ b/src/INTEL/pair_lj_charmm_coul_long_intel.h @@ -73,7 +73,7 @@ class PairLJCharmmCoulLongIntel : public PairLJCharmmCoulLong { typename IntelBuffers::vec2_t **lj; ForceConst() : _ntypes(0), _ntable(0) {} - ~ForceConst() { set_ntypes(0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int ntable, Memory *memory, const int cop); diff --git a/src/INTEL/pair_lj_cut_coul_long_intel.h b/src/INTEL/pair_lj_cut_coul_long_intel.h index d816154554..0bc3935c18 100644 --- a/src/INTEL/pair_lj_cut_coul_long_intel.h +++ b/src/INTEL/pair_lj_cut_coul_long_intel.h @@ -78,7 +78,7 @@ class PairLJCutCoulLongIntel : public PairLJCutCoulLong { flt_t *etable, *detable, *ctable, *dctable; ForceConst() : _ntypes(0), _ntable(0) {} - ~ForceConst() { set_ntypes(0, 0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, 0, nullptr, _cop); } void set_ntypes(const int ntypes, const int ntable, Memory *memory, const int cop); diff --git a/src/INTEL/pair_lj_cut_intel.h b/src/INTEL/pair_lj_cut_intel.h index 54b58869a5..70c9884ef7 100644 --- a/src/INTEL/pair_lj_cut_intel.h +++ b/src/INTEL/pair_lj_cut_intel.h @@ -69,7 +69,7 @@ class PairLJCutIntel : public PairLJCut { fc_packed2 **lj34; ForceConst() : _ntypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr, _cop); } void set_ntypes(const int ntypes, Memory *memory, const int cop); diff --git a/src/INTEL/pair_sw_intel.h b/src/INTEL/pair_sw_intel.h index e0425421bc..b6c534e27f 100644 --- a/src/INTEL/pair_sw_intel.h +++ b/src/INTEL/pair_sw_intel.h @@ -85,7 +85,7 @@ class PairSWIntel : public PairSW { fc_packed3 ***p3; ForceConst() : p2(0), p2f(0), p2f2(0), p2e(0), p3(0), _ntypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr, _cop); } void set_ntypes(const int ntypes, Memory *memory, const int cop); diff --git a/src/INTEL/pair_tersoff_intel.h b/src/INTEL/pair_tersoff_intel.h index 14a0b7c520..abbca51809 100644 --- a/src/INTEL/pair_tersoff_intel.h +++ b/src/INTEL/pair_tersoff_intel.h @@ -84,7 +84,7 @@ class PairTersoffIntel : public PairTersoff { c_outer_t **c_outer; c_inner_t ***c_inner; ForceConst() : _ntypes(0) {} - ~ForceConst() { set_ntypes(0, nullptr, _cop); } + ~ForceConst() noexcept(false) { set_ntypes(0, nullptr, _cop); } void set_ntypes(const int ntypes, Memory *memory, const int cop);