From: bangerth Date: Wed, 20 Sep 2006 16:38:18 +0000 (+0000) Subject: Rename functions to avoid confusing them with assertions. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1e1dafeb20a806c8ee7def9215d2dde369807f;p=dealii-svn.git Rename functions to avoid confusing them with assertions. git-svn-id: https://svn.dealii.org/trunk@13934 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 6a377b4dbb..ddeca6a773 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -1573,7 +1573,7 @@ namespace internal */ template void - assert_existence_of_face_matrix (const FiniteElement &fe1, + ensure_existence_of_face_matrix (const FiniteElement &fe1, const FiniteElement &fe2, boost::shared_ptr > &matrix) { @@ -1595,7 +1595,7 @@ namespace internal */ template void - assert_existence_of_subface_matrix (const FiniteElement &fe1, + ensure_existence_of_subface_matrix (const FiniteElement &fe1, const FiniteElement &fe2, const unsigned int subface, boost::shared_ptr > &matrix) @@ -2450,7 +2450,7 @@ namespace internal // properties of a // finite element onto // that mesh - assert_existence_of_subface_matrix + ensure_existence_of_subface_matrix (cell->get_fe(), subface->get_fe(subface_fe_index), c, @@ -2545,7 +2545,7 @@ namespace internal cell->get_fe().dofs_per_face, ExcInternalError()); - assert_existence_of_face_matrix + ensure_existence_of_face_matrix (dominating_fe, cell->get_fe(), face_interpolation_matrices @@ -2638,7 +2638,7 @@ namespace internal Assert (dominating_fe.dofs_per_face <= subface_fe.dofs_per_face, ExcInternalError()); - assert_existence_of_subface_matrix + ensure_existence_of_subface_matrix (dominating_fe, subface_fe, sf, @@ -2738,7 +2738,7 @@ namespace internal // for this // face are // available - assert_existence_of_face_matrix + ensure_existence_of_face_matrix (cell->get_fe(), neighbor->get_fe(), face_interpolation_matrices diff --git a/deal.II/deal.II/source/dofs/hp_dof_handler.cc b/deal.II/deal.II/source/dofs/hp_dof_handler.cc index 65a52405e7..1ce21fe9a1 100644 --- a/deal.II/deal.II/source/dofs/hp_dof_handler.cc +++ b/deal.II/deal.II/source/dofs/hp_dof_handler.cc @@ -55,7 +55,7 @@ namespace internal */ template void - assert_existence_of_dof_identities (const FiniteElement &fe1, + ensure_existence_of_dof_identities (const FiniteElement &fe1, const FiniteElement &fe2, boost::shared_ptr &identities) { @@ -2186,7 +2186,7 @@ namespace hp // entry in the // equivalence // table exists - internal::hp::assert_existence_of_dof_identities + internal::hp::ensure_existence_of_dof_identities (get_fe()[first_fe_index], get_fe()[other_fe_index], vertex_dof_identities[first_fe_index][other_fe_index]); @@ -2279,7 +2279,7 @@ namespace hp const unsigned int other_fe_index = line->nth_active_fe_index (f); - internal::hp::assert_existence_of_dof_identities + internal::hp::ensure_existence_of_dof_identities ((*finite_elements)[first_fe_index], (*finite_elements)[other_fe_index], line_dof_identities[first_fe_index][other_fe_index]); @@ -2354,7 +2354,7 @@ namespace hp const unsigned int other_fe_index = quad->nth_active_fe_index (f); - internal::hp::assert_existence_of_dof_identities + internal::hp::ensure_existence_of_dof_identities ((*finite_elements)[first_fe_index], (*finite_elements)[other_fe_index], quad_dof_identities[first_fe_index][other_fe_index]);