Bridge++
Ver.2.1.3
afopr_Chebyshev.cpp
Go to the documentation of this file.
1
9
#include "
lib/Fopr/afopr_Chebyshev.h
"
10
11
#include <cassert>
12
13
#include "
lib/Field/field.h
"
14
15
#include "
lib_alt_Accel/Field/afield.h
"
16
#include "
lib_alt_Accel/Field/afield-inc.h
"
17
18
template
<>
19
const
std::string
AFopr_Chebyshev<AField<double,ACCEL>
>::class_name
20
=
"AFopr_Chebyshev<AField<double,ACCEL> >"
;
21
22
template
<>
23
const
std::string
AFopr_Chebyshev<AField<float, ACCEL>
>::class_name
24
=
"AFopr_Chebyshev<AField<float,ACCEL> >"
;
25
26
#ifdef USE_FACTORY
27
namespace
{
28
AFopr<AField<double,ACCEL>
> *create_object_1(
29
AFopr
<
AField<double,ACCEL>
> *fopr,
30
const
Parameters
& params)
31
{
32
return
new
AFopr_Chebyshev<AField<double,ACCEL>
>(fopr, params);
33
}
34
bool
init1 =
AFopr<AField<double,ACCEL>
>::Factory_fopr_params::Register(
35
"Chebyshev"
, create_object_1);
36
37
AFopr<AField<float,ACCEL>
> *create_object_2(
38
AFopr
<
AField<float,ACCEL>
> *fopr,
39
const
Parameters
& params)
40
{
41
return
new
AFopr_Chebyshev<AField<float, ACCEL>
>(fopr, params);
42
}
43
bool
init2 =
AFopr<AField<float, ACCEL>
>::Factory_fopr_params::Register(
44
"Chebyshev"
, create_object_2);
45
}
46
#endif
47
48
#include "
lib/Fopr/afopr_Chebyshev-tmpl.h
"
49
50
// class instanciation.
51
template
class
AFopr_Chebyshev<AField<double,ACCEL>
>;
52
template
class
AFopr_Chebyshev<AField<float, ACCEL>
>;
53
54
//============================================================END=====
AFopr
Definition:
afopr.h:48
afopr_Chebyshev.h
Parameters
Class for parameters.
Definition:
parameters.h:46
AField
Definition:
afield_base.h:16
afopr_Chebyshev-tmpl.h
afield-inc.h
field.h
AFopr_Chebyshev
Chebyshev polynomial.
Definition:
afopr_Chebyshev.h:34
afield.h
src
lib_alt_Accel
Fopr
afopr_Chebyshev.cpp
Generated on Thu Apr 16 2026 22:04:18 for Bridge++ by
1.8.17