Bridge++
Ver. 2.0.2
asolver.cpp
Go to the documentation of this file.
1
9
#include "
lib_alt/Solver/asolver.h
"
10
#include "
lib_alt_QXS/Field/afield.h
"
11
12
#ifdef USE_FACTORY
13
14
#ifdef USE_FACTORY_AUTOREGISTER
15
#else
16
17
#include "
lib_alt/Solver/asolver_BiCGStab.h
"
18
#include "
lib_alt/Solver/asolver_BiCGStab_Cmplx.h
"
19
#include "
lib_alt/Solver/asolver_CG.h
"
20
#include "
lib_alt/Solver/asolver_CGNR.h
"
21
22
template
<
typename
AFIELD>
23
bool
ASolver<AFIELD>::init_factory
()
24
{
25
bool
result =
true
;
26
result &=
ASolver_BiCGStab<AFIELD>::register_factory
();
27
result &=
ASolver_BiCGStab_Cmplx<AFIELD>::register_factory
();
28
result &=
ASolver_CG<AFIELD>::register_factory
();
29
result &=
ASolver_CGNR<AFIELD>::register_factory
();
30
return
result;
31
}
32
33
34
#endif
/* USE_FACTORY_AUTOREGISTER */
35
36
#endif
/* USE_FACTORY */
37
38
39
// explicit instanciation.
40
template
class
ASolver<AField<float, QXS>
>;
41
template
class
ASolver<AField<double, QXS>
>;
42
43
//============================================================END=====
afield.h
ASolver
Definition:
asolver.h:23
ASolver_CG
Definition:
asolver_CG.h:16
asolver_BiCGStab.h
ASolver_BiCGStab
Definition:
asolver_BiCGStab.h:15
ASolver_BiCGStab_Cmplx
Definition:
asolver_BiCGStab_Cmplx.h:52
ASolver_CGNR
CGNR solver.
Definition:
asolver_CGNR.h:31
asolver_BiCGStab_Cmplx.h
asolver_CGNR.h
asolver_CG.h
asolver.h
src
lib_alt_QXS
Solver
asolver.cpp
Generated on Sat Feb 10 2024 14:20:01 for Bridge++ by
1.8.17