NiHu
2.0
empty_input.hpp
Go to the documentation of this file.
1
// This file is a part of NiHu, a C++ BEM template library.
2
//
3
// Copyright (C) 2012-2014 Peter Fiala <fiala@hit.bme.hu>
4
// Copyright (C) 2012-2014 Peter Rucz <rucz@hit.bme.hu>
5
//
6
// This program is free software: you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation, either version 3 of the License, or
9
// (at your option) any later version.
10
//
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with this program. If not, see <http://www.gnu.org/licenses/>.
18
25
#ifndef EMPTY_INPUT_HPP_INCLUDED
26
#define EMPTY_INPUT_HPP_INCLUDED
27
28
namespace
NiHu
29
{
30
31
// forward declaration
32
template
<
class
space_t>
33
class
empty_input
;
34
38
template
<
class
Space>
39
struct
kernel_input_traits<
empty_input
<Space> >
40
{
42
typedef
Space
space_t
;
43
};
44
45
49
template
<
class
Space>
50
class
empty_input
:
51
public
kernel_input_base<empty_input<Space> >
52
{
53
public
:
55
typedef
kernel_input_base<empty_input<Space> >
base_t
;
56
62
template
<
class
elem_t>
63
empty_input
(
elem_t
const
&elem,
typename
elem_t::xi_t
const
&xi)
64
:
base_t
(elem, xi)
65
{
66
}
67
};
68
69
}
70
71
72
#endif // EMPTY_INPUT_HPP_INCLUDED
73
NiHu::empty_input::empty_input
empty_input(elem_t const &elem, typename elem_t::xi_t const &xi)
constructor from element and reference domain vector
Definition:
empty_input.hpp:63
NiHu::empty_input::base_t
kernel_input_base< empty_input< Space > > base_t
the CRTP base class
Definition:
empty_input.hpp:55
NiHu::kernel_input_traits< empty_input< Space > >::space_t
Space space_t
the space type
Definition:
empty_input.hpp:42
NiHu::empty_input
a kernel input representing a single location
Definition:
empty_input.hpp:33
NiHu::volume_element::xi_t
domain_t::xi_t xi_t
type of the shape functions' independent variable
Definition:
element.hpp:210
NiHu::volume_element
class describing a volume element that has no normal vector
Definition:
element.hpp:455
src
library
empty_input.hpp
Generated on Wed Mar 5 2025 01:00:11 for NiHu by
1.8.18