/* * VMGFragmentController.hpp * * Created on: Aug 27, 2012 * Author: heber */ #ifndef VMGFRAGMENTCONTROLLER_HPP_ #define VMGFRAGMENTCONTROLLER_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "Fragmentation/Automation/SpecificFragmentController.hpp" #include #include #include "JobMarket/types.hpp" #include "Fragmentation/Summation/Containers/MPQCData.hpp" #include "Fragmentation/Summation/Containers/VMGData.hpp" #include "Fragmentation/Summation/SetValues/Fragment.hpp" #include "Fragmentation/Summation/SetValues/SamplingGrid.hpp" /** This class uses SpecificFragmentController with functions to add specificly * VMGJobs. */ class VMGFragmentController : public SpecificFragmentController { public: VMGFragmentController(boost::asio::io_service &io_service) : SpecificFragmentController(io_service) {} virtual ~VMGFragmentController() {} /** Creates the long range jobs from finished short-range jobs. * * \param fragmentData finished short-range results * \param full_sampled_grid sampled electron densities from finished short-range jobs * \param near_field_cells radius of b-splines for interpolation charges onto grid * \param interpolation_degree interpolation degree for newton interpolation from grid * \param _DoValenceOnly whether to neglect core electron and nuclei charges */ bool createLongRangeJobs( const std::map &fragmentData, const std::vector &full_sampled_grid, const size_t near_field_cells, const size_t interpolation_degree, const MPQCData::DoValenceOnly_t _DoValenceOnly); /** Get results of finished long-range jobs. * * \param fragmentData contains results on return */ void getResults(std::map &fragmentData) { SpecificFragmentController::getResults(fragmentData); } }; #endif /* VMGFRAGMENTCONTROLLER_HPP_ */