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{
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());
void SetException(const ost::mol::ResidueHandle &res, const String &exception_name)
Real thermostat_collision_frequency
bool keep_ff_specific_naming
geom::Vec3 periodic_box_extents
PropertyMap cpu_properties
String openmm_plugin_directory
boost::shared_ptr< Settings > SettingsPtr
bool ideal_bond_length_constraints
bool use_dispersion_correction
PropertyMap cuda_properties
PropertyMap reference_properties
unsigned long GetHashCode() const
TerminiExceptionsPtr termini_exceptions
Real thermostat_temperature
boost::shared_ptr< ost::mol::mm::Forcefield > ForcefieldPtr
bool generate_disulfid_bonds
PropertyMap opencl_properties
Three dimensional vector class, using Real precision.
Real barostat_temperature
NonbondedMethod nonbonded_method
String DLLEXPORT_OST_BASE GetSharedDataPath()
String custom_plugin_directory
bool HasException(const ost::mol::ResidueHandle &res) const
std::map< String, String > PropertyMap
boost::shared_ptr< OpenMM::Integrator > integrator
Real reaction_field_dielectric
boost::shared_ptr< TerminiExceptions > TerminiExceptionsPtr
String GetException(const ost::mol::ResidueHandle &res) const