From 331fd2e31f5ef6217bc77fe79734edf245417db6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 25 Aug 1998 15:07:21 +0000 Subject: [PATCH] Small changes in some Assertions. git-svn-id: https://svn.dealii.org/trunk@514 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/dof_accessor.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/source/dofs/dof_accessor.cc b/deal.II/deal.II/source/dofs/dof_accessor.cc index 12793da09a..82bd1a32e3 100644 --- a/deal.II/deal.II/source/dofs/dof_accessor.cc +++ b/deal.II/deal.II/source/dofs/dof_accessor.cc @@ -94,7 +94,7 @@ template void DoFLineAccessor::get_dof_indices (vector &dof_indices) const { Assert (dof_handler != 0, ExcInvalidObject()); - Assert (&dof_handler->get_selected_fe() != 0, ExcInvalidObject()); + Assert (dof_handler->selected_fe != 0, ExcInvalidObject()); Assert (dof_indices.size() == (2*dof_handler->get_selected_fe().dofs_per_vertex + dof_handler->get_selected_fe().dofs_per_line), ExcVectorDoesNotMatch()); @@ -133,7 +133,7 @@ void DoFLineAccessor:: distribute_local_to_global (const dVector &local_source, dVector &global_destination) const { Assert (dof_handler != 0, ExcInvalidObject()); - Assert (&dof_handler->get_selected_fe() != 0, ExcInvalidObject()); + Assert (dof_handler->selected_fe != 0, ExcInvalidObject()); Assert (local_source.size() == (2*dof_handler->get_selected_fe().dofs_per_vertex + dof_handler->get_selected_fe().dofs_per_line), ExcVectorDoesNotMatch()); @@ -158,7 +158,7 @@ void DoFLineAccessor:: distribute_local_to_global (const dFMatrix &local_source, dSMatrix &global_destination) const { Assert (dof_handler != 0, ExcInvalidObject()); - Assert (&dof_handler->get_selected_fe() != 0, ExcInvalidObject()); + Assert (dof_handler->selected_fe != 0, ExcInvalidObject()); Assert (local_source.m() == (2*dof_handler->get_selected_fe().dofs_per_vertex + dof_handler->get_selected_fe().dofs_per_line), ExcVectorDoesNotMatch()); @@ -264,7 +264,7 @@ template void DoFQuadAccessor::get_dof_indices (vector &dof_indices) const { Assert (dof_handler != 0, ExcInvalidObject()); - Assert (&dof_handler->get_selected_fe() != 0, ExcInvalidObject()); + Assert (dof_handler->selected_fe != 0, ExcInvalidObject()); Assert (dof_indices.size() == (4*dof_handler->get_selected_fe().dofs_per_vertex + 4*dof_handler->get_selected_fe().dofs_per_line + dof_handler->get_selected_fe().dofs_per_quad), @@ -324,7 +324,7 @@ void DoFQuadAccessor:: distribute_local_to_global (const dVector &local_source, dVector &global_destination) const { Assert (dof_handler != 0, ExcInvalidObject()); - Assert (&dof_handler->get_selected_fe() != 0, ExcInvalidObject()); + Assert (dof_handler->selected_fe != 0, ExcInvalidObject()); Assert (local_source.size() == (4*dof_handler->get_selected_fe().dofs_per_vertex + 4*dof_handler->get_selected_fe().dofs_per_line + dof_handler->get_selected_fe().dofs_per_quad), @@ -350,7 +350,7 @@ void DoFQuadAccessor:: distribute_local_to_global (const dFMatrix &local_source, dSMatrix &global_destination) const { Assert (dof_handler != 0, ExcInvalidObject()); - Assert (&dof_handler->get_selected_fe() != 0, ExcInvalidObject()); + Assert (dof_handler->selected_fe != 0, ExcInvalidObject()); Assert (local_source.m() == (4*dof_handler->get_selected_fe().dofs_per_vertex + 4*dof_handler->get_selected_fe().dofs_per_line + dof_handler->get_selected_fe().dofs_per_quad), -- 2.39.5