File tree 8 files changed +16
-8
lines changed
8 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,8 @@ class NodeElem : public Elem
179
179
/* *
180
180
* \returns \p true if the specified (local) node number is a vertex.
181
181
*/
182
- virtual bool is_vertex (const unsigned int ) const override { return true ; }
182
+ virtual bool is_vertex (const unsigned int libmesh_ignore (n)) const override
183
+ { libmesh_assert_not_equal_to (n, invalid_uint); return true ; }
183
184
184
185
/* *
185
186
* NodeElem objects don't have faces or sides.
Original file line number Diff line number Diff line change @@ -69,8 +69,9 @@ const unsigned int Hex8::edge_nodes_map[Hex8::num_edges][Hex8::nodes_per_edge] =
69
69
// ------------------------------------------------------------
70
70
// Hex8 class member functions
71
71
72
- bool Hex8 ::is_vertex (const unsigned int ) const
72
+ bool Hex8 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
73
73
{
74
+ libmesh_assert_not_equal_to (n , invalid_uint );
74
75
return true;
75
76
}
76
77
Original file line number Diff line number Diff line change @@ -145,8 +145,9 @@ const unsigned int Prism6::edge_nodes_map[Prism6::num_edges][Prism6::nodes_per_e
145
145
// ------------------------------------------------------------
146
146
// Prism6 class member functions
147
147
148
- bool Prism6 ::is_vertex (const unsigned int ) const
148
+ bool Prism6 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
149
149
{
150
+ libmesh_assert_not_equal_to (n , invalid_uint );
150
151
return true;
151
152
}
152
153
Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ const unsigned int Pyramid5::edge_nodes_map[Pyramid5::num_edges][Pyramid5::nodes
62
62
// ------------------------------------------------------------
63
63
// Pyramid5 class member functions
64
64
65
- bool Pyramid5 ::is_vertex (const unsigned int ) const
65
+ bool Pyramid5 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
66
66
{
67
+ libmesh_assert_not_equal_to (n , invalid_uint );
67
68
return true;
68
69
}
69
70
Original file line number Diff line number Diff line change @@ -57,8 +57,9 @@ const unsigned int Tet4::edge_nodes_map[Tet4::num_edges][Tet4::nodes_per_edge] =
57
57
// ------------------------------------------------------------
58
58
// Tet4 class member functions
59
59
60
- bool Tet4 ::is_vertex (const unsigned int ) const
60
+ bool Tet4 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
61
61
{
62
+ libmesh_assert_not_equal_to (n , invalid_uint );
62
63
return true;
63
64
}
64
65
Original file line number Diff line number Diff line change @@ -51,8 +51,9 @@ const Real Edge2::_embedding_matrix[Edge2::num_children][Edge2::num_nodes][Edge2
51
51
52
52
#endif
53
53
54
- bool Edge2 ::is_vertex (const unsigned int ) const
54
+ bool Edge2 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
55
55
{
56
+ libmesh_assert_not_equal_to (n , invalid_uint );
56
57
return true;
57
58
}
58
59
Original file line number Diff line number Diff line change @@ -91,8 +91,9 @@ const Real Quad4::_embedding_matrix[Quad4::num_children][Quad4::num_nodes][Quad4
91
91
// ------------------------------------------------------------
92
92
// Quad4 class member functions
93
93
94
- bool Quad4 ::is_vertex (const unsigned int ) const
94
+ bool Quad4 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
95
95
{
96
+ libmesh_assert_not_equal_to (n , invalid_uint );
96
97
return true;
97
98
}
98
99
Original file line number Diff line number Diff line change @@ -83,8 +83,9 @@ const Real Tri3::_embedding_matrix[Tri3::num_children][Tri3::num_nodes][Tri3::nu
83
83
// ------------------------------------------------------------
84
84
// Tri3 class member functions
85
85
86
- bool Tri3 ::is_vertex (const unsigned int ) const
86
+ bool Tri3 ::is_vertex (const unsigned int libmesh_ignore ( n ) ) const
87
87
{
88
+ libmesh_assert_not_equal_to (n , invalid_uint );
88
89
return true;
89
90
}
90
91
You can’t perform that action at this time.
0 commit comments