Boundary.h 1.19 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/******************************************************************************
 *
 * AMDiS - Adaptive multidimensional simulations
 *
 * Copyright (C) 2013 Dresden University of Technology. All Rights Reserved.
 * Web: https://fusionforge.zih.tu-dresden.de/projects/amdis
 *
 * Authors: 
 * Simon Vey, Thomas Witkowski, Andreas Naumann, Simon Praetorius, et al.
 *
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 *
 * This file is part of AMDiS
 *
 * See also license.opensource.txt in the distribution.
 * 
 ******************************************************************************/
20
21


22
23
24
25
26
27

/** \file Boundary.h */

#ifndef AMDIS_BOUNDARY_H
#define AMDIS_BOUNDARY_H

28
#include <map>
29
30
31
32
#include "Global.h"

namespace AMDiS {

33
  /// Flag to denote interior boundaryies.
34
  typedef enum {
35
    INTERIOR = 0
36
37
  } BoundaryConstants;

38
  /// Type specifier for the different boundary types 
39
40
41
  typedef signed int BoundaryType;

  BoundaryType newBound(BoundaryType oldBound, BoundaryType newBound);
42
43
44
45
46
47
  
  struct BoundaryTypeContainer
  {
    BoundaryTypeContainer(BoundaryType b) : b(b) {}
    BoundaryType b;
  };
48
49
50

}

51
#endif