From df94fbda1ee1014260500aa05a531104c4763575 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 9 Jan 2010 00:13:01 +0000 Subject: [PATCH] Instantiate things also for 1,2 and 2,3. git-svn-id: https://svn.dealii.org/trunk@20340 0785d39b-7218-0410-832d-ea1e28bc413d --- .../source/multigrid/mg_dof_accessor.cc | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/deal.II/deal.II/source/multigrid/mg_dof_accessor.cc b/deal.II/deal.II/source/multigrid/mg_dof_accessor.cc index a18bb29f7b..dca07a47cf 100644 --- a/deal.II/deal.II/source/multigrid/mg_dof_accessor.cc +++ b/deal.II/deal.II/source/multigrid/mg_dof_accessor.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -70,7 +70,7 @@ MGDoFAccessor & MGDoFAccessor::operator = (const MGDoFAccessor &da) { BaseClass::operator= (*this); - + set_dof_handler (da.mg_dof_handler); return *this; } @@ -162,7 +162,7 @@ MGDoFAccessor::child (const unsigned int i) const 0), this->child_index (i), this->mg_dof_handler); - + // make sure that we either created // a past-the-end iterator or one // pointing to a used cell @@ -193,7 +193,7 @@ MGDoFAccessor::line (const unsigned int i) const Assert (structdim > 1, ExcImpossibleInDim(structdim)); // checking of 'i' happens in // line_index(i) - + return typename internal::MGDoFHandler::Iterators::line_iterator ( this->tria, @@ -241,7 +241,7 @@ namespace internal *next++ = accessor.mg_vertex_dof_index(level,vertex,d); for (unsigned int d=0; dmg_dof_index(level,d); for (unsigned int d=0; dmg_dof_index(level,d)); for (unsigned int d=0; dmg_dof_index(level,d); for (unsigned int d=0; dmg_dof_index(level,d)); for (unsigned int d=0; d::neighbor (const unsigned int i) const this->neighbor_level (i), this->neighbor_index (i), this->mg_dof_handler); - + #ifdef DEBUG if (q.state() != IteratorState::past_the_end) Assert (q->used(), TriaAccessorExceptions::ExcUnusedCellAsNeighbor()); @@ -509,7 +509,7 @@ MGDoFCellAccessor::child (const unsigned int i) const this->present_level+1, this->child_index (i), this->mg_dof_handler); - + #ifdef DEBUG if (q.state() != IteratorState::past_the_end) Assert (q->used(), TriaAccessorExceptions::ExcUnusedCellAsChild()); @@ -534,7 +534,7 @@ MGDoFCellAccessor::face (const unsigned int i) const return this->quad(i); default: Assert (false, ExcNotImplemented()); - return + return typename internal::MGDoFHandler::Iterators::face_iterator(); } } @@ -631,6 +631,7 @@ template class MGDoFAccessor<1, 1, 1>; template class MGDoFAccessor<1, 1, 2>; template class MGDoFCellAccessor<1>; +template class MGDoFCellAccessor<1,2>; template class TriaRawIterator >; template class TriaIterator >; @@ -645,6 +646,7 @@ template class MGDoFAccessor<1, 2, 3>; template class MGDoFAccessor<2, 2, 3>; template class MGDoFCellAccessor<2>; +template class MGDoFCellAccessor<2,3>; template class TriaRawIterator >; template class TriaIterator >; -- 2.39.5