20 #ifndef OST_MM_SETTINGS_HH
21 #define OST_MM_SETTINGS_HH
29 #include <boost/shared_ptr.hpp>
34 #include <boost/filesystem/path.hpp>
43 namespace ost {
namespace mol{
namespace mm{
46 class TerminiExceptions;
76 return exceptions_.find(res.
GetHashCode()) != exceptions_.end();
82 ss<<
"Tried to get termini exceptions of res "<<res<<
" without defined exception!";
85 std::map<unsigned long, String>::const_iterator i = exceptions_.find(res.
GetHashCode());
89 std::map<unsigned long, String> exceptions_;
146 }
catch (std::runtime_error& e) {
148 LOG_WARNING(
"Failed to find shared data path for openmm_plugins. "
149 "Please set custom_plugin_directory of Settings object "
150 "manually or ensure that OST_ROOT is set properly. "
151 "Caught exception: " << e.what());
Three dimensional vector class, using Real precision.
unsigned long GetHashCode() const
String GetException(const ost::mol::ResidueHandle &res) const
void SetException(const ost::mol::ResidueHandle &res, const String &exception_name)
bool HasException(const ost::mol::ResidueHandle &res) const
boost::shared_ptr< TerminiExceptions > TerminiExceptionsPtr
std::map< String, String > PropertyMap
boost::shared_ptr< ost::mol::mm::Forcefield > ForcefieldPtr
boost::shared_ptr< Settings > SettingsPtr
String DLLEXPORT_OST_BASE GetSharedDataPath()
TerminiExceptionsPtr termini_exceptions
PropertyMap reference_properties
Real reaction_field_dielectric
PropertyMap opencl_properties
String openmm_plugin_directory
Real thermostat_temperature
bool use_dispersion_correction
boost::shared_ptr< OpenMM::Integrator > integrator
PropertyMap cpu_properties
bool generate_disulfid_bonds
bool keep_ff_specific_naming
Real barostat_temperature
PropertyMap cuda_properties
bool ideal_bond_length_constraints
NonbondedMethod nonbonded_method
Real thermostat_collision_frequency
String custom_plugin_directory
geom::Vec3 periodic_box_extents