src/Meshes/Centering.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /***************************************************************************
00003  *
00004  * The IPPL Framework
00005  * 
00006  *
00007  * Visit http://people.web.psi.ch/adelmann/ for more details
00008  *
00009  ***************************************************************************/
00010 
00011 // Centering.h
00012 // Vert and Cell classes used to indicate Field centering method; see also
00013 // the file CartesianCentering.h for more centering classes.
00014 
00015 #ifndef CENTERING_H
00016 #define CENTERING_H
00017 
00018 // include files
00019 #ifdef IPPL_USE_STANDARD_HEADERS
00020 #include <iostream>
00021 using namespace std;
00022 #else
00023 #include <iostream.h>
00024 #endif
00025 
00026 // Cell-centered, all components, for all dimensions in cartesian-mesh case.
00027 // Recommendation: use CommonCartesianCenterings<D,NComponents,0U>::allCell
00028 // instead of this for cartesian meshes.
00029 // Keep this class around for backwards compatibility, and possibly for use
00030 // with non-cartesian meshes. 
00031 class Cell
00032 {
00033 public:
00034   static char* CenteringName;
00035   static void print_Centerings(ostream&);
00036 };
00037 // Vertex-centered, all components, for all dimensions in cartesian-mesh case.
00038 // Recommendation: use CommonCartesianCenterings<D,NComponents,0U>::allVert
00039 // instead of this for cartesian meshes.
00040 // Keep this class around for backwards compatibility, and possibly for use
00041 // with non-cartesian meshes. 
00042 class Vert
00043 { 
00044 public:
00045   static char* CenteringName;
00046   static void print_Centerings(ostream&);
00047 };
00048 
00049 #endif // CENTERING_H
00050 
00051 /***************************************************************************
00052  * $RCSfile: Centering.h,v $   $Author: adelmann $
00053  * $Revision: 1.1.1.1 $   $Date: 2003/01/23 07:40:28 $
00054  * IPPL_VERSION_ID: $Id: Centering.h,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $ 
00055  ***************************************************************************/

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