From 9d15bf232c1471cf01c3a86177e2b1936e1de6c1 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 12 Jul 2014 14:13:06 -0700 Subject: [PATCH] make first_ and next_locally_owned_cell virtual --- include/deal.II/numerics/data_out.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/numerics/data_out.h b/include/deal.II/numerics/data_out.h index 0bc554148c..27482deaf1 100644 --- a/include/deal.II/numerics/data_out.h +++ b/include/deal.II/numerics/data_out.h @@ -254,14 +254,14 @@ private: * pair that is locally owned. If this object operates on a non-distributed * triangulation, the result equals what first_cell() returns. */ - cell_iterator first_locally_owned_cell (); + virtual cell_iterator first_locally_owned_cell (); /** * Return the next cell produced by the next_cell() function that is locally * owned. If this object operates on a non-distributed triangulation, the * result equals what first_cell() returns. */ - cell_iterator next_locally_owned_cell (const cell_iterator &cell); + virtual cell_iterator next_locally_owned_cell (const cell_iterator &cell); /** * Build one patch. This function is called in a WorkStream context. -- 2.39.5