29 #ifndef CDPL_GRAIL_ATOMDENSITYGRIDCALCULATOR_HPP
30 #define CDPL_GRAIL_ATOMDENSITYGRIDCALCULATOR_HPP
51 template <
typename PT,
typename CT,
typename ST>
72 static constexpr
double DEF_DISTANCE_CUTOFF = 4.5;
112 typedef Internal::Octree<Math::Vector3D, Math::Vector3DArray, double> Octree;
113 typedef std::shared_ptr<Octree> OctreePtr;
114 typedef std::vector<std::size_t> AtomIndexList;
123 AtomIndexList atomIndices;
Type definition of a generic wrapper class for storing user-defined Chem::Atom 3D-coordinates functio...
Definition of the preprocessor macro CDPL_GRAIL_API.
#define CDPL_GRAIL_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of a spatial grid data type.
Definition of the class CDPL::Math::VectorArray.
Definition of vector data types.
A common interface for data-structures that support a random access to stored Chem::Atom instances.
Definition: AtomContainer.hpp:55
Atom.
Definition: Atom.hpp:52
AtomDensityGridCalculator.
Definition: AtomDensityGridCalculator.hpp:69
void setAtom3DCoordinatesFunction(const Chem::Atom3DCoordinatesFunction &func)
Specifies a function for the retrieval of atom 3D-coordinates for grid calculation.
void setDistanceCutoff(double dist)
const Chem::Atom3DCoordinatesFunction & getAtom3DCoordinatesFunction() const
void setDensityCombinationFunction(const DensityCombinationFunction &func)
AtomDensityGridCalculator(const AtomDensityGridCalculator &calc)
std::function< double(const Math::DVector &)> DensityCombinationFunction
Definition: AtomDensityGridCalculator.hpp:77
const DensityCombinationFunction & getDensityCombinationFunction() const
const DensityFunction & getDensityFunction() const
AtomDensityGridCalculator & operator=(const AtomDensityGridCalculator &calc)
void setDensityFunction(const DensityFunction &func)
std::shared_ptr< AtomDensityGridCalculator > SharedPointer
Definition: AtomDensityGridCalculator.hpp:74
void calculate(const Chem::AtomContainer &atoms, Grid::DSpatialGrid &grid)
AtomDensityGridCalculator(const DensityFunction &density_func, const DensityCombinationFunction &comb_func)
double getDistanceCutoff() const
std::function< double(const Math::Vector3D &, const Math::Vector3D &, const Chem::Atom &)> DensityFunction
Definition: AtomDensityGridCalculator.hpp:76
AtomDensityGridCalculator(const DensityFunction &func)
AtomDensityGridCalculator()
SpatialGrid.
Definition: SpatialGrid.hpp:47
std::function< const Math::Vector3D &(const Chem::Atom &)> Atom3DCoordinatesFunction
A generic wrapper class used to store a user-defined Chem::Atom 3D-coordinates function.
Definition: Atom3DCoordinatesFunction.hpp:43
VectorArray< Vector3D > Vector3DArray
An array of Math::Vector3D objects.
Definition: VectorArray.hpp:84
CVector< double, 3 > Vector3D
A bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:1637
The namespace of the Chemical Data Processing Library.