Rosetta  2016.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::scoring::methods::IdealParametersDatabase Class Reference

#include <CartesianBondedEnergy.hh>

Inheritance diagram for core::scoring::methods::IdealParametersDatabase:
Inheritance graph
[legend]

Public Member Functions

 IdealParametersDatabase (Real k_len, Real k_ang, Real k_tors, Real k_tors_prot, Real k_tors_improper)
 
void init (Real k_len, Real k_ang, Real k_tors, Real k_tors_prot, Real k_tors_improper)
 
CartBondedParametersCOP lookup_torsion (core::chemical::ResidueType const &rsd_type, std::string const &atm1_name, std::string const &atm2_name, std::string const &atm3_name, std::string const &atm4_name)
 Torsion Database. More...
 
CartBondedParametersCOP lookup_angle (core::chemical::ResidueType const &rsd_type, bool pre_proline, std::string const &atm1_name, std::string const &atm2_name, std::string const &atm3_name, int atm1idx, int atm2idx, int atm3idx)
 
CartBondedParametersCOP lookup_length (core::chemical::ResidueType const &rsd_type, bool pre_proline, std::string const &atm1_name, std::string const &atm2_name, int atm1idx, int atm2idx)
 
void lookup_torsion_legacy (core::chemical::ResidueType const &restype, int atm1, int atm2, int atm3, int atm4, Real &Kphi, Real &phi0, Real &phi_step)
 
void lookup_angle_legacy (core::pose::Pose const &pose, core::conformation::Residue const &res, int atm1, int atm2, int atm3, Real &Ktheta, Real &d0)
 
void lookup_length_legacy (core::pose::Pose const &pose, core::conformation::Residue const &res, int atm1, int atm2, Real &Kd, Real &d0)
 
bool bbdep_bond_params ()
 
bool bbdep_bond_devs ()
 
ResidueCartBondedParameters const & parameters_for_restype (core::chemical::ResidueType const &restype, bool prepro)
 Return a list of all the bond lengths, bond angles, and bond torsions for a single residue type. This list is constructed lazily as required. (This may cause thread safety issues!). More...
 

Private Member Functions

void lookup_bondangle_buildideal (core::chemical::ResidueType const &restype, int atm1, int atm2, int atm3, Real &Ktheta, Real &theta0)
 
void lookup_bondlength_buildideal (core::chemical::ResidueType const &restype, int atm1, int atm2, Real &Kd, Real &d0)
 
void read_length_database (std::string infile)
 
void read_angle_database (std::string infile)
 
void read_torsion_database (std::string infile)
 
void read_bbdep_table (std::string filename, boost::unordered_map< atm_name_single, CartBondedParametersOP > &bondlengths, boost::unordered_map< atm_name_pair, CartBondedParametersOP > &bondangles, std::string res)
 
void create_parameters_for_restype (core::chemical::ResidueType const &restype, bool prepro)
 

Private Attributes

Real k_length_
 
Real k_angle_
 
Real k_torsion_
 
Real k_torsion_proton_
 
Real k_torsion_improper_
 
boost::unordered_map
< atm_name_quad,
CartBondedParametersOP
torsions_indep_
 
boost::unordered_map
< atm_name_triple,
CartBondedParametersOP
bondangles_indep_
 
boost::unordered_map
< atm_name_pair,
CartBondedParametersOP
bondlengths_indep_
 
boost::unordered_map
< atm_name_pair,
CartBondedParametersOP
bondangles_bbdep_def_
 
boost::unordered_map
< atm_name_pair,
CartBondedParametersOP
bondangles_bbdep_pro_
 
boost::unordered_map
< atm_name_pair,
CartBondedParametersOP
bondangles_bbdep_valile_
 
boost::unordered_map
< atm_name_pair,
CartBondedParametersOP
bondangles_bbdep_prepro_
 
boost::unordered_map
< atm_name_pair,
CartBondedParametersOP
bondangles_bbdep_gly_
 
boost::unordered_map
< atm_name_single,
CartBondedParametersOP
bondlengths_bbdep_def_
 
boost::unordered_map
< atm_name_single,
CartBondedParametersOP
bondlengths_bbdep_pro_
 
boost::unordered_map
< atm_name_single,
CartBondedParametersOP
bondlengths_bbdep_valile_
 
boost::unordered_map
< atm_name_single,
CartBondedParametersOP
bondlengths_bbdep_prepro_
 
boost::unordered_map
< atm_name_single,
CartBondedParametersOP
bondlengths_bbdep_gly_
 
bool bbdep_bond_params_
 
bool bbdep_bond_devs_
 
std::map
< chemical::ResidueType const
*, ResidueCartBondedParametersOP
prepro_restype_data_
 
std::map
< chemical::ResidueType const
*, ResidueCartBondedParametersOP
nonprepro_restype_data_
 

Constructor & Destructor Documentation

core::scoring::methods::IdealParametersDatabase::IdealParametersDatabase ( Real  k_len,
Real  k_ang,
Real  k_tors,
Real  k_tors_prot,
Real  k_tors_improper 
)

Member Function Documentation

bool core::scoring::methods::IdealParametersDatabase::bbdep_bond_devs ( )
inline

References bbdep_bond_devs_.

bool core::scoring::methods::IdealParametersDatabase::bbdep_bond_params ( )
inline

References bbdep_bond_params_.

void core::scoring::methods::IdealParametersDatabase::create_parameters_for_restype ( core::chemical::ResidueType const &  restype,
bool  prepro 
)
private
void core::scoring::methods::IdealParametersDatabase::init ( Real  k_len,
Real  k_ang,
Real  k_tors,
Real  k_tors_prot,
Real  k_tors_improper 
)
CartBondedParametersCOP core::scoring::methods::IdealParametersDatabase::lookup_angle ( core::chemical::ResidueType const &  restype,
bool  pre_proline,
std::string const &  atm1_name,
std::string const &  atm2_name,
std::string const &  atm3_name,
int  atm1idx,
int  atm2idx,
int  atm3idx 
)
void core::scoring::methods::IdealParametersDatabase::lookup_angle_legacy ( core::pose::Pose const &  pose,
core::conformation::Residue const &  res,
int  atm1,
int  atm2,
int  atm3,
Real Ktheta,
Real d0 
)
void core::scoring::methods::IdealParametersDatabase::lookup_bondangle_buildideal ( core::chemical::ResidueType const &  restype,
int  atm1,
int  atm2,
int  atm3,
Real Ktheta,
Real theta0 
)
private
void core::scoring::methods::IdealParametersDatabase::lookup_bondlength_buildideal ( core::chemical::ResidueType const &  restype,
int  atm1,
int  atm2,
Real Kd,
Real d0 
)
private
CartBondedParametersCOP core::scoring::methods::IdealParametersDatabase::lookup_length ( core::chemical::ResidueType const &  rsd_type,
bool  pre_proline,
std::string const &  atm1_name,
std::string const &  atm2_name,
int  atm1idx,
int  atm2idx 
)
void core::scoring::methods::IdealParametersDatabase::lookup_length_legacy ( core::pose::Pose const &  pose,
core::conformation::Residue const &  res,
int  atm1,
int  atm2,
Real Kd,
Real d0 
)
CartBondedParametersCOP core::scoring::methods::IdealParametersDatabase::lookup_torsion ( core::chemical::ResidueType const &  rsd_type,
std::string const &  atm1_name,
std::string const &  atm2_name,
std::string const &  atm3_name,
std::string const &  atm4_name 
)
void core::scoring::methods::IdealParametersDatabase::lookup_torsion_legacy ( core::chemical::ResidueType const &  restype,
int  atm1,
int  atm2,
int  atm3,
int  atm4,
Real Kphi,
Real phi0,
Real phi_step 
)
ResidueCartBondedParameters const & core::scoring::methods::IdealParametersDatabase::parameters_for_restype ( core::chemical::ResidueType const &  restype,
bool  prepro 
)

Return a list of all the bond lengths, bond angles, and bond torsions for a single residue type. This list is constructed lazily as required. (This may cause thread safety issues!).

References create_parameters_for_restype(), nonprepro_restype_data_, and prepro_restype_data_.

void core::scoring::methods::IdealParametersDatabase::read_angle_database ( std::string  infile)
private

References bondangles_indep_, and core::scoring::methods::TR().

Referenced by init().

void core::scoring::methods::IdealParametersDatabase::read_bbdep_table ( std::string  filename,
boost::unordered_map< atm_name_single, CartBondedParametersOP > &  bondlengths,
boost::unordered_map< atm_name_pair, CartBondedParametersOP > &  bondangles,
std::string  res 
)
private

References bbdep_bond_devs_, bondangles_indep_, and bondlengths_indep_.

Referenced by init().

void core::scoring::methods::IdealParametersDatabase::read_length_database ( std::string  infile)
private

References bondlengths_indep_, and core::scoring::methods::TR().

Referenced by init().

void core::scoring::methods::IdealParametersDatabase::read_torsion_database ( std::string  infile)
private

References torsions_indep_, and core::scoring::methods::TR().

Referenced by init().

Member Data Documentation

bool core::scoring::methods::IdealParametersDatabase::bbdep_bond_devs_
private
bool core::scoring::methods::IdealParametersDatabase::bbdep_bond_params_
private

Referenced by bbdep_bond_params(), and init().

boost::unordered_map< atm_name_pair, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondangles_bbdep_def_
private

Referenced by init(), and lookup_angle().

boost::unordered_map< atm_name_pair, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondangles_bbdep_gly_
private

Referenced by init(), and lookup_angle().

boost::unordered_map< atm_name_pair, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondangles_bbdep_prepro_
private

Referenced by init(), and lookup_angle().

boost::unordered_map< atm_name_pair, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondangles_bbdep_pro_
private

Referenced by init(), and lookup_angle().

boost::unordered_map< atm_name_pair, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondangles_bbdep_valile_
private

Referenced by init(), and lookup_angle().

boost::unordered_map< atm_name_triple, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondangles_indep_
private
boost::unordered_map< atm_name_single, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondlengths_bbdep_def_
private

Referenced by init(), and lookup_length().

boost::unordered_map< atm_name_single, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondlengths_bbdep_gly_
private

Referenced by init(), and lookup_length().

boost::unordered_map< atm_name_single, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondlengths_bbdep_prepro_
private

Referenced by init(), and lookup_length().

boost::unordered_map< atm_name_single, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondlengths_bbdep_pro_
private

Referenced by init(), and lookup_length().

boost::unordered_map< atm_name_single, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondlengths_bbdep_valile_
private

Referenced by init(), and lookup_length().

boost::unordered_map< atm_name_pair, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::bondlengths_indep_
private
Real core::scoring::methods::IdealParametersDatabase::k_angle_
private
Real core::scoring::methods::IdealParametersDatabase::k_length_
private
Real core::scoring::methods::IdealParametersDatabase::k_torsion_
private

Referenced by init(), and lookup_torsion_legacy().

Real core::scoring::methods::IdealParametersDatabase::k_torsion_improper_
private

Referenced by init().

Real core::scoring::methods::IdealParametersDatabase::k_torsion_proton_
private

Referenced by init(), and lookup_torsion_legacy().

std::map< chemical::ResidueType const *, ResidueCartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::nonprepro_restype_data_
private
std::map< chemical::ResidueType const *, ResidueCartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::prepro_restype_data_
private
boost::unordered_map< atm_name_quad, CartBondedParametersOP > core::scoring::methods::IdealParametersDatabase::torsions_indep_
private

The documentation for this class was generated from the following files: