IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
Centering.h
Go to the documentation of this file.
1// -*- C++ -*-
2/***************************************************************************
3 *
4 * The IPPL Framework
5 *
6 *
7 * Visit http://people.web.psi.ch/adelmann/ for more details
8 *
9 ***************************************************************************/
10
11// Centering.h
12// Vert and Cell classes used to indicate Field centering method; see also
13// the file CartesianCentering.h for more centering classes.
14
15#ifndef CENTERING_H
16#define CENTERING_H
17
18#include <iostream>
19
20// Cell-centered, all components, for all dimensions in cartesian-mesh case.
21// Recommendation: use CommonCartesianCenterings<D,NComponents,0U>::allCell
22// instead of this for cartesian meshes.
23// Keep this class around for backwards compatibility, and possibly for use
24// with non-cartesian meshes.
25class Centering {
26public:
27 static const char* CenteringEnum_Names[3];
28};
29
30class Cell {
31public:
32 static const char* CenteringName;
33 static void print_Centerings(std::ostream&);
34};
35// Vertex-centered, all components, for all dimensions in cartesian-mesh case.
36// Recommendation: use CommonCartesianCenterings<D,NComponents,0U>::allVert
37// instead of this for cartesian meshes.
38// Keep this class around for backwards compatibility, and possibly for use
39// with non-cartesian meshes.
40class Vert {
41public:
42 static const char* CenteringName;
43 static void print_Centerings(std::ostream&);
44};
45
46class Edge {
47public:
48 static const char* CenteringName;
49 static void print_Centerings(std::ostream&);
50};
51
52#endif // CENTERING_H
53
54/***************************************************************************
55 * $RCSfile: Centering.h,v $ $Author: adelmann $
56 * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:28 $
57 * IPPL_VERSION_ID: $Id: Centering.h,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $
58 ***************************************************************************/
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