8 #ifndef MMPARAMETRIZATION_DATABASEJOBSUBMISSIONHELPER_H
9 #define MMPARAMETRIZATION_DATABASEJOBSUBMISSIONHELPER_H
12 #include <unordered_set>
27 namespace MMParametrization {
28 struct ParametrizationData;
30 namespace DatabaseJobSubmissionHelper {
43 void submitStructureOptimization(
int fragmentIndex, std::shared_ptr<Database::Collection> calcsColl,
44 std::string structureIDString,
int priority,
const std::string& orderName,
45 const ParametrizationData& data,
const Utils::Settings& settings);
58 void submitBondOrdersCalculation(
int fragmentIndex, std::shared_ptr<Database::Collection> calcsColl,
59 std::string structureIDString,
int priority,
const std::string& orderName,
60 const ParametrizationData& data,
const Utils::Settings& settings);
79 bool submitHessianCalculation(
int fragmentIndex, std::shared_ptr<Database::Collection> calcsColl,
80 std::string unoptimizedStructureIDString, std::string optimizedStructureIDString,
int priority,
81 const std::string& orderName,
const ParametrizationData& data,
const Utils::Settings& settings,
82 const std::unordered_set<int>& fragmentsWithHessianCalculationsInDatabase);
100 bool submitAtomicChargesCalculation(
int fragmentIndex, std::shared_ptr<Database::Collection> calcsColl,
101 std::string unoptimizedStructureIDString, std::string optimizedStructureIDString,
102 int priority,
const std::string& orderName,
const ParametrizationData& data,
103 const Utils::Settings& settings,
104 const std::unordered_set<int>& fragmentsWithAtomicChargesCalculationsInDatabase);
109 void applyScfSafetySettings(Database::Calculation& calculation,
const Utils::Settings& settings);
115 #endif // MMPARAMETRIZATION_DATABASEJOBSUBMISSIONHELPER_H