|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include <FieldSolver.hpp>
Public Member Functions | |
| FieldSolver (std::string solver, Field_t< Dim > *rho, VField_t< T, Dim > *E, Field< T, Dim > *phi, std::vector< std::string > preconditioner_params={}) | |
| ~FieldSolver () | |
| Field_t< Dim > * | getRho () const |
| void | setRho (Field_t< Dim > *rho) |
| VField_t< T, Dim > * | getE () const |
| void | setE (VField_t< T, Dim > *E) |
| Field< T, Dim > * | getPhi () const |
| void | setPhi (Field< T, Dim > *phi) |
| void | initSolver () override |
| void | setPotentialBCs () |
| void | runSolver () override |
| template<typename Solver> | |
| void | initSolverWithParams (const ippl::ParameterList &sp) |
| void | initFFTSolver () |
| void | initCGSolver () |
| void | initPCGSolver () |
| void | initTGSolver () |
| void | initOpenSolver () |
| std::string & | getStype () |
| void | setStype (std::string &solver) |
| Solver_t< T, Dim > & | getSolver () |
| void | setSolver (Solver_t< T, Dim > &solver) |
Private Attributes | |
| Field_t< Dim > * | rho_m |
| VField_t< T, Dim > * | E_m |
| Field< T, Dim > * | phi_m |
| std::vector< std::string > | preconditioner_params_m |
| std::string | stype_m |
| Solver_t< T, Dim > | solver_m |
Definition at line 11 of file FieldSolver.hpp.
|
inline |
Definition at line 19 of file FieldSolver.hpp.
|
inline |
Definition at line 29 of file FieldSolver.hpp.
|
inline |
Definition at line 34 of file FieldSolver.hpp.
References E_m.
Definition at line 37 of file FieldSolver.hpp.
References phi_m.
Definition at line 31 of file FieldSolver.hpp.
References rho_m.
|
inlineinherited |
Definition at line 31 of file FieldSolverBase.h.
References solver_m.
Referenced by FieldSolver< T, Dim >::initSolverWithParams(), and FieldSolver< T, Dim >::runSolver().
|
inlineinherited |
Definition at line 27 of file FieldSolverBase.h.
References stype_m.
Referenced by FieldSolver< T, Dim >::initSolver(), FieldSolver< T, Dim >::runSolver(), and FieldSolver< T, Dim >::setPotentialBCs().
|
inline |
Definition at line 156 of file FieldSolver.hpp.
References ippl::ParameterList::add(), ippl::PoissonCG< Field< T, Dim >, Field_t< Dim > >::GRAD, and initSolverWithParams().
Referenced by initSolver().
|
inline |
Definition at line 139 of file FieldSolver.hpp.
References ippl::ParameterList::add(), Dim, initSolverWithParams(), and ippl::p2p_pl.
Referenced by initSolver().
|
inline |
Definition at line 230 of file FieldSolver.hpp.
References ippl::ParameterList::add(), Dim, initSolverWithParams(), and ippl::p2p_pl.
Referenced by initSolver().
|
inline |
Definition at line 165 of file FieldSolver.hpp.
References ippl::ParameterList::add(), ippl::PoissonCG< Field< T, Dim >, Field_t< Dim > >::GRAD, initSolverWithParams(), and preconditioner_params_m.
Referenced by initSolver().
|
inlineoverridevirtual |
Implements ippl::FieldSolverBase< T, Dim >.
Definition at line 40 of file FieldSolver.hpp.
References endl(), ippl::FieldSolverBase< T, Dim >::getStype(), initCGSolver(), initFFTSolver(), initOpenSolver(), initPCGSolver(), and initTGSolver().
|
inline |
Definition at line 119 of file FieldSolver.hpp.
References E_m, std::get(), ippl::FieldSolverBase< T, Dim >::getSolver(), phi_m, and rho_m.
Referenced by initCGSolver(), initFFTSolver(), initOpenSolver(), initPCGSolver(), and initTGSolver().
|
inline |
Definition at line 213 of file FieldSolver.hpp.
References ippl::ParameterList::add(), Dim, initSolverWithParams(), and ippl::p2p_pl.
Referenced by initSolver().
|
inlineoverridevirtual |
Implements ippl::FieldSolverBase< T, Dim >.
Definition at line 70 of file FieldSolver.hpp.
References Inform::APPEND, ippl::Comm, Dim, endl(), std::get(), ippl::PoissonCG< FieldLHS, FieldRHS >::getIterationCount(), ippl::PoissonCG< FieldLHS, FieldRHS >::getResidue(), ippl::FieldSolverBase< T, Dim >::getSolver(), ippl::FieldSolverBase< T, Dim >::getStype(), preconditioner_params_m, and ippl::PoissonCG< FieldLHS, FieldRHS >::solve().
|
inline |
Definition at line 35 of file FieldSolver.hpp.
References E_m.
|
inline |
Definition at line 38 of file FieldSolver.hpp.
References phi_m.
|
inline |
Definition at line 57 of file FieldSolver.hpp.
References Dim, ippl::FieldSolverBase< T, Dim >::getStype(), and phi_m.
|
inline |
Definition at line 32 of file FieldSolver.hpp.
References rho_m.
|
inlineinherited |
Definition at line 33 of file FieldSolverBase.h.
References solver_m.
|
inlineinherited |
Definition at line 29 of file FieldSolverBase.h.
References stype_m.
Definition at line 14 of file FieldSolver.hpp.
Referenced by getE(), initSolverWithParams(), and setE().
Definition at line 15 of file FieldSolver.hpp.
Referenced by getPhi(), initSolverWithParams(), setPhi(), and setPotentialBCs().
|
private |
Definition at line 16 of file FieldSolver.hpp.
Referenced by initPCGSolver(), and runSolver().
Definition at line 13 of file FieldSolver.hpp.
Referenced by getRho(), initSolverWithParams(), and setRho().
|
privateinherited |
Definition at line 15 of file FieldSolverBase.h.
Referenced by getSolver(), and setSolver().
|
privateinherited |
Definition at line 14 of file FieldSolverBase.h.
Referenced by FieldSolverBase(), getStype(), and setStype().