#include "roccom.h"
#include "mapbasic.h"
#include "Rocblas.h"
#include <iostream>
#include <sstream>
#include <fstream>
Go to the source code of this file.
COM_EXTERN_MODULE |
( |
Rocin |
| ) |
|
COM_EXTERN_MODULE |
( |
Roblas |
| ) |
|
int get_comm_rank |
( |
MPI_Comm |
comm | ) |
|
Definition at line 42 of file add_aspect_ratios.C.
References rank.
44 int ierr = MPI_Comm_rank( comm, &rank); assert( ierr == 0);
int get_comm_size |
( |
MPI_Comm |
comm | ) |
|
Definition at line 49 of file add_aspect_ratios.C.
51 int ierr = MPI_Comm_size( comm, &size); assert( ierr == 0);
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 56 of file add_aspect_ratios.C.
References COM_call_function(), COM_finalize(), COM_get_attribute_handle(), COM_get_function_handle(), COM_init(), COM_LOAD_MODULE_STATIC_DYNAMIC, COM_print_profile(), COM_set_profiling(), COM_set_verbose(), and MPI_COMM_WORLD.
57 MPI_Init( &argc, &argv);
60 std::cout <<
"Usage: " << argv[0]
61 <<
" <Rocin input file> <material name>" << endl;
64 string inputfname(argv[1]);
65 const string matname(argv[2]);
85 const string newfname(
"with_aspect_ratios");
94 string MyString =
"001";
here we put it at the!beginning of the common block The point to point and collective!routines know about but MPI_TYPE_STRUCT as yet does not!MPI_STATUS_IGNORE and MPI_STATUSES_IGNORE are similar objects!Until the underlying MPI library implements the C version of these are declared as arrays of MPI_STATUS_SIZE!The types and are OPTIONAL!Their values are zero if they are not available Note that!using these reduces the portability of MPI_IO INTEGER MPI_BOTTOM INTEGER MPI_DOUBLE_PRECISION INTEGER MPI_LOGICAL INTEGER MPI_2REAL INTEGER MPI_2DOUBLE_COMPLEX INTEGER MPI_LB INTEGER MPI_WTIME_IS_GLOBAL INTEGER MPI_COMM_WORLD
A Roccom mesh optimization module.
void COM_set_verbose(int i)
int COM_get_attribute_handle(const char *waname)
void COM_print_profile(const char *fname, const char *header)
void COM_set_profiling(int i)
void COM_call_function(const int wf, int argc,...)
void COM_init(int *argc, char ***argv)
#define COM_LOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)
int COM_get_function_handle(const char *wfname)