# would not convey the right information.
add_library(lmfit INTERFACE)
target_sources(lmfit INTERFACE $<TARGET_OBJECTS:lmfit_objlib>)
- target_include_directories(lmfit INTERFACE $<BUILD_INTERFACE:${BUNDLED_LMFIT_DIR}>)
+ target_include_directories(lmfit SYSTEM INTERFACE $<BUILD_INTERFACE:${BUNDLED_LMFIT_DIR}>)
# Add the lmfit interface library to the libgromacs Export name, even though
# we will not be installing any content.
install(TARGETS lmfit EXPORT libgromacs)
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2017,2018,2019, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
ed.endTime_ = tempValues[0][ed.nrLines_-1];
for (int j = 0; j < ed.nrLines_; j++)
{
- ed.x_.push_back((real)tempValues[0][j]);
- ed.y_.push_back((real)tempValues[1][j]);
+ ed.x_.push_back(static_cast<real>(tempValues[0][j]));
+ ed.y_.push_back(static_cast<real>(tempValues[1][j]));
}
data_.push_back(ed);
#endif
}
- if (!GMX_SIMD_HAVE_LOGICAL && !GMX_SIMD_HAVE_INT32_LOGICAL)
+ if (!GMX_SIMD_HAVE_LOGICAL && !GMX_SIMD_HAVE_INT32_LOGICAL) // NOLINT(misc-redundant-expression)
{
// If the SIMD implementation has no bitwise logical operation support
// whatsoever we cannot use the normal masking. Instead,
* The minor index of the array goes over both the LJ combination rules,
* which is only supported by plain cut-off, and the LJ switch/PME functions.
*/
-p_nbk_func_noener nbnxn_kernel_noener_simd_2xnn[coulktNR][vdwktNR] =
+static p_nbk_func_noener nbnxn_kernel_noener_simd_2xnn[coulktNR][vdwktNR] =
{
{
nbnxn_kernel_ElecRF_VdwLJCombGeom_F_2xnn,
},
};
-p_nbk_func_ener nbnxn_kernel_ener_simd_2xnn[coulktNR][vdwktNR] =
+static p_nbk_func_ener nbnxn_kernel_ener_simd_2xnn[coulktNR][vdwktNR] =
{
{
nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_2xnn,
},
};
-p_nbk_func_ener nbnxn_kernel_energrp_simd_2xnn[coulktNR][vdwktNR] =
+static p_nbk_func_ener nbnxn_kernel_energrp_simd_2xnn[coulktNR][vdwktNR] =
{
{
nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_2xnn,
* The minor index of the array goes over both the LJ combination rules,
* which is only supported by plain cut-off, and the LJ switch/PME functions.
*/
-p_nbk_func_noener nbnxn_kernel_noener_simd_4xn[coulktNR][vdwktNR] =
+static p_nbk_func_noener nbnxn_kernel_noener_simd_4xn[coulktNR][vdwktNR] =
{
{
nbnxn_kernel_ElecRF_VdwLJCombGeom_F_4xn,
},
};
-p_nbk_func_ener nbnxn_kernel_ener_simd_4xn[coulktNR][vdwktNR] =
+static p_nbk_func_ener nbnxn_kernel_ener_simd_4xn[coulktNR][vdwktNR] =
{
{
nbnxn_kernel_ElecRF_VdwLJCombGeom_VF_4xn,
},
};
-p_nbk_func_ener nbnxn_kernel_energrp_simd_4xn[coulktNR][vdwktNR] =
+static p_nbk_func_ener nbnxn_kernel_energrp_simd_4xn[coulktNR][vdwktNR] =
{
{
nbnxn_kernel_ElecRF_VdwLJCombGeom_VgrpF_4xn,