Newer
Older
// ============================================================================
// == ==
// == AMDiS - Adaptive multidimensional simulations ==
// == ==

Thomas Witkowski
committed
// == http://www.amdis-fem.org ==
// == ==
// ============================================================================

Thomas Witkowski
committed
//
// Software License for AMDiS
//
// Copyright (c) 2010 Dresden University of Technology
// All rights reserved.
// Authors: Simon Vey, Thomas Witkowski et al.
//
// This file is part of AMDiS
//
// See also license.opensource.txt in the distribution.
/** \file Boundary.h */
#ifndef AMDIS_BOUNDARY_H
#define AMDIS_BOUNDARY_H
#include <map>
#include "Global.h"
namespace AMDiS {

Thomas Witkowski
committed
/// Contains boundary constants

Thomas Witkowski
committed
INTERIOR = 0, /**< interior => no boundary (b = 0) */
DIRICHLET = 1, /**< dirichlet boundary (b > 0) */
NEUMANN = -1, /**< neumann boundary (-100 < b < 0) */
ROBIN = -100 /**< robin boundary (b <= -100) */

Thomas Witkowski
committed
/// Type specifier for the different boundary types
typedef signed int BoundaryType;
BoundaryType newBound(BoundaryType oldBound, BoundaryType newBound);
}