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/Centering.h" 00028 00029 // Names for the centering classes Cell and Vert, which are being kept around 00030 // for backwards compatibility and possibly use with noncartesian meshes: 00031 char* Cell::CenteringName = "Cell"; 00032 char* Vert::CenteringName = "Vert"; 00033 char* CenteringEnum_Names[2] = {"CELL ","VERTEX"}; 00034 00035 //CC chokes static void Cell::print_Centerings(ostream& out) 00036 void Cell::print_Centerings(ostream& out) 00037 { 00038 out << Cell::CenteringName << endl; 00039 } 00040 //CC chokes static void Vert::print_Centerings(ostream& out) 00041 void Vert::print_Centerings(ostream& out) 00042 { 00043 out << Vert::CenteringName << endl; 00044 } 00045 00046 /*************************************************************************** 00047 * $RCSfile: Centering.cpp,v $ $Author: adelmann $ 00048 * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:28 $ 00049 * IPPL_VERSION_ID: $Id: Centering.cpp,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $ 00050 ***************************************************************************/