File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,8 @@ class Edge : public Elem
232232
233233 virtual bool is_flipped () const override final ;
234234
235+ virtual Point side_vertex_average_normal (const unsigned int s) const override final ;
236+
235237 unsigned int center_node_on_side (const unsigned short side) const override final ;
236238
237239 ElemType side_type (const unsigned int s) const override final ;
Original file line number Diff line number Diff line change @@ -146,8 +146,6 @@ class Edge2 : public Edge
146146 */
147147 virtual Real volume () const override ;
148148
149- virtual Point side_vertex_average_normal (const unsigned int s) const override final ;
150-
151149#ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
152150
153151 /* *
Original file line number Diff line number Diff line change @@ -184,6 +184,14 @@ Edge::is_flipped() const
184184}
185185
186186
187+ Point
188+ Edge ::side_vertex_average_normal (const unsigned int s ) const
189+ {
190+ libmesh_assert_less (s , 2 );
191+ const auto v = (this -> point (0 ) - this -> point (1 )).unit ();
192+ return (s == 0 ) ? v : - v ;
193+ }
194+
187195
188196bool Edge ::on_reference_element (const Point & p ,
189197 const Real eps ) const
Original file line number Diff line number Diff line change @@ -143,14 +143,6 @@ Real Edge2::volume () const
143143}
144144
145145
146- Point
147- Edge2 ::side_vertex_average_normal (const unsigned int s ) const
148- {
149- libmesh_assert_less (s , 2 );
150- const auto v = (this -> point (0 ) - this -> point (1 )).unit ();
151- return (s == 0 ) ? v : - v ;
152- }
153-
154146dof_id_type Edge2 ::key () const
155147{
156148 return this -> compute_key (this -> node_id (0 ),
You can’t perform that action at this time.
0 commit comments