first commit
This commit is contained in:
commit
604f1cb18a
9 changed files with 1683 additions and 0 deletions
61
yebisu_g6.h
Normal file
61
yebisu_g6.h
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
extern "C"
|
||||
{
|
||||
void yebisu_g6_open (const int gpid);
|
||||
void yebisu_g6_close(const int gpid);
|
||||
void yebisu_g6_set_ip(
|
||||
const int gpid,
|
||||
const int ni,
|
||||
const double pos[][3],
|
||||
const double vel[][3],
|
||||
const double eps2[],
|
||||
const double h2 [],
|
||||
const int id []);
|
||||
void yebisu_g6_push_jp(
|
||||
const int gpid,
|
||||
const double pos [3],
|
||||
const double vel [3],
|
||||
const double acc2[3],
|
||||
const double jrk6[6],
|
||||
const double mass,
|
||||
const double tj,
|
||||
const int id,
|
||||
const int addr);
|
||||
void yebisu_g6_transfer_jp(const int gpid);
|
||||
void yebisu_g6_set_ti(
|
||||
const int gpid,
|
||||
const double ti);
|
||||
void yebisu_g6_predict_all(
|
||||
const int gpid,
|
||||
const int nj);
|
||||
void yebisu_g6_launch_gravity(
|
||||
const int gpid,
|
||||
const int ni,
|
||||
const int nj,
|
||||
const int with_neib);
|
||||
void yebisu_g6_get_force(
|
||||
const int gpid,
|
||||
const int ni,
|
||||
double acc [][3],
|
||||
double jrk [][3],
|
||||
double pot [],
|
||||
int nnb_id[]);
|
||||
void yebisu_g6_receive_neighbor_list(const int gpid);
|
||||
void yebisu_g6_get_neighbor_list(
|
||||
const int gpid,
|
||||
const int ipipe,
|
||||
const int maxlen,
|
||||
int *num_neib,
|
||||
int list[]);
|
||||
|
||||
void yebisu_g6_DEBUG_read_pred(
|
||||
const int gpid,
|
||||
const int nj,
|
||||
const int addr,
|
||||
double pos [3],
|
||||
double vel [3],
|
||||
double mass[1],
|
||||
int id [1]);
|
||||
int yebisu_g6_get_nimax();
|
||||
int yebisu_g6_get_njmax();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue