Specialization of MeshTestToolkit for the purposes of performance testing. More...

Public Member Functions | |
| void | calcIntersectionMatrix (const char *mesh1path, const char *mesh1, const char *mesh2path, const char *mesh2, IntersectionMatrix &m) |
| Calculates the intersection matrix for two meshes. | |
| std::pair< int, int > | countNumberOfMatrixEntries (const IntersectionMatrix &m) |
| Counts the number of elements in an intersection matrix, and the number of these which are non-zero. | |
Specialization of MeshTestToolkit for the purposes of performance testing.
| void INTERP_TEST.PerfTestToolkit.calcIntersectionMatrix | ( | const char * | mesh1path, |
| const char * | mesh1, | ||
| const char * | mesh2path, | ||
| const char * | mesh2, | ||
| IntersectionMatrix & | m | ||
| ) |
Calculates the intersection matrix for two meshes.
Outputs the names of the meshes intersected, the number of elements in each mesh, the number of matrix elements and the number of non-zero matrix elements, etc. These values help to determine how well the filtering algorithm is working.
| mesh1path | the path to the file containing the source mesh, relative to {$MED_ROOT_DIR}/share/salome/resources/med/ |
| mesh1 | the name of the source mesh |
| mesh2path | the path to the file containing the target mesh, relative to {$MED_ROOT_DIR}/share/salome/resources/med/ |
| mesh2 | the name of the target mesh |
| m | intersection matrix in which to store the result of the intersection |
References countNumberOfMatrixEntries(), INTERP_TEST.getResourceFile(), LOG, and MEDMEM.MED_DRIVER.
| std::pair<int,int> INTERP_TEST.PerfTestToolkit.countNumberOfMatrixEntries | ( | const IntersectionMatrix & | m | ) |
Counts the number of elements in an intersection matrix, and the number of these which are non-zero.
| m | the intersection matrix |
References INTERP_KERNEL.epsilonEqual(), and INTERP_KERNEL.VOL_PREC.