#include "roccom.h"
#include "surfbasic.h"
#include <cstdio>
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <cstring>
#include <cassert>
Go to the source code of this file.
Functions | |
void | init_structured_mesh (double coors[][3], int nrow, int ncol, int rank, int nproc, int check=1) |
void | init_unstructure_mesh (double coors[][3], int elmts[][4], int nrow, int ncol, int rank, int nproc, int check=1) |
int | get_comm_rank (MPI_Comm comm) |
int | get_comm_size (MPI_Comm comm) |
int | main (int argc, char *argv[]) |
int get_comm_rank | ( | MPI_Comm | comm | ) |
Definition at line 122 of file surftest2.C.
References COM_assertion, and rank.
int get_comm_size | ( | MPI_Comm | comm | ) |
Definition at line 128 of file surftest2.C.
References COM_assertion.
void init_structured_mesh | ( | double | coors[][3], |
int | nrow, | ||
int | ncol, | ||
int | rank, | ||
int | nproc, | ||
int | check = 1 |
||
) |
Definition at line 39 of file surftest2.C.
References i, j, Mesquite::length(), ncol, and nrow.
Referenced by main().
void init_unstructure_mesh | ( | double | coors[][3], |
int | elmts[][4], | ||
int | nrow, | ||
int | ncol, | ||
int | rank, | ||
int | nproc, | ||
int | check = 1 |
||
) |
Definition at line 71 of file surftest2.C.
References i, j, Mesquite::length(), ncol, and nrow.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 134 of file surftest2.C.
References COM_call_function(), COM_delete_window(), COM_DOUBLE, COM_finalize(), COM_get_attribute_handle(), COM_get_attribute_handle_const(), COM_get_function_handle(), COM_init(), COM_load_module(), COM_new_attribute(), COM_new_window(), COM_resize_array(), COM_set_array(), COM_set_size(), COM_set_verbose(), COM_window_init_done(), coors_f, coors_s, elmts, get_comm_rank(), get_comm_size(), init_structured_mesh(), init_unstructure_mesh(), MPI_COMM_WORLD, ncol, nrow, num_elmts, and num_nodes.