libMesh
|
Go to the source code of this file.
Functions | |
void | usage (const std::string &progName) |
how to use this, and command line processor More... | |
void | process_cmd_line (int argc, char **argv, std::vector< std::string > &names, unsigned char &dim, double &threshold, XdrMODE &format, bool &verbose, bool &quiet) |
bool | do_compare (EquationSystems &les, EquationSystems &res, double threshold, bool verbose) |
everything that is identical for the systems, and should not go into EquationSystems::compare(), can go in this do_compare(). More... | |
int | main (int argc, char **argv) |
bool do_compare | ( | EquationSystems & | les, |
EquationSystems & | res, | ||
double | threshold, | ||
bool | verbose | ||
) |
everything that is identical for the systems, and should not go into EquationSystems::compare(), can go in this do_compare().
start comparing
Definition at line 230 of file compare.C.
References libMesh::EquationSystems::compare(), libMesh::out, and libMesh::EquationSystems::print_info().
Referenced by main().
build the left and right mesh for left, init them
build EquationSystems objects, read them
let's see what do_compare found out
Definition at line 266 of file compare.C.
References dim, do_compare(), libMesh::TriangleWrapper::init(), libMesh::out, process_cmd_line(), libMesh::READ, libMesh::UnstructuredMesh::read(), libMesh::EquationSystems::read(), and libMesh::TOLERANCE.
void process_cmd_line | ( | int | argc, |
char ** | argv, | ||
std::vector< std::string > & | names, | ||
unsigned char & | dim, | ||
double & | threshold, | ||
XdrMODE & | format, | ||
bool & | verbose, | ||
bool & | quiet | ||
) |
Get mesh file name
Get the mesh dimension
Get left file name
Get right file name
Get the comparison threshold
Use ascii format
Use binary format
Be verbose
Be totally quiet, no matter what -v says
Definition at line 88 of file compare.C.
References libMesh::DECODE, dim, libMesh::READ, and usage().
Referenced by main().
void usage | ( | const std::string & | progName | ) |
how to use this, and command line processor
Definition at line 48 of file compare.C.
Referenced by process_cmd_line().