IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
Centering.cpp
Go to the documentation of this file.
1// -*- C++ -*-
2/***************************************************************************
3 *
4 * The IPPL Framework
5 *
6 * This program was prepared by PSI.
7 * All rights in the program are reserved by PSI.
8 * Neither PSI nor the author(s)
9 * makes any warranty, express or implied, or assumes any liability or
10 * responsibility for the use of this software
11 *
12 * Visit www.amas.web.psi for more details
13 *
14 ***************************************************************************/
15
16// -*- C++ -*-
17/***************************************************************************
18 *
19 * The IPPL Framework
20 *
21 *
22 * Visit http://people.web.psi.ch/adelmann/ for more details
23 *
24 ***************************************************************************/
25
26// include files
27#include "Meshes/Centering.h"
28
29// Names for the centering classes Cell and Vert, which are being kept around
30// for backwards compatibility and possibly use with noncartesian meshes:
31const char* Cell::CenteringName = "Cell";
32const char* Vert::CenteringName = "Vert";
33const char* Edge::CenteringName = "Edge";
34
35const char* Centering::CenteringEnum_Names[] = {"CELL ", "VERTEX", "EDGE "};
36
37// CC chokes static void Cell::print_Centerings(ostream& out)
38void Cell::print_Centerings(std::ostream& out) {
39 out << Cell::CenteringName << std::endl;
40}
41// CC chokes static void Vert::print_Centerings(ostream& out)
42void Vert::print_Centerings(std::ostream& out) {
43 out << Vert::CenteringName << std::endl;
44}
45
46void Edge::print_Centerings(std::ostream& out) {
47 out << Edge::CenteringName << std::endl;
48}
49
50/***************************************************************************
51 * $RCSfile: Centering.cpp,v $ $Author: adelmann $
52 * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:28 $
53 * IPPL_VERSION_ID: $Id: Centering.cpp,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $
54 ***************************************************************************/
static const char * CenteringEnum_Names[3]
Definition Centering.h:35
static const char * CenteringName
Definition Centering.h:32
static void print_Centerings(std::ostream &)
Definition Centering.cpp:38
static const char * CenteringName
Definition Centering.h:42
static void print_Centerings(std::ostream &)
Definition Centering.cpp:42
static void print_Centerings(std::ostream &)
Definition Centering.cpp:46
static const char * CenteringName
Definition Centering.h:48