#include "gromacs/legacyheaders/index.h"
#include "gromacs/legacyheaders/oenv.h"
#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/types/topology.h"
#ifdef __cplusplus
extern "C" {
#endif
+struct t_topology;
+
typedef struct gmx_neutron_atomic_structurefactors_t {
int nratoms;
int *p; /* proton number */
} gmx_neutron_atomic_structurefactors_t;
typedef struct gmx_sans_t {
- t_topology *top; /* topology */
- double *slength; /* scattering length for this topology */
+ struct t_topology *top; /* topology */
+ double *slength; /* scattering length for this topology */
} gmx_sans_t;
typedef struct gmx_radial_distribution_histogram_t {
gmx_neutron_atomic_structurefactors_t *gmx_neutronstructurefactors_init(const char *datfn);
-gmx_sans_t *gmx_sans_init(t_topology *top, gmx_neutron_atomic_structurefactors_t *gnsf);
+gmx_sans_t *gmx_sans_init(struct t_topology *top, gmx_neutron_atomic_structurefactors_t *gnsf);
gmx_radial_distribution_histogram_t *calc_radial_distribution_histogram (gmx_sans_t *gsans,
rvec *x,