40 char *lastdot=strrchr( const_cast<char *>(fname),
'.');
43 std::cout <<
"Reading file " << fname <<
"..." << std::endl;
50 bool processed =
false;
51 if(!(lastdot == NULL)){
52 if ( strcmp( lastdot,
".hdf")==0){
62 MPI_Comm comm_null = MPI_COMM_NULL;
63 std::string bufwin(
"bufwin");
87 int npanes, *pane_ids;
91 for (
int i=0;
i<npanes; ++
i) {
95 if ( flag==NULL || *flag>1) {
108 std::cout <<
"Applying total displacements..." << std::endl;
126 std::cout <<
"Obtained window " << wname
127 <<
" from file " << fname << std::endl;
void COM_delete_window(const char *wname)
void COM_get_array(const char *wa_str, int pane_id, void **addr, int *strd, int *cap)
Get the address for an attribute on a specific pane.
int COM_get_attribute_handle(const char *waname)
void COM_delete_attribute(const char *wa_str)
Delete an existing attribute.
#define COM_UNLOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)
void COM_clone_attribute(const char *wname, const char *attr, int wg=1, const char *ptnname=0, int val=0)
Clone the subset of panes of another window of which the given pane attribute has value val...
void COM_new_window(const char *wname, MPI_Comm c=MPI_COMM_NULL)
void COM_call_function(const int wf, int argc,...)
void COM_delete_pane(const char *str, int pid)
void COM_get_panes(const char *wname, std::vector< int > &pane_ids, int rank=-2)
void COM_free_buffer(int **buf)
#define COM_LOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)
int COM_get_function_handle(const char *wfname)