NiHu  2.0
blind_transform_selector.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 
24 #ifndef BLIND_TRANSFORM_SELECTOR_HPP_INCLUDED
25 #define BLIND_TRANSFORM_SELECTOR_HPP_INCLUDED
26 
27 #include "asymptotic_types.hpp"
28 #include "domain.hpp"
29 #include "library/lib_domain.hpp"
30 
31 namespace NiHu
32 {
33 
35 namespace blind_transform
36 {
38  struct duffy {};
39 }
40 
45 template <class asymptotic_type, class domain>
47 
49 template <>
50 struct blind_transform_selector<asymptotic::inverse<1>, tria_domain>
51 {
53 };
54 
56 template <>
57 struct blind_transform_selector<asymptotic::inverse<1>, quad_domain>
58 {
60 };
61 
62 }
63 
64 
65 #endif // BLIND_TRANSFORM_SELECTOR_INCLUDED
66 
NiHu::blind_transform_selector
assign a blind transformation method to a singularity type and a reference domain
Definition: blind_transform_selector.hpp:46
NiHu::blind_transform::duffy
Duffy type polar transformation.
Definition: blind_transform_selector.hpp:38
domain.hpp
declaration of CRTP base class NiHu::domain_base
lib_domain.hpp
implementation of library domains
NiHu::quad_domain
a 2D quad domain
Definition: lib_domain.hpp:157
asymptotic_types.hpp
definition of different asymptotic function behaviour types
NiHu::tria_domain
a 2D triangle domain
Definition: lib_domain.hpp:101