OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
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{
41}
42//CC chokes static void Vert::print_Centerings(ostream& out)
43void Vert::print_Centerings(std::ostream& out)
44{
46}
47
48void Edge::print_Centerings(std::ostream& out)
49{
51}
52
53/***************************************************************************
54 * $RCSfile: Centering.cpp,v $ $Author: adelmann $
55 * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:28 $
56 * IPPL_VERSION_ID: $Id: Centering.cpp,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $
57 ***************************************************************************/
Inform & endl(Inform &inf)
Definition: Inform.cpp:42
static const char * CenteringEnum_Names[3]
Definition: Centering.h:28
static const char * CenteringName
Definition: Centering.h:34
static void print_Centerings(std::ostream &)
Definition: Centering.cpp:38
static const char * CenteringName
Definition: Centering.h:45
static void print_Centerings(std::ostream &)
Definition: Centering.cpp:43
static void print_Centerings(std::ostream &)
Definition: Centering.cpp:48
static const char * CenteringName
Definition: Centering.h:52