From: hartmann Date: Mon, 9 Aug 1999 16:10:20 +0000 (+0000) Subject: remove the needless restrict functions of the FEDGs X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64194d18406d481aec5993ae0f773d72f560bc77;p=dealii-svn.git remove the needless restrict functions of the FEDGs git-svn-id: https://svn.dealii.org/trunk@1650 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_lib.dg.h b/deal.II/deal.II/include/fe/fe_lib.dg.h index d4137558a3..52712ed914 100644 --- a/deal.II/deal.II/include/fe/fe_lib.dg.h +++ b/deal.II/deal.II/include/fe/fe_lib.dg.h @@ -79,20 +79,6 @@ class FEDG_Q0 : public FEQ1Mapping { */ virtual void get_local_mass_matrix (const DoFHandler::cell_iterator &cell, FullMatrix &local_mass_matrix) const; - - /** - * Return a readonly reference to the - * matrix which describes the transfer of a - * child with the given number to the - * mother cell. See the #restriction# array - * for more information. - * - * This function returns an error since the - * correct use of the restriction - * matrices is not yet finally decided - * about. - */ - const FullMatrix & restrict (const unsigned int) const; }; @@ -131,15 +117,6 @@ class FEDG_Q1 : public FEQ1{ */ virtual void get_face_support_points (const DoFHandler::face_iterator &face, vector > &support_points) const; - - - /** - * This function returns an error since the - * correct use of the restriction - * matrices is not yet finally decided - * about. - */ - const FullMatrix & restrict (const unsigned int) const; }; @@ -177,14 +154,6 @@ class FEDG_Q2 : public FEQ2{ */ virtual void get_face_support_points (const DoFHandler::face_iterator &face, vector > &support_points) const; - - /** - * This function returns an error since the - * correct use of the restriction - * matrices is not yet finally decided - * about. - */ - const FullMatrix & restrict (const unsigned int) const; }; @@ -223,14 +192,6 @@ class FEDG_Q3 : public FEQ3{ */ virtual void get_face_support_points (const DoFHandler::face_iterator &face, vector > &support_points) const; - - /** - * This function returns an error since the - * correct use of the restriction - * matrices is not yet finally decided - * about. - */ - const FullMatrix & restrict (const unsigned int) const; }; @@ -268,14 +229,6 @@ class FEDG_Q4 : public FEQ4{ */ virtual void get_face_support_points (const DoFHandler::face_iterator &face, vector > &support_points) const; - - /** - * This function returns an error since the - * correct use of the restriction - * matrices is not yet finally decided - * about. - */ - const FullMatrix & restrict (const unsigned int) const; }; diff --git a/deal.II/deal.II/source/fe/fe_lib.dg.cc b/deal.II/deal.II/source/fe/fe_lib.dg.cc index a51421a299..c923a84ffe 100644 --- a/deal.II/deal.II/source/fe/fe_lib.dg.cc +++ b/deal.II/deal.II/source/fe/fe_lib.dg.cc @@ -35,15 +35,6 @@ FEDG_Q1::get_face_support_points (const typename DoFHandler::face_iter }; -template -const FullMatrix & -FEDG_Q1::restrict (const unsigned int child) const { - Assert (false, ExcNotImplemented()); - return restriction[child]; -}; - - - template void FEDG_Q2::get_face_support_points (const typename DoFHandler::face_iterator &, @@ -53,15 +44,6 @@ FEDG_Q2::get_face_support_points (const typename DoFHandler::face_iter }; -template -const FullMatrix & -FEDG_Q2::restrict (const unsigned int child) const { - Assert (false, ExcNotImplemented()); - return restriction[child]; -}; - - - template void FEDG_Q3::get_face_support_points (const typename DoFHandler::face_iterator &, @@ -71,16 +53,6 @@ FEDG_Q3::get_face_support_points (const typename DoFHandler::face_iter }; -template -const FullMatrix & -FEDG_Q3::restrict (const unsigned int child) const { - Assert (false, ExcNotImplemented()); - return restriction[child]; -}; - - - - template void FEDG_Q4::get_face_support_points (const typename DoFHandler::face_iterator &, @@ -90,14 +62,6 @@ FEDG_Q4::get_face_support_points (const typename DoFHandler::face_iter }; -template -const FullMatrix & -FEDG_Q4::restrict (const unsigned int child) const { - Assert (false, ExcNotImplemented()); - return restriction[child]; -}; - - // explicit instantiations diff --git a/deal.II/deal.II/source/fe/fe_lib.dg.constant.cc b/deal.II/deal.II/source/fe/fe_lib.dg.constant.cc index 5e9e2b368d..912999ee60 100644 --- a/deal.II/deal.II/source/fe/fe_lib.dg.constant.cc +++ b/deal.II/deal.II/source/fe/fe_lib.dg.constant.cc @@ -123,15 +123,6 @@ FEDG_Q0::get_face_support_points (const typename DoFHandler::face_iter -template -const FullMatrix & -FEDG_Q0::restrict (const unsigned int child) const { - Assert (false, ExcNotImplemented()); - return restriction[child]; -}; - - - // explicit instantiations template class FEDG_Q0;