* of the domain with the number n,
* satisfying
* #n=this_thread (mod n_threads)#
- * This enumeration is choosen to
+ * This enumeration is chosen to
* generate a random distribution
* of all cells.
*
- * This function is only needed in
- * two or three dimensions.
- * The Errorestimator in one dimension
- * is implemented seperatly.
+ * This function is only needed
+ * in two or three dimensions.
+ * The error estimator in one
+ * dimension is implemented
+ * seperatly.
*/
- static void * estimate_some (Data &data,
- const unsigned int this_thread);
+ static void estimate_some (Data &data,
+ const unsigned int this_thread);
/**
* Actually do the computation on a face
#if deal_II_dimension == 1
template <>
-void * KellyErrorEstimator<1>::estimate_some (Data &,const unsigned int )
+void KellyErrorEstimator<1>::estimate_some (Data &, const unsigned int)
{
Assert (false, ExcInternalError() );
- return 0;
}
+
+
template <>
void KellyErrorEstimator<1>::estimate (const DoFHandler<1> &dof,
const Quadrature<0> &,
template <int dim>
-void * KellyErrorEstimator<dim>::estimate_some (Data &data,
- const unsigned int this_thread)
+void KellyErrorEstimator<dim>::estimate_some (Data &data,
+ const unsigned int this_thread)
{
// make up a fe face values object for the
// next cell in this thread
for (unsigned int t=0;((t<data.n_threads)&&(cell!=data.endc));++t,++cell) {};
};
- return 0;
-}
+};
+
+
template <int dim>
void KellyErrorEstimator<dim>::estimate (const DoFHandler<dim> &dof,