[cig-commits] [commit] master: remove assert that will make direct solver fail in parallel (4f52773)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri May 23 05:45:35 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/03a07243826af19c94d172688ba1f905c334e07c...4f52773fbf2cfbb51201a7d742b1c38faa940596

>---------------------------------------------------------------

commit 4f52773fbf2cfbb51201a7d742b1c38faa940596
Author: Timo Heister <timo.heister at gmail.com>
Date:   Fri May 23 08:45:29 2014 -0400

    remove assert that will make direct solver fail in parallel


>---------------------------------------------------------------

4f52773fbf2cfbb51201a7d742b1c38faa940596
 source/simulator/helper_functions.cc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/source/simulator/helper_functions.cc b/source/simulator/helper_functions.cc
index 4eeaf0c..a0cc8d9 100644
--- a/source/simulator/helper_functions.cc
+++ b/source/simulator/helper_functions.cc
@@ -650,11 +650,6 @@ namespace aspect
                       = finite_element.component_to_system_index(introspection.component_indices.pressure,
                           /*dof index within component=*/ j);
 
-                      // make sure that this DoF is really owned by the current processor
-                      // and that it is in fact a pressure dof
-                      Assert (dof_handler.locally_owned_dofs().is_element(local_dof_indices[support_point_index]),
-                          ExcInternalError());
-
                       Assert (introspection.block_indices.velocities == introspection.block_indices.pressure
                           || local_dof_indices[support_point_index] >= vector.block(0).size(),
                           ExcInternalError());



More information about the CIG-COMMITS mailing list