[Dune] Changes in DofManager.

Robert Kloefkorn robertk at mathematik.uni-freiburg.de
Mon Jun 20 10:32:29 CEST 2005


Hi all together,

I just checked in the file dofmanager.hh. Here I made the change that
the constructor of the DofManager class is private now and the
DofManager only can be created form the new class DofManagerFactory.

All who use this class schould replace the the old dofmanager creation
line by the following piece of code:

typedef DofManager<GridType> DofManagerType;
typedef DofManagerFactory<GridType> DofManagerFactoryType;

DofManagerType & dm = DofManagerFactoryType::getDofManager ( grid );

Also the removal of the dofmanager has to be done by this class, if
explictily needed.

DofManagerFactoryType::deleteDofManager ( dm );

Regards

Robert

-- 

  Robert Klöfkorn           <robertk at mathematik.uni-freiburg.de>

  Mathematisches Institut              Tel: +49 (0) 761 203 5631
  Abt. für Angewandte Mathematik       Fax: +49 (0) 761 203 5632
  Universität Freiburg
  Hermann-Herder-Str. 10
  79104 Freiburg

  http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk




More information about the Dune mailing list