From 9f1e9c71e8a291fd8aa6ac793673cc6499813652 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 30 May 2002 12:48:11 +0000 Subject: [PATCH] First round of eliminating calls to FEValues that expose internal data structures. git-svn-id: https://svn.dealii.org/trunk@5936 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-13/step-13.cc | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/deal.II/examples/step-13/step-13.cc b/deal.II/examples/step-13/step-13.cc index 7943963446..4c3bf0dfdb 100644 --- a/deal.II/examples/step-13/step-13.cc +++ b/deal.II/examples/step-13/step-13.cc @@ -1283,17 +1283,13 @@ namespace LaplaceSolver cell_matrix.clear (); fe_values.reinit (cell); - const std::vector > > - & shape_grads = fe_values.get_shape_grads(); - const std::vector - & JxW_values = fe_values.get_JxW_values(); for (unsigned int q_point=0; q_pointget_dof_indices (local_dof_indices); @@ -1529,22 +1525,15 @@ namespace LaplaceSolver for (; cell!=endc; ++cell) { cell_rhs.clear (); - fe_values.reinit (cell); - const FullMatrix - & shape_values = fe_values.get_shape_values(); - const std::vector - & JxW_values = fe_values.get_JxW_values(); - const std::vector > - & q_points = fe_values.get_quadrature_points(); - - rhs_function->value_list (q_points, rhs_values); + rhs_function->value_list (fe_values.get_quadrature_points(), + rhs_values); for (unsigned int q_point=0; q_pointget_dof_indices (local_dof_indices); for (unsigned int i=0; i