Skip to content

Commit 749ecdd

Browse files
authored
Merge pull request #158 from Geode-solutions/improve_msg
fix(ErrorMessage): add component name in log message
2 parents d724d46 + ab3690c commit 749ecdd

File tree

70 files changed

+613
-600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+613
-600
lines changed

include/geode/inspector/criterion/adjacency/brep_meshes_adjacency.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ namespace geode
4545
{
4646
InspectionIssuesMap< PolygonEdge >
4747
surfaces_edges_with_wrong_adjacencies{
48-
"BRep Surface mesh with polygon edges adjacencies issues"
48+
"polygon edges adjacencies"
4949
};
5050
InspectionIssuesMap< PolyhedronFacet >
5151
blocks_facets_with_wrong_adjacencies{
52-
"BRep Block mesh with polyhedron facets adjacencies issues"
52+
"polyhedron facets adjacencies"
5353
};
5454

5555
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/adjacency/section_meshes_adjacency.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace geode
4545
{
4646
InspectionIssuesMap< PolygonEdge >
4747
surfaces_edges_with_wrong_adjacencies{
48-
"Section Surface mesh polygon edges adjacencies issues"
48+
"polygon edges adjacencies"
4949
};
5050

5151
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/colocation/component_meshes_colocation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace geode
4141
struct opengeode_inspector_inspector_api MeshesColocationInspectionResult
4242
{
4343
InspectionIssuesMap< std::vector< index_t > > colocated_points_groups{
44-
"Model component meshes with colocated points"
44+
"colocated points"
4545
};
4646

4747
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/colocation/unique_vertices_colocation.hpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ namespace geode
3939
struct opengeode_inspector_inspector_api UniqueVerticesInspectionResult
4040
{
4141
InspectionIssues< std::vector< index_t > >
42-
colocated_unique_vertices_groups{
43-
"Model unique vertices which are colocated"
44-
};
42+
colocated_unique_vertices_groups{ "colocated unique vertices" };
4543
InspectionIssues< index_t > unique_vertices_linked_to_different_points{
46-
"Model unique vertices linked to component mesh vertices at "
47-
"different positions"
44+
"unique vertex refering multiple positions"
4845
};
4946

5047
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/degeneration/brep_meshes_degeneration.hpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,12 @@ namespace geode
4141
struct
4242
opengeode_inspector_inspector_api BRepMeshesDegenerationInspectionResult
4343
{
44-
InspectionIssuesMap< index_t > degenerated_edges{
45-
"BRep component meshes with degenerated edges"
46-
};
44+
InspectionIssuesMap< index_t > degenerated_edges{ "degenerated edges" };
4745
InspectionIssuesMap< index_t > degenerated_polygons{
48-
"BRep component meshes with degenerated polygons"
46+
"degenerated polygons"
4947
};
5048
InspectionIssuesMap< index_t > degenerated_polyhedra{
51-
"BRep component meshes with degenerated polyhedra"
49+
"degenerated polyhedra"
5250
};
5351

5452
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/degeneration/section_meshes_degeneration.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ namespace geode
4141
struct
4242
opengeode_inspector_inspector_api SectionMeshesDegenerationInspectionResult
4343
{
44-
InspectionIssuesMap< index_t > degenerated_edges{
45-
"Section component meshes with degenerated edges"
46-
};
44+
InspectionIssuesMap< index_t > degenerated_edges{ "degenerated edges" };
4745
InspectionIssuesMap< index_t > degenerated_polygons{
48-
"Section component meshes with degenerated polygons"
46+
"degenerated polygons"
4947
};
5048

5149
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/intersections/model_intersections.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace geode
4343
{
4444
InspectionIssues<
4545
std::pair< ComponentMeshElement, ComponentMeshElement > >
46-
elements_intersections{ "Surface intersections." };
46+
elements_intersections{ "intersections" };
4747

4848
[[nodiscard]] index_t nb_issues() const;
4949

include/geode/inspector/criterion/manifold/brep_meshes_manifold.hpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,21 @@ namespace geode
5858
struct opengeode_inspector_inspector_api BRepMeshesManifoldInspectionResult
5959
{
6060
InspectionIssuesMap< index_t > meshes_non_manifold_vertices{
61-
"BRep component meshes with non manifold vertices"
61+
"non manifold mesh vertices"
6262
};
63+
6364
InspectionIssuesMap< std::array< index_t, 2 > >
64-
meshes_non_manifold_edges{
65-
"BRep component meshes with non manifold edges"
66-
};
65+
meshes_non_manifold_edges{ "non manifold mesh edges" };
66+
6767
InspectionIssuesMap< PolyhedronFacetVertices >
68-
meshes_non_manifold_facets{
69-
"BRep component meshes with non manifold facets"
70-
};
68+
meshes_non_manifold_facets{ "non manifold mesh facets" };
69+
7170
InspectionIssues< BRepNonManifoldEdge > brep_non_manifold_edges{
72-
"BRep non manifold edges"
71+
"non manifold model edges"
7372
};
7473

7574
InspectionIssues< BRepNonManifoldFacet > brep_non_manifold_facets{
76-
"BRep non manifold facets"
75+
"non manifold model facets"
7776
};
7877

7978
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/manifold/section_meshes_manifold.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ namespace geode
3939
opengeode_inspector_inspector_api SectionMeshesManifoldInspectionResult
4040
{
4141
InspectionIssuesMap< index_t > meshes_non_manifold_vertices{
42-
"Section component meshes with non manifold vertices"
42+
"non manifold mesh vertices"
4343
};
4444
InspectionIssuesMap< std::array< index_t, 2 > >
45-
meshes_non_manifold_edges{
46-
"Section component meshes with non manifold edges"
47-
};
45+
meshes_non_manifold_edges{ "non manifold mesh edges" };
4846

4947
[[nodiscard]] index_t nb_issues() const;
5048

include/geode/inspector/criterion/negative_elements/brep_meshes_negative_elements.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace geode
4242
opengeode_inspector_inspector_api BRepMeshesNegativeElementsInspectionResult
4343
{
4444
InspectionIssuesMap< index_t > negative_polyhedra{
45-
"BRep block meshes with negative polyhedra"
45+
"negative polyhedra"
4646
};
4747

4848
[[nodiscard]] index_t nb_issues() const;

0 commit comments

Comments
 (0)