ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Dipoles::Solver Struct Reference

#include <solver.hpp>

Collaboration diagram for Dipoles::Solver:

Classes

struct  Implementation

Public Types

using ShortRangeForceKernel
using ShortRangeEnergyKernel
using ShortRangePressureKernel

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.

Detailed Description

Definition at line 39 of file magnetostatics/solver.hpp.

Member Typedef Documentation

◆ ShortRangeEnergyKernel

Initial value:
std::function<double(Utils::Vector3d const &, Utils::Vector3d const &,
Utils::Vector3d const &, double, double)>
VectorXd< 3 > Vector3d
Definition Vector.hpp:207

Definition at line 73 of file magnetostatics/solver.hpp.

◆ ShortRangeForceKernel

Initial value:
std::function<ParticleForce(
double, Utils::Vector3d const &, Utils::Vector3d const &,
Utils::Vector3d const &, double, double)>
Force information on a particle.
Definition Particle.hpp:331

Definition at line 67 of file magnetostatics/solver.hpp.

◆ ShortRangePressureKernel

Initial value:
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.

Constructor & Destructor Documentation

◆ Solver()

Dipoles::Solver::Solver ( )

Definition at line 41 of file dipoles.cpp.

References impl, and reinit_on_observable_calc.

Member Function Documentation

◆ calc_energy_long_range()

double Dipoles::Solver::calc_energy_long_range ( ) const

Definition at line 153 of file dipoles.cpp.

References impl.

◆ calc_long_range_force()

void Dipoles::Solver::calc_long_range_force ( ) const

Definition at line 147 of file dipoles.cpp.

References impl.

◆ calc_pressure_long_range()

Utils::Vector9d Dipoles::Solver::calc_pressure_long_range ( ) const

Definition at line 140 of file dipoles.cpp.

References impl.

◆ cutoff()

double Dipoles::Solver::cutoff ( ) const

Definition at line 102 of file dipoles.cpp.

References get_actor_by_type(), impl, and inactive_cutoff.

Referenced by update_verlet_state().

◆ on_boxl_change()

void Dipoles::Solver::on_boxl_change ( )

Definition at line 59 of file dipoles.cpp.

References impl, and visit_try_catch().

◆ on_cell_structure_change()

void Dipoles::Solver::on_cell_structure_change ( )

Definition at line 78 of file dipoles.cpp.

References impl, and visit_try_catch().

◆ on_dipoles_change()

void Dipoles::Solver::on_dipoles_change ( )

Definition at line 52 of file dipoles.cpp.

References impl, reinit_on_observable_calc, and visit_try_catch().

◆ on_node_grid_change()

void Dipoles::Solver::on_node_grid_change ( )

Definition at line 65 of file dipoles.cpp.

References impl.

◆ on_observable_calc()

void Dipoles::Solver::on_observable_calc ( )

Definition at line 113 of file dipoles.cpp.

References get_actor_by_type(), impl, and reinit_on_observable_calc.

◆ on_particle_change()

void Dipoles::Solver::on_particle_change ( )
inline

Definition at line 56 of file magnetostatics/solver.hpp.

References reinit_on_observable_calc.

◆ on_periodicity_change()

void Dipoles::Solver::on_periodicity_change ( )

Definition at line 71 of file dipoles.cpp.

References impl, and visit_try_catch().

◆ pair_energy_kernel()

std::optional< Solver::ShortRangeEnergyKernel > Dipoles::Solver::pair_energy_kernel ( ) const
inline

Definition at line 162 of file dipoles_inline.hpp.

References impl.

◆ pair_force_kernel()

std::optional< Solver::ShortRangeForceKernel > Dipoles::Solver::pair_force_kernel ( ) const
inline

Definition at line 151 of file dipoles_inline.hpp.

References impl.

◆ pair_pressure_kernel()

std::optional< Solver::ShortRangePressureKernel > Dipoles::Solver::pair_pressure_kernel ( ) const
inline

Definition at line 173 of file dipoles_inline.hpp.

References impl.

◆ sanity_checks()

void Dipoles::Solver::sanity_checks ( ) const

Definition at line 46 of file dipoles.cpp.

References impl.

Member Data Documentation

◆ impl

◆ reinit_on_observable_calc

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().


The documentation for this struct was generated from the following files: