|
OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
|
#include <FieldSolver.hpp>


Public Member Functions | |
| FieldSolver (std::string solver, Field_t< Dim > *rho, VField_t< T, Dim > *E, Field< T, Dim > *phi) | |
| ~FieldSolver () | |
| void | dumpScalField (std::string what) |
| void | dumpVectField (std::string what) |
| Field_t< Dim > * | getRho () |
| 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 | initOpenSolver () |
| void | initSolver () override |
| void | setPotentialBCs () |
| void | runSolver () override |
| template<typename Solver > | |
| void | initSolverWithParams (const ippl::ParameterList &sp) |
| void | initNullSolver () |
| void | initFFTSolver () |
| void | initCGSolver () |
| void | initP3MSolver () |
| void | initSolverWithParams (const ippl::ParameterList &sp) |
| void | dumpVectField (std::string what) |
| void | dumpScalField (std::string what) |
| void | initOpenSolver () |
| void | initFFTSolver () |
| void | initSolver () |
| void | setPotentialBCs () |
| void | runSolver () |
| void | initNullSolver () |
| void | initNullSolver () |
| 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 |
| unsigned int | call_counter_m |
| std::string | stype_m |
| Solver_t< T, Dim > | solver_m |
Definition at line 10 of file FieldSolver.hpp.
|
inline |
Definition at line 17 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::setPotentialBCs().

|
inline |
Definition at line 27 of file FieldSolver.hpp.
| void FieldSolver< double, 3 >::dumpScalField | ( | std::string | what | ) |
Definition at line 160 of file FieldSolver.cpp.
References ippl::Comm, endl(), first(), ippl::Field< T, Dim, Mesh, Centering, ViewArgs >::get_mesh(), ippl::BareField< T, Dim, ViewArgs >::getHostMirror(), OpalData::getInputBasename(), OpalData::getInstance(), ippl::BareField< T, Dim, ViewArgs >::getOwned(), ippl::BareField< T, Dim, ViewArgs >::getView(), and Util::toUpper().

| void FieldSolver< T, Dim >::dumpScalField | ( | std::string | what | ) |
| void FieldSolver< double, 3 >::dumpVectField | ( | std::string | what | ) |
Definition at line 59 of file FieldSolver.cpp.
References ippl::Comm, endl(), first(), ippl::Field< T, Dim, Mesh, Centering, ViewArgs >::get_mesh(), ippl::BareField< T, Dim, ViewArgs >::getHostMirror(), OpalData::getInputBasename(), OpalData::getInstance(), ippl::BareField< T, Dim, ViewArgs >::getOwned(), ippl::BareField< T, Dim, ViewArgs >::getView(), and Util::toUpper().

| void FieldSolver< T, Dim >::dumpVectField | ( | std::string | what | ) |
|
inline |
Definition at line 40 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::E_m.
|
inline |
Definition at line 47 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::phi_m.
Definition at line 33 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::rho_m.
|
inlineinherited |
Definition at line 31 of file FieldSolverBase.h.
References ippl::FieldSolverBase< T, Dim >::solver_m.
|
inlineinherited |
Definition at line 27 of file FieldSolverBase.h.
References ippl::FieldSolverBase< T, Dim >::stype_m.
|
inline |
Definition at line 69 of file FieldSolver.hpp.
| void FieldSolver< double, 3 >::initFFTSolver | ( | ) |
Definition at line 305 of file FieldSolver.cpp.
References ippl::ParameterList::add(), Dim, and ippl::p2p_pl.

| void FieldSolver< T, Dim >::initFFTSolver | ( | ) |
| void FieldSolver< double, 3 >::initNullSolver | ( | ) |
Definition at line 419 of file FieldSolver.cpp.
References Dim.
| void FieldSolver< T, Dim >::initNullSolver | ( | ) |
| void FieldSolver< double, 3 >::initNullSolver | ( | ) |
| void FieldSolver< double, 3 >::initOpenSolver | ( | ) |
Definition at line 291 of file FieldSolver.cpp.
References ippl::ParameterList::add(), and ippl::p2p_pl.

| void FieldSolver< T, Dim >::initOpenSolver | ( | ) |
|
inline |
Definition at line 71 of file FieldSolver.hpp.
|
virtual |
Implements ippl::FieldSolverBase< T, Dim >.
Definition at line 325 of file FieldSolver.cpp.
References endl().

|
overridevirtual |
Implements ippl::FieldSolverBase< T, Dim >.
Referenced by PartBunch< PLayout, T, Dim >::setSolver().
| void FieldSolver< double, 3 >::initSolverWithParams | ( | const ippl::ParameterList & | sp | ) |
Definition at line 16 of file FieldSolver.cpp.
References endl().

| void FieldSolver< T, Dim >::initSolverWithParams | ( | const ippl::ParameterList & | sp | ) |
|
virtual |
Implements ippl::FieldSolverBase< T, Dim >.
Definition at line 355 of file FieldSolver.cpp.
References Inform::APPEND, ippl::Comm, Dim, endl(), ippl::PoissonCG< FieldLHS, FieldRHS >::getIterationCount(), ippl::PoissonCG< FieldLHS, FieldRHS >::getResidue(), ippl::PoissonCG< FieldLHS, FieldRHS >::solve(), and QRDecomposition::solve().

|
overridevirtual |
Implements ippl::FieldSolverBase< T, Dim >.
|
inline |
Definition at line 43 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::E_m.
|
inline |
Definition at line 50 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::phi_m.
| void FieldSolver< double, 3 >::setPotentialBCs | ( | ) |
Definition at line 341 of file FieldSolver.cpp.
| void FieldSolver< T, Dim >::setPotentialBCs | ( | ) |
Referenced by FieldSolver< T, Dim >::FieldSolver().
|
inline |
Definition at line 36 of file FieldSolver.hpp.
References FieldSolver< T, Dim >::rho_m.
|
inlineinherited |
Definition at line 33 of file FieldSolverBase.h.
References ippl::FieldSolverBase< T, Dim >::solver_m.
|
inlineinherited |
Definition at line 29 of file FieldSolverBase.h.
References ippl::FieldSolverBase< T, Dim >::stype_m.
|
private |
Definition at line 15 of file FieldSolver.hpp.
Definition at line 13 of file FieldSolver.hpp.
Referenced by FieldSolver< T, Dim >::getE(), and FieldSolver< T, Dim >::setE().
Definition at line 14 of file FieldSolver.hpp.
Referenced by FieldSolver< T, Dim >::getPhi(), and FieldSolver< T, Dim >::setPhi().
Definition at line 12 of file FieldSolver.hpp.
Referenced by FieldSolver< T, Dim >::getRho(), and FieldSolver< T, Dim >::setRho().
|
privateinherited |
Definition at line 15 of file FieldSolverBase.h.
Referenced by ippl::FieldSolverBase< T, Dim >::getSolver(), and ippl::FieldSolverBase< T, Dim >::setSolver().
|
privateinherited |
Definition at line 14 of file FieldSolverBase.h.
Referenced by ippl::FieldSolverBase< T, Dim >::getStype(), and ippl::FieldSolverBase< T, Dim >::setStype().