63 #define WINDOW_EXISTS 0
80 int main(
int argc,
char *argv[]) {
83 if ( argc < 3 || argc > 3 ) {
84 std::cout <<
"Usage: To test in serial: \n\t" << argv[0]
85 <<
" <parameter file in> <parameter file out>\n"
90 const char *FILE_in = argv[1];
91 const char *FILE_out = argv[2];
92 const string winname(
"parameters");
113 ((
char*&)addr) =
"three";
116 COM_set_size( (winname+
"."+
"notwindowed").c_str(),0,12,0);
118 ((
char*&)addr) =
"notwindowed";
123 ((
int*&)addr)[1] = 1;
126 COM_set_size( (winname+
"."+
"toomanycomps").c_str(),0,13,0);
128 ((
char*&)addr) =
"toomanycomps";
void COM_set_size(const char *wa_str, int pane_id, int size, int ng=0)
Set sizes of for a specific attribute.
This file contains the prototypes for Roccom API.
Rocout creates a series of Roccom windows by reading in a list of files.
void COM_print_profile(const char *fname, const char *header)
void COM_window_init_done(const char *w_str, int pane_changed=true)
#define WINDOW_EXISTS
A test program that reads in a given parameter file using Rocin and writes out the resulting paramete...
void COM_new_window(const char *wname, MPI_Comm c=MPI_COMM_NULL)
void COM_set_profiling(int i)
void COM_call_function(const int wf, int argc,...)
Rocin creates a series of Roccom windows by reading in a list of files.
int main(int argc, char *argv[])
void COM_init(int *argc, char ***argv)
void COM_new_attribute(const char *wa_str, const char loc, const int type, int ncomp, const char *unit)
Registering an attribute type.
#define COM_LOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)
void COM_resize_array(const char *wa_str, int pane_id=0, void **addr=NULL, int strd=-1, int cap=0)
Resize an attribute on a specific pane and return the address by setting addr.
int COM_get_function_handle(const char *wfname)
#define COM_EXTERN_MODULE(moduleName)
Contains declaration of the base class for Roccom implementations.