From 3ea37ee91a8dd52cd53fdb7e4ed930899ab899cf Mon Sep 17 00:00:00 2001 From: Andreas Lauser <and@poware.org> Date: Wed, 3 Nov 2010 10:24:23 +0000 Subject: [PATCH] re-add dumux/common/boundaryconditions.hh 'cause the decoupled stuff uses it git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4571 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/common/boundaryconditions.hh | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 dumux/common/boundaryconditions.hh diff --git a/dumux/common/boundaryconditions.hh b/dumux/common/boundaryconditions.hh new file mode 100644 index 0000000000..383959975a --- /dev/null +++ b/dumux/common/boundaryconditions.hh @@ -0,0 +1,51 @@ +// $Id$ +/***************************************************************************** + * Copyright (C) 2009-2010 by Bernd Flemisch * + * Institute of Hydraulic Engineering * + * University of Stuttgart, Germany * + * email: <givenname>.<name>@iws.uni-stuttgart.de * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version, as long as this copyright notice * + * is included in its original form. * + * * + * This program is distributed WITHOUT ANY WARRANTY. * + *****************************************************************************/ +#ifndef DUMUX_BOUNDARYCONDITIONS_HH +#define DUMUX_BOUNDARYCONDITIONS_HH + +/** +* @file +* @brief Definition of boundary condition types, extend if necessary +* @author Peter Bastian +*/ +namespace Dumux +{ +/** @addtogroup DISC_Operators +* +* @{ +*/ +/** +* @brief Define a class containing boundary condition flags +* +*/ + +//! base Class that defines boundary condition flags +struct BoundaryConditions +{ + /** \brief These values are ordered according to precedence */ + enum Flags { + couplingOutflow = -2, //!< An outflow boundary for coupled models + couplingInflow = -1, //!< An inflow boundary for coupled models + outflow = 0, //!< An outflow boundary + neumann = 1, //!< Neumann boundary + process = 2, //!< Processor boundary + dirichlet = 3 //!< Dirichlet boundary + }; +}; + +/** @} */ +} +#endif -- GitLab