163 int main(
int argc,
char *argv[]) {
165 const int ghost_nodes = 6, ghost_elements = 2;
172 cout <<
"Creating window \"unstr\"" << endl;
186 cout <<
"Coors_s[0][" <<
i <<
"] = ["
187 << coors_s[
i][0] <<
" , " << coors_s[
i][1] <<
" , "
188 << coors_s[
i][2] <<
"]" << endl;
191 cout <<
"Element " <<
i <<
": "
192 << elmts[
i][0] <<
" " << elmts[
i][1] <<
" "
193 << elmts[
i][2] <<
" " << elmts[
i][3] <<
" "
194 << elmts[
i][4] <<
" " << elmts[
i][5] <<
" "
195 << elmts[
i][6] <<
" " << elmts[
i][7] << endl;
199 const string disps(
"unstr.disps");
213 const string pconn =
"unstr.pconn";
void COM_get_attribute(const std::string wa_str, char *loc, int *type, int *ncomp, std::string *unit)
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.
int COM_get_attribute_handle(const char *waname)
int elmts[total_npanes][num_elmts][4]
void COM_window_init_done(const char *w_str, int pane_changed=true)
void COM_new_window(const char *wname, MPI_Comm c=MPI_COMM_NULL)
void COM_call_function(const int wf, int argc,...)
void COM_set_array(const char *wa_str, int pane_id, void *addr, int strd=0, int cap=0)
Associates an array with an attribute for a specific pane.
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.
double coors_s[total_npanes][num_nodes][3]
#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)
void init_unstructure_mesh(double coors[18][3], int elmts[4][8])