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

#include <forces_cabana.hpp>

+ Collaboration diagram for ForcesKernel:

Public Member Functions

 ForcesKernel (BondedInteractionsMap const &bonded_ias_, InteractionsNonBonded const &nonbonded_ias_, Coulomb::ShortRangeForceKernel::kernel_type const *coulomb_kernel_, Dipoles::ShortRangeForceKernel::kernel_type const *dipoles_kernel_, Coulomb::ShortRangeForceCorrectionsKernel::kernel_type const *elc_kernel_, Coulomb::ShortRangeEnergyKernel::kernel_type const *coulomb_u_kernel_, Thermostat::Thermostat const &thermostat_, BoxGeometry const &box_geo_, std::vector< Particle * > const &unique_particles_, CellStructure::ForceType const &local_force_, CellStructure::ForceType const &local_torque_, Utils::Vector3d *const global_virial_, CellStructure::VirialType const &local_virial_, CellStructure::AoSoA_pack const &aosoa_)
 
ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool gay_berne_active (double dist, IA_parameters const &ia_params) const
 
ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool npt_active () const
 
ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool thole_active (IA_parameters const &ia_params) const
 
ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool dipoles_active () const
 
ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION void operator() (std::size_t i, std::size_t j) const
 

Public Attributes

BondedInteractionsMap constbonded_ias
 
InteractionsNonBonded constnonbonded_ias
 
Coulomb::ShortRangeForceKernel::kernel_type const *const coulomb_kernel
 
Dipoles::ShortRangeForceKernel::kernel_type const *const dipoles_kernel
 
Coulomb::ShortRangeForceCorrectionsKernel::kernel_type constelc_kernel
 
Coulomb::ShortRangeEnergyKernel::kernel_type const *const coulomb_u_kernel
 
Thermostat::Thermostat constthermostat
 
BoxGeometry constbox_geo
 
std::vector< Particle * > constunique_particles
 
CellStructure::ForceType constlocal_force
 
CellStructure::ForceType constlocal_torque
 
Utils::Vector3d *const global_virial
 
CellStructure::VirialType constlocal_virial
 
CellStructure::AoSoA_pack constaosoa
 

Detailed Description

Definition at line 44 of file forces_cabana.hpp.

Constructor & Destructor Documentation

◆ ForcesKernel()

ForcesKernel::ForcesKernel ( BondedInteractionsMap const bonded_ias_,
InteractionsNonBonded const nonbonded_ias_,
Coulomb::ShortRangeForceKernel::kernel_type const coulomb_kernel_,
Dipoles::ShortRangeForceKernel::kernel_type const dipoles_kernel_,
Coulomb::ShortRangeForceCorrectionsKernel::kernel_type const elc_kernel_,
Coulomb::ShortRangeEnergyKernel::kernel_type const coulomb_u_kernel_,
Thermostat::Thermostat const thermostat_,
BoxGeometry const box_geo_,
std::vector< Particle * > const unique_particles_,
CellStructure::ForceType const local_force_,
CellStructure::ForceType const local_torque_,
Utils::Vector3d *const  global_virial_,
CellStructure::VirialType const local_virial_,
CellStructure::AoSoA_pack const aosoa_ 
)
inline

Definition at line 64 of file forces_cabana.hpp.

Member Function Documentation

◆ dipoles_active()

ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool ForcesKernel::dipoles_active ( ) const
inline

Definition at line 122 of file forces_cabana.hpp.

References dipoles_kernel.

Referenced by operator()().

◆ gay_berne_active()

ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool ForcesKernel::gay_berne_active ( double  dist,
IA_parameters const ia_params 
) const
inline

Definition at line 98 of file forces_cabana.hpp.

References stream.

Referenced by operator()().

◆ npt_active()

ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool ForcesKernel::npt_active ( ) const
inline

Definition at line 107 of file forces_cabana.hpp.

References global_virial.

Referenced by operator()().

◆ operator()()

◆ thole_active()

ESPRESSO_ATTR_ALWAYS_INLINE KOKKOS_INLINE_FUNCTION bool ForcesKernel::thole_active ( IA_parameters const ia_params) const
inline

Definition at line 114 of file forces_cabana.hpp.

References coulomb_kernel, and stream.

Referenced by operator()().

Member Data Documentation

◆ aosoa

CellStructure::AoSoA_pack const& ForcesKernel::aosoa

Definition at line 62 of file forces_cabana.hpp.

Referenced by operator()().

◆ bonded_ias

BondedInteractionsMap const& ForcesKernel::bonded_ias

Definition at line 45 of file forces_cabana.hpp.

Referenced by operator()().

◆ box_geo

BoxGeometry const& ForcesKernel::box_geo

Definition at line 52 of file forces_cabana.hpp.

Referenced by operator()().

◆ coulomb_kernel

Definition at line 47 of file forces_cabana.hpp.

Referenced by operator()(), and thole_active().

◆ coulomb_u_kernel

Coulomb::ShortRangeEnergyKernel::kernel_type const* const ForcesKernel::coulomb_u_kernel

Definition at line 50 of file forces_cabana.hpp.

◆ dipoles_kernel

Definition at line 48 of file forces_cabana.hpp.

Referenced by dipoles_active().

◆ elc_kernel

Definition at line 49 of file forces_cabana.hpp.

Referenced by operator()().

◆ global_virial

Utils::Vector3d* const ForcesKernel::global_virial

Definition at line 59 of file forces_cabana.hpp.

Referenced by npt_active().

◆ local_force

CellStructure::ForceType const& ForcesKernel::local_force

Definition at line 54 of file forces_cabana.hpp.

Referenced by operator()().

◆ local_torque

CellStructure::ForceType const& ForcesKernel::local_torque

Definition at line 56 of file forces_cabana.hpp.

Referenced by operator()().

◆ local_virial

CellStructure::VirialType const& ForcesKernel::local_virial

Definition at line 60 of file forces_cabana.hpp.

Referenced by operator()().

◆ nonbonded_ias

InteractionsNonBonded const& ForcesKernel::nonbonded_ias

Definition at line 46 of file forces_cabana.hpp.

Referenced by operator()().

◆ thermostat

Thermostat::Thermostat const& ForcesKernel::thermostat

Definition at line 51 of file forces_cabana.hpp.

Referenced by operator()().

◆ unique_particles

std::vector<Particle *> const& ForcesKernel::unique_particles

Definition at line 53 of file forces_cabana.hpp.

Referenced by operator()().


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