MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "moab/Core.hpp"
#include "moab/ParallelComm.hpp"
#include "MBTagConventions.hpp"
#include "moab_mpi.h"
#include <cstdlib>
#include <iostream>
#include <ctime>
#include <cstring>
#include <cmath>
#include <cassert>
#include <cstdio>
#include <sstream>
Go to the source code of this file.
Macros | |
#define | TPRINT(A) tprint( ( A ) ) |
#define | IDX(i, j, k) ( ( num_interval + 1 ) * ( ( num_interval + 1 ) * ( k ) + ( j ) ) + ( i ) ) |
Functions | |
static void | tprint (const char *A) |
ErrorCode | generate_mesh (Interface &moab, int intervals) |
void | help () |
int | main (int argc, char *argv[]) |
Variables | |
const int | DEFAULT_INTERVALS = 2 |
const char * | DEFAULT_FILE_NAME = "parallel_write_test.h5m" |
const char | args [] = "[-i <intervals>] [-o <filename>] [-L <filename>] [-g <n>]" |
#define IDX | ( | i, | |
j, | |||
k | |||
) | ( ( num_interval + 1 ) * ( ( num_interval + 1 ) * ( k ) + ( j ) ) + ( i ) ) |
Definition at line 280 of file parallel_write_test.cpp.
#define TPRINT | ( | A | ) | tprint( ( A ) ) |
Definition at line 16 of file parallel_write_test.cpp.
Definition at line 282 of file parallel_write_test.cpp.
References ErrorCode, IDX, MB_SUCCESS, MBHEX, MPI_COMM_WORLD, rank, and size.
Referenced by main().
void help | ( | ) |
Definition at line 41 of file parallel_write_test.cpp.
References args, and DEFAULT_INTERVALS.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 78 of file parallel_write_test.cpp.
References args, buffer, DEFAULT_FILE_NAME, DEFAULT_INTERVALS, ErrorCode, generate_mesh(), help(), ierr, mb, MB_SUCCESS, MBHEX, MPI_COMM_WORLD, rank, moab::ParallelComm::resolve_shared_ents(), size, moab::Range::size(), t, and TPRINT.
|
static |
Definition at line 40 of file parallel_write_test.cpp.
Referenced by help(), main(), mhdf_setFail(), ProgOptions::parseCommandLine(), and moab::Error::set_last_error().
const char* DEFAULT_FILE_NAME = "parallel_write_test.h5m" |
Definition at line 27 of file parallel_write_test.cpp.
Referenced by main().
const int DEFAULT_INTERVALS = 2 |
Definition at line 26 of file parallel_write_test.cpp.