
Go to the source code of this file.
Typedefs | |
| typedef void(* | combineFn_BYTE )(const int len, unsigned char *lhs, const unsigned char *rhs) |
| typedef void(* | combineFn_INT )(const int len, int *lhs, const int *rhs) |
| typedef void(* | combineFn_REAL )(const int len, float *lhs, const float *rhs) |
| typedef void(* | combineFn_DOUBLE )(const int len, double *lhs, const double *rhs) |
Functions | |
| CtvStaticDeclare (MBlockChunk *, _mblkptr) | |
| CLINKAGE void | driver (void) |
| FLINKAGE void | FTN_NAME (DRIVER, driver) |
| void | MBlockNodeInit (void) |
| static void | MBlockFallbackSetup (void) |
| void | MBlockProcInit (void) |
| CLINKAGE void | MBLK_Init (int comm) |
| FORTRAN_AS_C (MBLK_INIT, MBLK_Init, mblk_init,(int *comm),(*comm)) template< class d > void sum(const int len | |
| static combineFn | combine (const DType &dt, int op) |
| static MBlockChunk * | getCurMBlockChunk (void) |
| CLINKAGE int | MBLK_Read (const char *prefix, int nDim) |
| CLINKAGE int | MBLK_Get_nblocks (int *n) |
| CLINKAGE int | MBLK_Get_myblock (int *m) |
| CLINKAGE int | MBLK_Get_blocksize (int *dim) |
| CLINKAGE int | MBLK_Get_nodelocs (const int *nodedim, double *nodeloc) |
| CLINKAGE double | MBLK_Timer (void) |
| CLINKAGE void | MBLK_Print (const char *str) |
| CLINKAGE int | MBLK_Register (void *_ud, MBLK_PupFn _pup_ud, int *rid) |
| CLINKAGE int | MBLK_Get_registered (int n, void **b) |
| CLINKAGE int | MBLK_Migrate (void) |
| CLINKAGE int | MBLK_Create_field (int *dims, int isVoxel, int base_type, int vec_len, int init_offset, int distance, int *fid) |
| CLINKAGE int | MBLK_Update_field (int fid, int ghostWidth, void *grid) |
| CLINKAGE int | MBLK_Iupdate_field (int fid, int ghostWidth, void *ingrid, void *outgrid) |
| CLINKAGE int | MBLK_Test_update (int *status) |
| CLINKAGE int | MBLK_Wait_update (void) |
| CLINKAGE int | MBLK_Reduce_field (int fid, void *ingrid, void *outbuf, int op) |
| CLINKAGE int | MBLK_Reduce (int fid, void *inbuf, void *outbuf, int op) |
| CLINKAGE int | MBLK_Register_bc (const int bcnum, int ghostWidth, const MBLK_BcFn bcfn) |
| CLINKAGE int | MBLK_Apply_bc (const int bcnum, void *p1, void *p2) |
| CLINKAGE int | MBLK_Apply_bc_all (void *p1, void *p2) |
| CLINKAGE void | MBLK_Print_block (void) |
| FLINKAGE int | FTN_NAME (FOFFSETOF, foffsetof) |
| FLINKAGE void | FTN_NAME (MBLK_READ, mblk_read) const |
| FLINKAGE void | FTN_NAME (MBLK_GET_NBLOCKS, mblk_get_nblocks) |
| FLINKAGE void | FTN_NAME (MBLK_GET_MYBLOCK, mblk_get_myblock) |
| static void | c2f_index3d (int *idx) |
| FLINKAGE void | FTN_NAME (MBLK_GET_BLOCKSIZE, mblk_get_blocksize) |
| FLINKAGE void | FTN_NAME (MBLK_GET_NODELOCS, mblk_get_nodelocs) const |
| FLINKAGE double | FTN_NAME (MBLK_TIMER, mblk_timer) |
| FLINKAGE void | FTN_NAME (MBLK_PRINT, mblk_print) |
| FLINKAGE void | FTN_NAME (MBLK_PRINT_BLOCK, mblk_print_block) |
| FLINKAGE void | FTN_NAME (MBLK_CREATE_FIELD, mblk_create_field) |
| FLINKAGE void | FTN_NAME (MBLK_UPDATE_FIELD, mblk_update_field) |
| FLINKAGE void | FTN_NAME (MBLK_IUPDATE_FIELD, mblk_iupdate_field) |
| FLINKAGE void | FTN_NAME (MBLK_TEST_UPDATE, mblk_test_update) |
| FLINKAGE void | FTN_NAME (MBLK_WAIT_UPDATE, mblk_wait_update) |
| FLINKAGE void | FTN_NAME (MBLK_REDUCE_FIELD, mblk_reduce_field) |
| FLINKAGE void | FTN_NAME (MBLK_REDUCE, mblk_reduce) |
| FLINKAGE void | FTN_NAME (MBLK_REGISTER_BC, mblk_register_bc) |
| FLINKAGE void | FTN_NAME (MBLK_APPLY_BC, mblk_apply_bc) |
| FLINKAGE void | FTN_NAME (MBLK_APPLY_BC_ALL, mblk_apply_bc_all) |
| FLINKAGE void | FTN_NAME (MBLK_REGISTER, mblk_register) |
| FLINKAGE void | FTN_NAME (MBLK_MIGRATE, mblk_migrate) |
| static void | cmm_pup_mblock_message (pup_er p, void **msg) |
Variables | |
| static int | callDrivers_idx = -1 |
| d * | lhs |
| typedef void(* combineFn_BYTE)(const int len, unsigned char *lhs, const unsigned char *rhs) |
| typedef void(* combineFn_DOUBLE)(const int len, double *lhs, const double *rhs) |
| CtvStaticDeclare | ( | MBlockChunk * | , | |
| _mblkptr | ||||
| ) |
| CLINKAGE void driver | ( | void | ) |
Definition at line 2 of file compat_driver.c.
| FLINKAGE void FTN_NAME | ( | DRIVER | , | |
| driver | ||||
| ) |
Definition at line 36 of file mblock.C.
References driver(), and FTN_NAME().

| void MBlockNodeInit | ( | void | ) |
Definition at line 45 of file mblock.C.
References callDrivers_idx, and TCHARM_Register_thread_function().

| static void MBlockFallbackSetup | ( | void | ) | [static] |
Definition at line 52 of file mblock.C.
References callDrivers_idx, TCHARM_Create(), and TCHARM_Get_num_chunks().
Referenced by MBlockProcInit().


| void MBlockProcInit | ( | void | ) |
Definition at line 57 of file mblock.C.
References MBlockFallbackSetup(), and TCHARM_Set_fallback_setup().

| CLINKAGE 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 159 of file mblock.C.
Referenced by liveVizDeposit(), MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::PAReceivePage(), MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::PAReceiveRLEPage(), and MBlockChunk::reduce_field().


| static MBlockChunk* getCurMBlockChunk | ( | void | ) | [static] |
Definition at line 466 of file mblock.C.
Referenced by FTN_NAME(), MBLK_Apply_bc(), MBLK_Apply_bc_all(), MBLK_Create_field(), MBLK_Get_blocksize(), MBLK_Get_nodelocs(), MBLK_Iupdate_field(), MBLK_Print_block(), MBLK_Read(), MBLK_Reduce(), MBLK_Reduce_field(), MBLK_Register_bc(), MBLK_Test_update(), and MBLK_Wait_update().

Definition at line 478 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::read().
Referenced by FTN_NAME().


Definition at line 484 of file mblock.C.
References TCHARM_Num_elements().
Referenced by FTN_NAME().


Definition at line 491 of file mblock.C.
References TCHARM_Element().
Referenced by FTN_NAME().


Definition at line 498 of file mblock.C.
References MBlockChunk::b, PUP::d, getCurMBlockChunk(), and block::getDim().
Referenced by FTN_NAME(), and MBlockChunk::reduce_field().


Definition at line 509 of file mblock.C.
References MBlockChunk::b, PUP::d, getCurMBlockChunk(), block::getDim(), block::getLoc(), idx, CkVector3dT< real >::x, CkVector3dT< real >::y, and CkVector3dT< real >::z.
Referenced by FTN_NAME().


| CLINKAGE double MBLK_Timer | ( | void | ) |
Definition at line 533 of file mblock.C.
References TCHARM_Wall_timer().
Referenced by FTN_NAME().


| CLINKAGE void MBLK_Print | ( | const char * | str | ) |
Definition at line 539 of file mblock.C.
References TCHARM_Element().
Referenced by FTN_NAME().


| CLINKAGE int MBLK_Register | ( | void * | _ud, | |
| MBLK_PupFn | _pup_ud, | |||
| int * | rid | |||
| ) |
Definition at line 546 of file mblock.C.
References TCHARM_Register().
Referenced by FTN_NAME().


Definition at line 553 of file mblock.C.
References TCHARM_Get_userdata().

| CLINKAGE int MBLK_Migrate | ( | void | ) |
Definition at line 560 of file mblock.C.
References TCharm::get(), and TCharm::migrate().
Referenced by FTN_NAME().


| CLINKAGE int MBLK_Create_field | ( | int * | dims, | |
| int | isVoxel, | |||
| int | base_type, | |||
| int | vec_len, | |||
| int | init_offset, | |||
| int | distance, | |||
| int * | fid | |||
| ) |
Definition at line 568 of file mblock.C.
References MBlockChunk::add_field(), and getCurMBlockChunk().
Referenced by FTN_NAME().


Definition at line 581 of file mblock.C.
References MBLK_Iupdate_field(), and MBLK_Wait_update().
Referenced by FTN_NAME().


Definition at line 589 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::start_update().
Referenced by FTN_NAME(), and MBLK_Update_field().


Definition at line 597 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::test_update().
Referenced by FTN_NAME().


| CLINKAGE int MBLK_Wait_update | ( | void | ) |
Definition at line 605 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::wait_update().
Referenced by FTN_NAME(), and MBLK_Update_field().


Definition at line 612 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::reduce_field().
Referenced by FTN_NAME().


Definition at line 620 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::reduce().

Definition at line 628 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::register_bc().

Definition at line 635 of file mblock.C.
References MBlockChunk::apply_bc(), and getCurMBlockChunk().
Referenced by FTN_NAME().


| CLINKAGE int MBLK_Apply_bc_all | ( | void * | p1, | |
| void * | p2 | |||
| ) |
Definition at line 643 of file mblock.C.
References MBlockChunk::apply_bc_all(), and getCurMBlockChunk().
Referenced by FTN_NAME().


| CLINKAGE void MBLK_Print_block | ( | void | ) |
Definition at line 651 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::print().
Referenced by FTN_NAME().


| FLINKAGE void FTN_NAME | ( | MBLK_READ | , | |
| mblk_read | ||||
| ) | const |
Definition at line 667 of file mblock.C.
References MBLK_Read().

| FLINKAGE void FTN_NAME | ( | MBLK_GET_NBLOCKS | , | |
| mblk_get_nblocks | ||||
| ) |
Definition at line 679 of file mblock.C.
References MBLK_Get_nblocks().

| FLINKAGE void FTN_NAME | ( | MBLK_GET_MYBLOCK | , | |
| mblk_get_myblock | ||||
| ) |
Definition at line 685 of file mblock.C.
References MBLK_Get_myblock().

| FLINKAGE void FTN_NAME | ( | MBLK_GET_BLOCKSIZE | , | |
| mblk_get_blocksize | ||||
| ) |
Definition at line 693 of file mblock.C.
References MBLK_Get_blocksize().

| FLINKAGE void FTN_NAME | ( | MBLK_GET_NODELOCS | , | |
| mblk_get_nodelocs | ||||
| ) | const |
Definition at line 699 of file mblock.C.
References MBLK_Get_nodelocs().

| FLINKAGE double FTN_NAME | ( | MBLK_TIMER | , | |
| mblk_timer | ||||
| ) |
Definition at line 705 of file mblock.C.
References MBLK_Timer().

| FLINKAGE void FTN_NAME | ( | MBLK_PRINT | , | |
| mblk_print | ||||
| ) |
Definition at line 711 of file mblock.C.
References MBLK_Print().

| FLINKAGE void FTN_NAME | ( | MBLK_PRINT_BLOCK | , | |
| mblk_print_block | ||||
| ) |
Definition at line 721 of file mblock.C.
References MBLK_Print_block().

| FLINKAGE void FTN_NAME | ( | MBLK_CREATE_FIELD | , | |
| mblk_create_field | ||||
| ) |
Definition at line 727 of file mblock.C.
References MBLK_Create_field().

| FLINKAGE void FTN_NAME | ( | MBLK_UPDATE_FIELD | , | |
| mblk_update_field | ||||
| ) |
Definition at line 733 of file mblock.C.
References MBLK_Update_field().

| FLINKAGE void FTN_NAME | ( | MBLK_IUPDATE_FIELD | , | |
| mblk_iupdate_field | ||||
| ) |
Definition at line 739 of file mblock.C.
References MBLK_Iupdate_field().

| FLINKAGE void FTN_NAME | ( | MBLK_TEST_UPDATE | , | |
| mblk_test_update | ||||
| ) |
Definition at line 745 of file mblock.C.
References MBLK_Test_update().

| FLINKAGE void FTN_NAME | ( | MBLK_WAIT_UPDATE | , | |
| mblk_wait_update | ||||
| ) |
Definition at line 751 of file mblock.C.
References MBLK_Wait_update().

| FLINKAGE void FTN_NAME | ( | MBLK_REDUCE_FIELD | , | |
| mblk_reduce_field | ||||
| ) |
Definition at line 757 of file mblock.C.
References MBLK_Reduce_field().

| FLINKAGE void FTN_NAME | ( | MBLK_REDUCE | , | |
| mblk_reduce | ||||
| ) |
Definition at line 763 of file mblock.C.
References MBLK_Reduce_field().

| FLINKAGE void FTN_NAME | ( | MBLK_REGISTER_BC | , | |
| mblk_register_bc | ||||
| ) |
Definition at line 769 of file mblock.C.
References getCurMBlockChunk(), and MBlockChunk::register_bc().

| FLINKAGE void FTN_NAME | ( | MBLK_APPLY_BC | , | |
| mblk_apply_bc | ||||
| ) |
Definition at line 776 of file mblock.C.
References MBLK_Apply_bc().

| FLINKAGE void FTN_NAME | ( | MBLK_APPLY_BC_ALL | , | |
| mblk_apply_bc_all | ||||
| ) |
Definition at line 782 of file mblock.C.
References MBLK_Apply_bc_all().

| FLINKAGE void FTN_NAME | ( | MBLK_REGISTER | , | |
| mblk_register | ||||
| ) |
Definition at line 788 of file mblock.C.
References MBLK_Register().

| FLINKAGE void FTN_NAME | ( | MBLK_MIGRATE | , | |
| mblk_migrate | ||||
| ) |
Definition at line 794 of file mblock.C.
References MBLK_Migrate().

| static void cmm_pup_mblock_message | ( | pup_er | p, | |
| void ** | msg | |||
| ) | [static] |
Definition at line 809 of file mblock.C.
References CkPupMessage(), and pup_isDeleting().
Referenced by MBlockChunk::pup().


int callDrivers_idx = -1 [static] |
| d* lhs |
1.5.5