From d7a05ca46cec67960276ed25584e63bd28cd1b4f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 25 Mar 2008 16:17:03 +0000 Subject: [PATCH] Only run tests on the first cell, to reduce output from the many megabytes we currently have. git-svn-id: https://svn.dealii.org/trunk@15934 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/fe_values_view_01.cc | 66 +++++++++---------- tests/deal.II/fe_values_view_02.cc | 102 ++++++++++++++--------------- 2 files changed, 80 insertions(+), 88 deletions(-) diff --git a/tests/deal.II/fe_values_view_01.cc b/tests/deal.II/fe_values_view_01.cc index d27c97acdf..e5c5a7dcdd 100644 --- a/tests/deal.II/fe_values_view_01.cc +++ b/tests/deal.II/fe_values_view_01.cc @@ -46,42 +46,38 @@ void test (const Triangulation& tr, const QGauss quadrature(2); FEValues fe_values (fe, quadrature, update_values | update_gradients | update_hessians); - for (typename DoFHandler::active_cell_iterator - cell = dof.begin_active(); cell != dof.end(); ++cell) - { - fe_values.reinit (cell); + fe_values.reinit (dof.begin_active()); - for (unsigned int c=0; c& tr, const QGauss quadrature(2); FEValues fe_values (fe, quadrature, update_values | update_gradients | update_hessians); - for (typename DoFHandler::active_cell_iterator - cell = dof.begin_active(); cell != dof.end(); ++cell) - { - fe_values.reinit (cell); + fe_values.reinit (dof.begin_active()); - for (unsigned int c=0; c