
Go to the source code of this file.
Typedefs | |
| typedef void(* | MBLK_PupFn )(pup_er, void *) |
| typedef void(* | MBLK_BcFn )(void *p1, void *p2, int *start, int *end) |
Functions | |
| void | MBLK_Init (int comm) |
| int | MBLK_Read (const char *prefix, int nDimensions) |
| int | MBLK_Get_nblocks (int *n) |
| int | MBLK_Get_myblock (int *m) |
| int | MBLK_Get_blocksize (int *dims) |
| int | MBLK_Get_nodelocs (const int *nodedim, double *nodeloc) |
| double | MBLK_Timer (void) |
| void | MBLK_Print (const char *str) |
| void | MBLK_Print_block (void) |
| int | MBLK_Create_field (int *dimensions, int isVoxel, const int base_type, const int vec_len, const int offset, const int dist, int *fid) |
| int | MBLK_Update_field (const int fid, int ghostWidth, void *grid) |
| int | MBLK_Iupdate_field (const int fid, int ghostWidth, void *ingrid, void *outgrid) |
| int | MBLK_Test_update (int *status) |
| int | MBLK_Wait_update (void) |
| int | MBLK_Reduce_field (const int fid, void *grid, void *out, const int op) |
| int | MBLK_Reduce (const int fid, void *in, void *out, const int op) |
| int | MBLK_Register_bc (const int bcnum, int ghostWidth, const MBLK_BcFn bcfn) |
| int | MBLK_Apply_bc (const int bcnum, void *p1, void *p2) |
| int | MBLK_Apply_bc_all (void *p1, void *p2) |
| int | MBLK_Register (void *userData, MBLK_PupFn _pup_ud, int *rid) |
| int | MBLK_Migrate (void) |
| int | MBLK_Get_registered (int rid, void **block) |
| typedef void(* MBLK_PupFn)(pup_er, void *) |
| void MBLK_Init | ( | int | comm | ) |
Definition at line 63 of file mblock.C.
References c, TCharm::get(), TCharm::semaGet(), TCHARM_Attach_start(), and TCHARM_Element().
Definition at line 483 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::read().
Referenced by FTN_NAME().
Definition at line 489 of file mblock.C.
References TCHARM_Num_elements().
Referenced by FTN_NAME().
Definition at line 503 of file mblock.C.
References MBlockChunk::b, getCurMBlockChunk(), and block::getDim().
Referenced by FTN_NAME(), and MBlockChunk::reduce_field().
Definition at line 514 of file mblock.C.
References MBlockChunk::b, getCurMBlockChunk(), block::getDim(), block::getLoc(), idx, CkVector3dT< real >::x, CkVector3dT< real >::y, and CkVector3dT< real >::z.
Referenced by FTN_NAME().
| double MBLK_Timer | ( | void | ) |
| void MBLK_Print | ( | const char * | str | ) |
| void MBLK_Print_block | ( | void | ) |
Definition at line 656 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::print().
Referenced by FTN_NAME().
| int MBLK_Create_field | ( | int * | dimensions, | |
| int | isVoxel, | |||
| const int | base_type, | |||
| const int | vec_len, | |||
| const int | offset, | |||
| const int | dist, | |||
| int * | fid | |||
| ) |
Definition at line 573 of file mblock.C.
References MBlockChunk::add_field(), and getCurMBlockChunk().
Referenced by FTN_NAME().
Definition at line 586 of file mblock.C.
References MBLK_Iupdate_field(), and MBLK_Wait_update().
Referenced by FTN_NAME().
Definition at line 594 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::start_update().
Referenced by FTN_NAME(), and MBLK_Update_field().
Definition at line 602 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::test_update().
Referenced by FTN_NAME().
| int MBLK_Wait_update | ( | void | ) |
Definition at line 610 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::wait_update().
Referenced by FTN_NAME(), and MBLK_Update_field().
Definition at line 617 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::reduce_field().
Referenced by FTN_NAME().
Definition at line 633 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::register_bc().
Definition at line 640 of file mblock.C.
References MBlockChunk::apply_bc(), and getCurMBlockChunk().
Referenced by FTN_NAME().
| int MBLK_Apply_bc_all | ( | void * | p1, | |
| void * | p2 | |||
| ) |
Definition at line 648 of file mblock.C.
References MBlockChunk::apply_bc_all(), and getCurMBlockChunk().
Referenced by FTN_NAME().
| int MBLK_Register | ( | void * | userData, | |
| MBLK_PupFn | _pup_ud, | |||
| int * | rid | |||
| ) |
| int MBLK_Migrate | ( | void | ) |
Definition at line 565 of file mblock.C.
References TCharm::get(), and TCharm::migrate().
Referenced by FTN_NAME().
1.5.5