From c33dcc2faa231ed54eddbe6c1211d892860d1c0c Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 28 Mar 2005 21:20:55 +0000 Subject: [PATCH] add class name to subscription git-svn-id: https://svn.dealii.org/trunk@10256 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_system.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_system.cc b/deal.II/deal.II/source/fe/fe_system.cc index 4a21e06a25..54f7042cc1 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -156,7 +156,7 @@ FESystem::FESystem (const FiniteElement &fe, base_elements(1) { base_elements[0] = ElementPair(fe.clone(), n_elements); - base_elements[0].first->subscribe (); + base_elements[0].first->subscribe (typeid(*this).name()); initialize (); } @@ -175,9 +175,9 @@ FESystem::FESystem (const FiniteElement &fe1, base_elements(2) { base_elements[0] = ElementPair(fe1.clone(), n1); - base_elements[0].first->subscribe (); + base_elements[0].first->subscribe (typeid(*this).name()); base_elements[1] = ElementPair(fe2.clone(), n2); - base_elements[1].first->subscribe (); + base_elements[1].first->subscribe (typeid(*this).name()); initialize (); } @@ -202,11 +202,11 @@ FESystem::FESystem (const FiniteElement &fe1, base_elements(3) { base_elements[0] = ElementPair(fe1.clone(), n1); - base_elements[0].first->subscribe (); + base_elements[0].first->subscribe (typeid(*this).name()); base_elements[1] = ElementPair(fe2.clone(), n2); - base_elements[1].first->subscribe (); + base_elements[1].first->subscribe (typeid(*this).name()); base_elements[2] = ElementPair(fe3.clone(), n3); - base_elements[2].first->subscribe (); + base_elements[2].first->subscribe (typeid(*this).name()); initialize (); } @@ -219,7 +219,7 @@ FESystem::~FESystem () // the constructor for (unsigned i=0; iunsubscribe(); + base_elements[i].first->unsubscribe(typeid(*this).name()); delete base_elements[i].first; base_elements[i].first = 0; } -- 2.39.5