src/Meshes/Mesh.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /***************************************************************************
00003  *
00004  * The IPPL Framework
00005  * 
00006  * This program was prepared by PSI. 
00007  * All rights in the program are reserved by PSI.
00008  * Neither PSI nor the author(s)
00009  * makes any warranty, express or implied, or assumes any liability or
00010  * responsibility for the use of this software
00011  *
00012  * Visit http://www.acl.lanl.gov/POOMS for more details
00013  *
00014  ***************************************************************************/
00015 
00016 // -*- C++ -*-
00017 /***************************************************************************
00018  *
00019  * The IPPL Framework
00020  * 
00021  *
00022  * Visit http://people.web.psi.ch/adelmann/ for more details
00023  *
00024  ***************************************************************************/
00025 
00026 // include files
00027 #include "Meshes/Mesh.h"
00028 
00029 // static member data
00030 template<unsigned int Dim>
00031 char* Mesh<Dim>::MeshBC_E_Names[3] = {"Reflective","Periodic  ","No BC     "};
00032 
00033 
00035 // default constructor for Mesh
00036 template<unsigned int Dim>
00037 Mesh<Dim>::Mesh() { }
00038 
00039 
00041 // destructor for Mesh
00042 template<unsigned int Dim>
00043 Mesh<Dim>::~Mesh() { }
00044 
00045 
00047 // notify all the registered FieldLayoutUser's that this Mesh has
00048 // changed.  This is done by called the 'Repartition' virtual function
00049 // in FieldLayoutUser
00050 template<unsigned int Dim>
00051 void Mesh<Dim>::notifyOfChange() {
00052   // Repartition each registered user.
00053   for (iterator_if p=begin_if(); p!=end_if(); ++p) {
00054     FieldLayoutUser *user = (FieldLayoutUser *)((*p).second);
00055     user->Repartition(this);
00056   }
00057 }
00058 
00059 
00060 /***************************************************************************
00061  * $RCSfile: Mesh.cpp,v $   $Author: adelmann $
00062  * $Revision: 1.1.1.1 $   $Date: 2003/01/23 07:40:28 $
00063  * IPPL_VERSION_ID: $Id: Mesh.cpp,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $ 
00064  ***************************************************************************/

Generated on Mon Jan 16 13:23:51 2006 for IPPL by  doxygen 1.4.6