fortranmuscle.h File Reference
#include "muscle_types.h"
Go to the source code of this file.
Functions | |
void | muscle_init_ (int *argc, char *argv, int len) |
void | muscle_finalize_ (void) |
void | muscle_kernel_name_ (char *result, int reslen) |
void | muscle_get_property_ (const char *name, char *result, int len, int reslen) |
void | muscle_will_stop_ (int *result) |
void | muscle_send_ (const char *exit_name, void *array, int *size, muscle_datatype_t *type, int len) |
void | muscle_receive_ (const char *entrance_name, void *array, int *size, muscle_datatype_t *type, int len) |
Function Documentation
void muscle_finalize_ | ( | void | ) |
Finalizes MUSCLE.
void muscle_get_property_ | ( | const char * | name, | |
char * | result, | |||
int | len, | |||
int | reslen | |||
) |
Get a property. Result (const) string is stored in *result.
void muscle_init_ | ( | int * | argc, | |
char * | argv, | |||
int | len | |||
) |
Initializes MUSCLE from Fortran.
- Parameters:
-
*argv a character string containing *argc arguments separated by nul characters.
void muscle_kernel_name_ | ( | char * | result, | |
int | reslen | |||
) |
Get the kernel name. Result (const) string is stored in *result.
void muscle_receive_ | ( | const char * | entrance_name, | |
void * | array, | |||
int * | size, | |||
muscle_datatype_t * | type, | |||
int | len | |||
) |
Send a message. Use MUSCLE datatypes to specify what is sent. From Fortran, only receive arrays. Also, make sure that enough memory is allocated to receive the next message.
void muscle_send_ | ( | const char * | exit_name, | |
void * | array, | |||
int * | size, | |||
muscle_datatype_t * | type, | |||
int | len | |||
) |
Send a message. Use MUSCLE datatypes to specify what is sent. From Fortran, only send arrays.
void muscle_will_stop_ | ( | int * | result | ) |
Whether the current instantiation should stop. Result (const) boolean is stored in *result.
Generated on Thu Oct 18 14:28:28 2012 for Muscle C/C++ API by
