LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
check_mesh_completeness.h
1#ifndef INCG2633e7bf8dd548de839f74075687e81A
2#define INCG2633e7bf8dd548de839f74075687e81A
3
4#include <lf/mesh/mesh.h>
5
6namespace lf::mesh::test_utils {
15bool checkMeshCompleteness(const Mesh& mesh);
16
32std::vector<std::pair<lf::base::RefEl, base::glb_idx_t>> isWatertightMesh(
33 const Mesh& mesh, bool vertices_only = true);
34
39std::shared_ptr<spdlog::logger>& WatertightLogger();
40
41} // namespace lf::mesh::test_utils
42
43#endif // INCG2633e7bf8dd548de839f74075687e81A
Utilities for testing sanity of mesh data structures and tests involving meshes.
bool checkMeshCompleteness(const Mesh &mesh)
Function testing topological completeness of a mesh.
std::vector< std::pair< lf::base::RefEl, base::glb_idx_t > > isWatertightMesh(const Mesh &mesh, bool vertices_only)
check for match of entity geometries
std::shared_ptr< spdlog::logger > & WatertightLogger()
Logger that is used by isWatertightMesh() to output additional information.