# ignored (e.g. clang on ARM), and in such cases we want this
# check to lead to using no attribute in subsequent GROMACS
# compilation, to avoid issuing the warning for lots of files.
- check_c_source_compiles("
+ check_cxx_source_compiles("
#pragma GCC diagnostic error \"-Wignored-attributes\"
int ${callconv} f(int i) {return i;} int main(void) {return f(0);}
" ${callconv_compile_var})
* Here floats are accurate enough, since these variables
* only influence the load balancing, not the actual MD results.
*/
-typedef struct
+typedef struct domdec_load
{
/**< The number of load recordings */
int nload = 0;
} domdec_load_t;
/*! \brief Data needed to sort an atom to the desired location in the local state */
-typedef struct
+typedef struct gmx_cgsort
{
/**< Neighborsearch grid cell index */
int nsc = 0;
} gmx_cgsort_t;
/*! \brief Temporary buffers for sorting atoms */
-typedef struct
+typedef struct gmx_domdec_sort
{
/**< Sorted array of indices */
std::vector<gmx_cgsort_t> sorted;
};
/*! \brief The PME domain decomposition for one dimension */
-typedef struct
+typedef struct gmx_ddpme
{
/**< The dimension */
int dim = 0;
gmx::IVec shift1 = { 0, 0, 0 };
};
-typedef struct
+typedef struct gmx_domdec_zone_size
{
/* Zone lower corner in triclinic coordinates */
gmx::RVec x0 = { 0, 0, 0 };
} t_coordselection;
//! Parameters of WHAM
-typedef struct // NOLINT(clang-analyzer-optin.performance.Padding)
+typedef struct UmbrellaOptions // NOLINT(clang-analyzer-optin.performance.Padding)
{
/*!
* \name Input stuff
using gmx::VirtualSitesHandler;
//! Utility structure for manipulating states during EM
-typedef struct
+typedef struct em_state
{
//! Copy of the global state
t_state s;
};
//! Grouped pair-list i-unit
-typedef struct
+typedef struct nbnxn_sci
{
//! Returns the number of j-cluster groups in this entry
int numJClusterGroups() const { return cj4_ind_end - cj4_ind_start; }
*
* \ingroup module_selection
*/
-typedef struct
+typedef struct partition
{
/** Number of partition items (\p p contains \p n+1 items). */
int n;
*
* \ingroup module_selection
*/
-typedef struct
+typedef struct spheresurfacebin
{
/** Number of points in the array \p x, -1 if whole bin covered. */
int n;
*
* \ingroup module_selection
*/
-typedef struct
+typedef struct methoddata_insolidangle
{
/** Center of the solid angle. */
gmx_ana_pos_t center;
/*! \internal \brief
* Data structure for the merging selection modifiers.
*/
-typedef struct
+typedef struct methoddata_merge
{
/** Input positions. */
gmx_ana_pos_t p1;
/*! \internal \brief
* Data structure for the \p permute selection modifier.
*/
-typedef struct
+typedef struct methoddata_permute
{
/** Positions to permute. */
gmx_ana_pos_t p;
#include "errorformat.h"
-static bool bDebug = false;
-static gmx::Mutex where_mutex;
+static bool bDebug = false;
FILE* debug = nullptr;
gmx_bool gmx_debug_at = FALSE;