Avoid undefined call to pure virtual function

This commit is contained in:
Jan Möbius
2023-12-01 10:12:22 +01:00
parent b9fce3fa1e
commit 12763e7667

View File

@@ -166,8 +166,12 @@ protected:
/// \name Overload theses methods
//@{
/// Prepare mesh, e.g. add properties
virtual bool prepare( MeshType& _m ) = 0;
/** \brief Prepare mesh, e.g. add properties
*
* You have to reimplement this function to setup your mesh. The default implementation
* will always return false and therefore block your algorithm.
*/
virtual bool prepare( MeshType& /*_m*/ ) { return false; };
/// Subdivide mesh \c _m \c _n times
virtual bool subdivide( MeshType& _m, size_t _n, const bool _update_points = true) = 0;