Remove get_ prefix

This commit is contained in:
Clement Jamin 2014-05-23 15:48:21 +02:00
parent 6a2739845b
commit 5b7549f2fd
4 changed files with 8 additions and 9 deletions

View File

@ -620,8 +620,8 @@ void
Mesher_3<C3T3,MC,MD>::
display_number_of_bad_elements()
{
int nf = facets_mesher_.get_number_of_bad_elements();
int nc = cells_mesher_.get_number_of_bad_elements();
int nf = facets_mesher_.number_of_bad_elements();
int nc = cells_mesher_.number_of_bad_elements();
std::cerr << "Bad facets: " << nf << " - Bad cells: " << nc << std::endl;
}

View File

@ -255,9 +255,9 @@ public:
}
/** For diagnostics. */
int get_number_of_bad_elements()
int number_of_bad_elements()
{
return derived().get_number_of_bad_elements_impl();
return derived().number_of_bad_elements_impl();
}
/** Tells if, as regards the elements of type \c Element, the refinement is

View File

@ -366,7 +366,7 @@ public:
// Initialization function
void scan_triangulation_impl();
int get_number_of_bad_elements_impl();
int number_of_bad_elements_impl();
Point circumcenter_impl(const Cell_handle& cell) const
{
@ -695,7 +695,7 @@ scan_triangulation_impl()
template<class Tr, class Cr, class MD, class C3T3_, class P_, class Ct, class C_>
int
Refine_cells_3<Tr,Cr,MD,C3T3_,P_,Ct,C_>::
get_number_of_bad_elements_impl()
number_of_bad_elements_impl()
{
typedef typename MD::Subdomain Subdomain;
typedef typename Tr::Finite_cells_iterator Finite_cell_iterator;

View File

@ -424,7 +424,7 @@ public:
/// Initialization function
void scan_triangulation_impl();
int get_number_of_bad_elements_impl();
int number_of_bad_elements_impl();
Point circumcenter_impl(const Facet& facet) const
{
@ -928,7 +928,7 @@ scan_triangulation_impl()
template<class Tr, class Cr, class MD, class C3T3_, class P_, class Ct, class C_>
int
Refine_facets_3<Tr,Cr,MD,C3T3_,P_,Ct,C_>::
get_number_of_bad_elements_impl()
number_of_bad_elements_impl()
{
typedef typename Tr::Finite_facets_iterator Finite_facet_iterator;
@ -960,7 +960,6 @@ get_number_of_bad_elements_impl()
{
std::cerr << "\n\n*** The facet f is on surface but is NOT MARKED ON SURFACE. " << std::endl;
// CJTODO DEBUG
Cell_handle c = facet.first;
int ind = facet.second;
Cell_handle mc = mirror_facet(facet).first;