19#ifndef OBSERVABLES_CYLINDRICALLBPROFILEOBSERVABLE_HPP
20#define OBSERVABLES_CYLINDRICALLBPROFILEOBSERVABLE_HPP
39 std::shared_ptr<Utils::CylindricalTransformationParameters>
41 int n_r_bins,
int n_phi_bins,
int n_z_bins,
double min_r,
double max_r,
42 double min_phi,
double max_phi,
double min_z,
double max_z,
45 n_phi_bins, n_z_bins, min_r, max_r,
46 min_phi, max_phi, min_z, max_z),
63 if (theta > std::numeric_limits<double>::epsilon())
Vector implementation and trait types for boost qvm interoperability.
void calculate_sampling_positions()
std::vector< Utils::Vector3d > sampling_positions
CylindricalLBProfileObservable(std::shared_ptr< Utils::CylindricalTransformationParameters > transform_params, int n_r_bins, int n_phi_bins, int n_z_bins, double min_r, double max_r, double min_phi, double max_phi, double min_z, double max_z, double sampling_density)
Cylindrical profile observable.
std::shared_ptr< Utils::CylindricalTransformationParameters > transform_params
std::vector< Vector3d > get_cylindrical_sampling_positions(std::pair< double, double > const &r_limits, std::pair< double, double > const &phi_limits, std::pair< double, double > const &z_limits, std::size_t n_r_bins, std::size_t n_phi_bins, std::size_t n_z_bins, double sampling_density)
Generate sampling positions for a cylindrical histogram.
Vector< T, 3 > vector_product(Vector< T, 3 > const &a, Vector< T, 3 > const &b)
Vector3d vec_rotate(const Vector3d &axis, double angle, const Vector3d &vector)
Rotate a vector around an axis.
double angle_between(Vector3d const &v1, Vector3d const &v2)
Determine the angle between two vectors.
Vector3d transform_coordinate_cylinder_to_cartesian(Vector3d const &pos)
Coordinate transformation from cylindrical to Cartesian coordinates.