ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
virtual_sites.cpp File Reference
#include "config/config.hpp"
#include "virtual_sites.hpp"
#include "BoxGeometry.hpp"
#include "Particle.hpp"
#include "communication.hpp"
#include "errorhandling.hpp"
#include "nonbonded_interactions/nonbonded_interaction_data.hpp"
#include <utils/Vector.hpp>
#include <utils/math/quaternion.hpp>
#include <utils/quaternion.hpp>
#include <cmath>
#include <cstdio>
#include <tuple>
+ Include dependency graph for virtual_sites.cpp:

Go to the source code of this file.

Functions

std::tuple< Utils::Quaternion< double >, double > calculate_vs_relate_to_params (Particle const &p_vs, Particle const &p_relate_to, BoxGeometry const &box_geo, double min_global_cut, bool override_cutoff_check)
 Calculate the rotation quaternion and distance between two particles.
 

Function Documentation

◆ calculate_vs_relate_to_params()

std::tuple< Utils::Quaternion< double >, double > calculate_vs_relate_to_params ( Particle const &  p_vs,
Particle const &  p_relate_to,
BoxGeometry const &  box_geo,
double  min_global_cut,
bool  override_cutoff_check 
)