Flow123d  release_2.2.0-914-gf1a3a4f
bc_field.hh
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file bc_field.hh
15  * @brief
16  */
17 
18 #ifndef BC_FIELD_HH_
19 #define BC_FIELD_HH_
20 
21 
22 #include "field.hh"
23 
24 
25 /**
26  * Same as Field<...> but for boundary regions.
27  *
28  * Definition of BCField must be in separate file.
29  * In other case source file field.cc is too big and compiler can throw compile error.
30  */
31 template<int spacedim, class Value>
32 class BCField : public Field<spacedim, Value> {
33 public:
34  BCField() : Field<spacedim,Value>("anonymous_bc", true) {}
35 };
36 
37 #endif /* BC_FIELD_HH_ */
Class template representing a field with values dependent on: point, element, and region...
Definition: field.hh:62
BCField()
Definition: bc_field.hh:34