]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't use get_face. Previous use may have been honorable, but that
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Jan 2003 16:41:20 +0000 (16:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Jan 2003 16:41:20 +0000 (16:41 +0000)
function is now gone and we can either add another parameter to the
functions that use this, or leave out the check. Since the functions
that use this are called in only one place, it seems acceptable to
remove the check, although this is arguably not the best way...

git-svn-id: https://svn.dealii.org/trunk@6936 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-12/step-12.cc

index 85fd3cc06d7b91ecaba05d048e3d770c02bfa949..f6e8c1916aa826559a333aa4cad48a93432a869d 100644 (file)
@@ -326,11 +326,6 @@ void DGTransportEquation<dim>::assemble_boundary_term(
   FullMatrix<double> &u_v_matrix,
   Vector<double> &cell_vector) const
 {
-                                  // First we check whether the
-                                  // current face is really at the
-                                  // boundary.
-  Assert(fe_v.get_face()->at_boundary(), ExcInternalError());
-  
                                   // Again, as in the previous
                                   // function, we ask the ``FEValues''
                                   // object for the shape values and
@@ -416,11 +411,6 @@ void DGTransportEquation<dim>::assemble_face_term1(
   FullMatrix<double> &u_v_matrix,
   FullMatrix<double> &un_v_matrix) const
 {
-                                  // First we check that the current
-                                  // face is not at the boundary by
-                                  // accident.
-  Assert(!fe_v.get_face()->at_boundary(), ExcInternalError());
-  
                                   // Again, as in the previous
                                   // function, we ask the FEValues
                                   // objects for the shape values,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.