![]() |
Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include "moab/Core.hpp"
#include "moab/CpuTimer.hpp"
#include "DataCoupler.hpp"
#include "ElemUtil.hpp"
#include "TestUtil.hpp"
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cassert>
Go to the source code of this file.
Defines | |
#define | PRINT_LAST_ERROR |
Functions | |
void | print_usage (char **argv) |
int | main (int, char **argv) |
#define PRINT_LAST_ERROR |
if( MB_SUCCESS != result ) \
{ \
std::string tmp_str; \
std::cout << "Failure; message:" << std::endl; \
mbImpl->get_last_error( tmp_str ); \
std::cout << tmp_str << std::endl; \
MPI_Abort( MPI_COMM_WORLD, result ); \
return result; \
}
Definition at line 19 of file datacoupler_test.cpp.
int main | ( | int | , |
char ** | argv | ||
) |
Definition at line 666 of file datacoupler_test.cpp.
References print_usage().
{
print_usage( argv );
return 0;
}
void print_usage | ( | char ** | argv | ) |
Definition at line 31 of file datacoupler_test.cpp.
{
std::cerr << "Usage: ";
std::cerr << argv[0]
<< " -meshes -itag [-gnorm ] "
"[-ssnorm ] [-ropts ] [-outfile "
" [-wopts ]] [-dbgout []]"
<< std::endl;
std::cerr << " -meshes" << std::endl;
std::cerr << " Read in mesh files and ." << std::endl;
std::cerr << " -itag" << std::endl;
std::cerr << " Interpolate tag from source mesh to target mesh." << std::endl;
std::cerr << " -gnorm" << std::endl;
std::cerr << " Normalize the value of tag over then entire mesh and save to" << std::endl;
std::cerr << " tag \"_normf\" on the mesh set. Do this for all meshes." << std::endl;
std::cerr << " -ssnorm" << std::endl;
std::cerr << " Normalize the value of tag over subsets of a mesh and save to" << std::endl;
std::cerr << " tag \"_normf\" on the Entity Set for each subset. Subsets "
"are selected"
<< std::endl;
std::cerr << " using criteria in . Do this for all meshes." << std::endl;
std::cerr << " -ropts" << std::endl;
std::cerr << " Read in the mesh files using options in ." << std::endl;
std::cerr << " -outfile" << std::endl;
std::cerr << " Write out target mesh to ." << std::endl;
std::cerr << " -wopts" << std::endl;
std::cerr << " Write out mesh files using options in ." << std::endl;
std::cerr << " -dbgout" << std::endl;
std::cerr << " Write stdout and stderr streams to the file \'.txt\'." << std::endl;
std::cerr << " -eps" << std::endl;
std::cerr << " epsilon" << std::endl;
std::cerr << " -meth (0=CONSTANT, 1=LINEAR_FE, 2=QUADRATIC_FE, 3=SPECTRAL)" << std::endl;
}