exafmm / mr3 / vtgrape.h

#ifndef _VTGRAPE_H_
#define _VTGRAPE_H_

//#define VG_STRUCT_BOUNDARY 4     // alignment of particle data

#define VG_MAX_FUNCTIONS 100

typedef struct {
  int deviceid;
  int nj;
  int ni;
  int nf;
  void *jvectors;
  int jsize;
  void *ivectors;
  int isize;
  int nati;
  int natj;
  void *matrices;
  int ssize;
  void *scalers;
  void *fvectors;
  int fsize;
  int psize;
  void *pscalers;
  //  double xmax;// only for MD_PERIODIC_FIXED==1
  double volume[3];// only for MD_PERIODIC_FIXED==1
  void (*calculate[VG_MAX_FUNCTIONS])(void *);
  float *r1;
  float *rsqrt;
  //  double *fvec;
  // following 4 variables are for pthread
  double *fthread;
  pthread_t thread;
  int ni_overlap;
  double potc;
  double potv;
  double rcut2;
  double cuton;
  // for GPU overlapping (not thread overlap)
  int gpuoverlapflag;
  int function_index;
  //  float scaleqi_1;
  //  float scaleqj_1;
  int debug_flag;

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.