]> https://gitweb.dealii.org/ - dealii.git/commitdiff
id for SmartPointer
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 16 Mar 2005 19:52:43 +0000 (19:52 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 16 Mar 2005 19:52:43 +0000 (19:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@10174 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_coarse.h
deal.II/deal.II/include/multigrid/mg_matrix.h
deal.II/deal.II/include/multigrid/multigrid.h
deal.II/deal.II/include/multigrid/multigrid.templates.h

index 8804b74b3ad3eafe57dd6c0e1b18de26aa4297aa..1dedac20c1a9284ab888fdf9ee52ff34c94021dd 100644 (file)
@@ -170,9 +170,9 @@ template<class SOLVER, class MATRIX, class PRECOND, class VECTOR>
 MGCoarseGridLACIteration<SOLVER, MATRIX, PRECOND, VECTOR>
 ::MGCoarseGridLACIteration()
                :
-               solver(0),
-               matrix(0),
-               precondition(0)
+               solver(0, typeid(*this).name()),
+               matrix(0, typeid(*this).name()),
+               precondition(0, typeid(*this).name())
 {}
 
 
@@ -182,9 +182,9 @@ MGCoarseGridLACIteration<SOLVER, MATRIX, PRECOND, VECTOR>
                           const MATRIX  &m,
                           const PRECOND &p)
                :
-               solver(&s),
-               matrix(&m),
-               precondition(&p)
+               solver(&s, typeid(*this).name()),
+               matrix(&m, typeid(*this).name()),
+               precondition(&p, typeid(*this).name())
 {}
 
 
@@ -240,7 +240,7 @@ template<typename number, class VECTOR>
 MGCoarseGridHouseholder<number, VECTOR>::MGCoarseGridHouseholder(
   const FullMatrix<number>* A)
                :
-               matrix(A)
+               matrix(A, typeid(*this).name())
 {}
 
 
index 60f77b44057c272b9d8e1c4fd24b0b4340301f0a..4f5de38231462c5b152100918e10d7bafaa76750 100644 (file)
@@ -190,7 +190,7 @@ class MGMatrixSelect : public MGMatrixBase<Vector<number> >
 template <class MATRIX, class VECTOR>
 MGMatrix<MATRIX, VECTOR>::MGMatrix (MGLevelObject<MATRIX>* p)
                :
-               matrix (p)
+               matrix (p, typeid(*this).name())
 {}
 
 
@@ -269,7 +269,7 @@ MGMatrixSelect (const unsigned int row,
                const unsigned int col,
                MGLevelObject<MATRIX>* p)
   :
-  matrix (p),
+  matrix (p, typeid(*this).name()),
   row(row),
   col(col)
 {}
index ef909a42d8c0fe991b683275a1e7eb323090ed67..4b5ef4d7079472e1f69f110ba32fb39170f43f33 100644 (file)
@@ -463,13 +463,13 @@ Multigrid<VECTOR>::Multigrid (const MGDoFHandler<dim>& mg_dof_handler,
                solution(minlevel,maxlevel),
                t(minlevel,maxlevel),
                defect2(minlevel,maxlevel),
-               matrix(&matrix),
-               coarse(&coarse),
-               transfer(&transfer),
-               pre_smooth(&pre_smooth),
-               post_smooth(&post_smooth),
-               edge_down(0),
-               edge_up(0),
+               matrix(&matrix, typeid(*this).name()),
+               coarse(&coarse, typeid(*this).name()),
+               transfer(&transfer, typeid(*this).name()),
+               pre_smooth(&pre_smooth, typeid(*this).name()),
+               post_smooth(&post_smooth, typeid(*this).name()),
+               edge_down(0, typeid(*this).name()),
+               edge_up(0, typeid(*this).name()),
                debug(0)
 {}
 
index c8031571393aab719603d63302abf8a1693d8589..2c36f0114e4be7c28158e0c297cfd4e7f8472370 100644 (file)
@@ -37,13 +37,13 @@ Multigrid<VECTOR>::Multigrid (const unsigned int minlevel,
                defect(minlevel,maxlevel),
                solution(minlevel,maxlevel),
                t(minlevel,maxlevel),
-               matrix(&matrix),
-               coarse(&coarse),
-               transfer(&transfer),
-               pre_smooth(&pre_smooth),
-               post_smooth(&post_smooth),
-               edge_down(0),
-               edge_up(0),
+               matrix(&matrix, typeid(*this).name()),
+               coarse(&coarse, typeid(*this).name()),
+               transfer(&transfer, typeid(*this).name()),
+               pre_smooth(&pre_smooth, typeid(*this).name()),
+               post_smooth(&post_smooth, typeid(*this).name()),
+               edge_down(0, typeid(*this).name()),
+               edge_up(0, typeid(*this).name()),
                debug(0)
 {}
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.