NiHu
2.0
nearly_singular_integral.hpp
Go to the documentation of this file.
1
6
#ifndef NIHU_NEARLY_SINGULAR_INTEGRAL_HPP_INCLUDED
7
#define NIHU_NEARLY_SINGULAR_INTEGRAL_HPP_INCLUDED
8
9
#include "
field.hpp
"
10
#include "
kernel.hpp
"
11
12
namespace
NiHu
13
{
14
15
#if 0
16
template
<
class
Kernel,
class
TestField,
class
TrialField>
17
class
nearly_singular_distance_needed
18
{
19
static
bool
needed(
20
kernel_base<Kernel>
const
&kernel,
21
field_base<TestField>
const
&test_field,
22
field_base<TrialField>
const
&trial_field)
23
};
24
#endif
25
26
template
<
class
Kernel,
class
TestField,
class
TrialField,
class
Enable =
void
>
27
class
nearly_singular_integral
28
{
29
public
:
30
static
bool
needed(
31
kernel_base<Kernel>
const
&kernel,
32
field_base<TestField>
const
&test_field,
33
field_base<TrialField>
const
&trial_field)
34
{
35
return
false
;
36
}
37
38
template
<
class
Result>
39
static
Result &eval(
40
Result &result,
41
kernel_base<Kernel>
const
&kernel,
42
field_base<TestField>
const
&test_field,
43
field_base<TrialField>
const
&trial_field)
44
{
45
return
result;
46
}
47
};
48
49
}
// end of namespace
50
51
#endif
/* NIHU_NEARLY_SINGULAR_INTEGRAL_HPP_INCLUDED */
kernel.hpp
implementation of class kernel and its traits
NiHu::kernel_base
CRTP base class of all BEM kernels.
Definition:
kernel.hpp:133
field.hpp
implementation of fields and field views
NiHu::nearly_singular_integral
Definition:
nearly_singular_integral.hpp:27
NiHu::field_base
CRTP base class of all fields.
Definition:
field.hpp:111
src
core
nearly_singular_integral.hpp
Generated on Thu Jan 16 2025 01:00:09 for NiHu by
1.8.18