Line |
Branch |
Exec |
Source |
1 |
|
|
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
2 |
|
|
// vi: set et ts=4 sw=4 sts=4: |
3 |
|
|
// |
4 |
|
|
// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder |
5 |
|
|
// SPDX-License-Identifier: GPL-3.0-or-later |
6 |
|
|
// |
7 |
|
|
/*! |
8 |
|
|
* \file |
9 |
|
|
* \ingroup CCDiscretization |
10 |
|
|
* \brief Boundary types gathered on an element |
11 |
|
|
*/ |
12 |
|
|
#ifndef DUMUX_CC_ELEMENT_BOUNDARY_TYPES_HH |
13 |
|
|
#define DUMUX_CC_ELEMENT_BOUNDARY_TYPES_HH |
14 |
|
|
|
15 |
|
|
namespace Dumux { |
16 |
|
|
|
17 |
|
|
/*! |
18 |
|
|
* \ingroup CCDiscretization |
19 |
|
|
* \brief Boundary types gathered on an element |
20 |
|
|
* \note This class exists only for compatibility purposes with the |
21 |
|
|
* box scheme. The cell-centered schemes and the box scheme use |
22 |
|
|
* a common base local residual, which passes an ElementBoundaryTypes |
23 |
|
|
* object to the implemented interfaces. |
24 |
|
|
*/ |
25 |
|
|
class CCElementBoundaryTypes |
26 |
|
|
{ |
27 |
|
|
public: |
28 |
|
|
/*! |
29 |
|
|
* \brief Update the boundary types for all vertices of an element. |
30 |
|
|
* |
31 |
|
|
* \param problem The problem object which needs to be simulated |
32 |
|
|
* \param element The DUNE Codim<0> entity for which the boundary |
33 |
|
|
* types should be collected |
34 |
|
|
* \param fvGeometry The element finite volume geometry |
35 |
|
|
*/ |
36 |
|
|
template<class Problem, class Element, class FVElementGeometry> |
37 |
|
✗ |
void update(const Problem &problem, |
38 |
|
|
const Element &element, |
39 |
|
|
const FVElementGeometry &fvGeometry) |
40 |
|
✗ |
{} |
41 |
|
|
}; |
42 |
|
|
|
43 |
|
|
} // namespace Dumux |
44 |
|
|
|
45 |
|
|
#endif |
46 |
|
|
|