From: Wolfgang Bangerth Date: Tue, 14 Feb 2006 02:50:46 +0000 (+0000) Subject: Disable one call while the class that it calls is disabled for hp as well. X-Git-Tag: v8.0.0~12299 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdbcf7f7b05607d75da5984294f9a7c27fbb0a7e;p=dealii.git 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 --- 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