From cdbcf7f7b05607d75da5984294f9a7c27fbb0a7e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 14 Feb 2006 02:50:46 +0000 Subject: [PATCH] Disable one call while the class that it calls is disabled for hp as well. git-svn-id: https://svn.dealii.org/trunk@12383 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-21/step-21.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/deal.II/examples/step-21/step-21.cc b/deal.II/examples/step-21/step-21.cc index 942287a0e0..6a914020d4 100644 --- a/deal.II/examples/step-21/step-21.cc +++ b/deal.II/examples/step-21/step-21.cc @@ -1609,11 +1609,19 @@ void DGMethod::refine_grid () // Now the approximate gradients // are computed - DerivativeApproximation::approximate_gradient (mapping_collection[0], - dof_handler, - solution2, - gradient_indicator); + +//TODO: disable this for the moment and replace by some more or less +//random refinement. we need to do this since DerivativeApproximation +//isn't really ready yet for hp + +// DerivativeApproximation::approximate_gradient (mapping_collection[0], +// dof_handler, +// solution2, +// gradient_indicator); + for (unsigned int i=0; i::active_cell_iterator -- 2.39.5