Bridge++  Ver.2.1.3
afopr_Chebyshev.cpp
Go to the documentation of this file.
1 
10 
11 #include <cassert>
12 
13 #include "lib/Field/field.h"
14 
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(
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 
49 
50 // class instanciation.
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