![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <solver.hpp>
Collaboration diagram for Dipoles::Solver:Classes | |
| struct | Implementation |
Public Types | |
| using | ShortRangeForceKernel = std::function< ParticleForce(double, Utils::Vector3d const &, Utils::Vector3d const &, Utils::Vector3d &, Utils::Vector3d &, Utils::Vector3d const &, double, double)> |
| using | ShortRangeEnergyKernel = std::function< double(Utils::Vector3d const &, Utils::Vector3d const &, Utils::Vector3d const &, double, double)> |
| using | ShortRangePressureKernel = std::function< Utils::Matrix< double, 3, 3 >(double, Utils::Vector3d const &, Utils::Vector3d const &, Utils::Vector3d const &, double, double)> |
Public Member Functions | |
| void | sanity_checks () const |
| double | cutoff () const |
| void | on_observable_calc () |
| void | on_dipoles_change () |
| void | on_boxl_change () |
| void | on_node_grid_change () |
| void | on_periodicity_change () |
| void | on_cell_structure_change () |
| void | on_particle_change () |
| Utils::Vector9d | calc_pressure_long_range () const |
| void | calc_long_range_force () const |
| double | calc_energy_long_range () const |
| Solver () | |
| std::optional< ShortRangeForceKernel > | pair_force_kernel () const |
| std::optional< ShortRangeEnergyKernel > | pair_energy_kernel () const |
| std::optional< ShortRangePressureKernel > | pair_pressure_kernel () const |
Public Attributes | |
| std::unique_ptr< Implementation > | impl |
| Pointer-to-implementation. | |
| bool | reinit_on_observable_calc |
| Whether to reinitialize the solver on observable calculation. | |
Definition at line 39 of file magnetostatics/solver.hpp.
| using Dipoles::Solver::ShortRangeEnergyKernel = std::function<double(Utils::Vector3d const &, Utils::Vector3d const &, Utils::Vector3d const &, double, double)> |
Definition at line 73 of file magnetostatics/solver.hpp.
| using Dipoles::Solver::ShortRangeForceKernel = std::function<ParticleForce( double, Utils::Vector3d const &, Utils::Vector3d const &, Utils::Vector3d &, Utils::Vector3d &, Utils::Vector3d const &, double, double)> |
Definition at line 67 of file magnetostatics/solver.hpp.
| using Dipoles::Solver::ShortRangePressureKernel = std::function<Utils::Matrix<double, 3, 3>( double, Utils::Vector3d const &, Utils::Vector3d const &, Utils::Vector3d const &, double, double)> |
Definition at line 76 of file magnetostatics/solver.hpp.
| Dipoles::Solver::Solver | ( | ) |
Definition at line 41 of file dipoles.cpp.
References impl, and reinit_on_observable_calc.
| double Dipoles::Solver::calc_energy_long_range | ( | ) | const |
Definition at line 153 of file dipoles.cpp.
References impl.
| void Dipoles::Solver::calc_long_range_force | ( | ) | const |
Definition at line 147 of file dipoles.cpp.
References impl.
| Utils::Vector9d Dipoles::Solver::calc_pressure_long_range | ( | ) | const |
Definition at line 140 of file dipoles.cpp.
References impl.
| double Dipoles::Solver::cutoff | ( | ) | const |
Definition at line 102 of file dipoles.cpp.
References impl, inactive_cutoff, and stream.
| void Dipoles::Solver::on_boxl_change | ( | ) |
Definition at line 59 of file dipoles.cpp.
References impl, and visit_try_catch().
| void Dipoles::Solver::on_cell_structure_change | ( | ) |
Definition at line 78 of file dipoles.cpp.
References impl, and visit_try_catch().
| void Dipoles::Solver::on_dipoles_change | ( | ) |
Definition at line 52 of file dipoles.cpp.
References impl, reinit_on_observable_calc, and visit_try_catch().
| void Dipoles::Solver::on_node_grid_change | ( | ) |
Definition at line 65 of file dipoles.cpp.
References impl.
| void Dipoles::Solver::on_observable_calc | ( | ) |
Definition at line 113 of file dipoles.cpp.
References impl, reinit_on_observable_calc, and stream.
|
inline |
Definition at line 56 of file magnetostatics/solver.hpp.
References reinit_on_observable_calc.
| void Dipoles::Solver::on_periodicity_change | ( | ) |
Definition at line 71 of file dipoles.cpp.
References impl, and visit_try_catch().
|
inline |
Definition at line 162 of file dipoles_inline.hpp.
|
inline |
Definition at line 151 of file dipoles_inline.hpp.
|
inline |
Definition at line 173 of file dipoles_inline.hpp.
| void Dipoles::Solver::sanity_checks | ( | ) | const |
Definition at line 46 of file dipoles.cpp.
References impl.
| std::unique_ptr<Implementation> Dipoles::Solver::impl |
Pointer-to-implementation.
Definition at line 43 of file magnetostatics/solver.hpp.
Referenced by calc_energy_long_range(), calc_long_range_force(), calc_pressure_long_range(), cutoff(), on_boxl_change(), on_cell_structure_change(), on_dipoles_change(), on_node_grid_change(), on_observable_calc(), on_periodicity_change(), pair_energy_kernel(), pair_force_kernel(), pair_pressure_kernel(), sanity_checks(), and Solver().
| bool Dipoles::Solver::reinit_on_observable_calc |
Whether to reinitialize the solver on observable calculation.
Definition at line 45 of file magnetostatics/solver.hpp.
Referenced by on_dipoles_change(), on_observable_calc(), on_particle_change(), and Solver().