From 85e552611bc08754860ecda5fdc386c29ad92e87 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 2 Mar 2010 21:42:16 +0000 Subject: [PATCH] Add a TODO. git-svn-id: https://svn.dealii.org/trunk@20724 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/multigrid/mg_transfer_component.h | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/deal.II/deal.II/include/multigrid/mg_transfer_component.h b/deal.II/deal.II/include/multigrid/mg_transfer_component.h index 2e32e71067..2398d07fd0 100644 --- a/deal.II/deal.II/include/multigrid/mg_transfer_component.h +++ b/deal.II/deal.II/include/multigrid/mg_transfer_component.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -64,9 +64,9 @@ class MGTransferComponentBase * Memory used by this object. */ unsigned int memory_consumption () const; - - protected: + + protected: /** * Actually build the prolongation * matrices for each level. @@ -119,19 +119,19 @@ class MGTransferComponentBase * renumbering is required. */ std::vector target_component; - + /** * Target component if * renumbering of level vectors * is required. */ std::vector mg_target_component; - + /** * Sizes of the multi-level vectors. */ mutable std::vector > sizes; - + /** * Start index of each component. */ @@ -148,12 +148,12 @@ class MGTransferComponentBase * function first. */ DeclException0(ExcMatricesNotBuilt); - + private: std::vector > prolongation_sparsities; - + protected: - + /** * The actual prolongation matrix. * column indices belong to the @@ -163,7 +163,7 @@ class MGTransferComponentBase * child cell, i.e. the fine level. */ std::vector > > prolongation_matrices; - + /** * Holds the mapping for the * copy_to/from_mg-functions. @@ -174,9 +174,9 @@ class MGTransferComponentBase copy_to_and_from_indices; /** - * Store the boundary_indices. - * These are needed for the - * boundary values in the + * Store the boundary_indices. + * These are needed for the + * boundary values in the * restriction matrix. */ std::vector > boundary_indices; @@ -184,6 +184,8 @@ class MGTransferComponentBase //TODO:[GK] Update documentation for copy_* functions +//TODO: Use same kind of template argument as MGTransferSelect + /** * Implementation of the MGTransferBase interface for block * matrices and simple vectors. This class uses MGTransferComponentBase @@ -219,7 +221,7 @@ class MGTransferSelect : public MGTransferBase >, * Destructor. */ virtual ~MGTransferSelect (); - + /** * Actually build the prolongation * matrices for grouped components. @@ -249,7 +251,7 @@ class MGTransferSelect : public MGTransferBase >, * renumbering of components in * the fine-level vector (see * DoFRenumbering::component_wise). - * + * * @arg mg_target_component: this * argument allows grouping and * renumbering of components in @@ -280,7 +282,7 @@ class MGTransferSelect : public MGTransferBase >, */ void select (const unsigned int component, const unsigned int mg_component = numbers::invalid_unsigned_int); - + virtual void prolongate (const unsigned int to_level, Vector &dst, const Vector &src) const; @@ -288,7 +290,7 @@ class MGTransferSelect : public MGTransferBase >, virtual void restrict_and_add (const unsigned int from_level, Vector &dst, const Vector &src) const; - + /** * Transfer from a vector on the * global grid to a multilevel vector. @@ -372,7 +374,7 @@ class MGTransferSelect : public MGTransferBase >, * Memory used by this object. */ unsigned int memory_consumption () const; - + private: /** * Implementation of the public -- 2.39.5