-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get_acedrg_atom_types_for_ligand() to the api
- Loading branch information
Showing
12 changed files
with
188 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
#ifndef ACEDRG_TYPES_FOR_RESIDUE_HH | ||
#define ACEDRG_TYPES_FOR_RESIDUE_HH | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace coot { | ||
|
||
class acedrg_types_for_bond_t { | ||
public: | ||
std::string atom_id_1; | ||
std::string atom_id_2; | ||
std::string atom_type_1; | ||
std::string atom_type_2; | ||
double bond_length; | ||
acedrg_types_for_bond_t() : bond_length(-1) {} | ||
acedrg_types_for_bond_t(const std::string &a11, const std::string &a12, const std::string &a21, const std::string &a22, | ||
double bl) : atom_id_1(a11), atom_id_2(a12), atom_type_1(a21), atom_type_2(a22), | ||
bond_length(bl) {} | ||
}; | ||
|
||
class acedrg_types_for_angle_t { | ||
public: | ||
std::string atom_id_1; | ||
std::string atom_id_2; | ||
std::string atom_id_3; | ||
std::string atom_type_1; | ||
std::string atom_type_2; | ||
std::string atom_type_3; | ||
double angle; // radians | ||
acedrg_types_for_angle_t(const std::string &a11, const std::string &a12, const std::string &a13, | ||
const std::string &a21, const std::string &a22, const std::string &a23, | ||
double a) : atom_id_1(a11), atom_id_2(a12), atom_id_3(a13), | ||
atom_type_1(a21), atom_type_2(a22), atom_type_3(a23), | ||
angle(a) {} | ||
}; | ||
|
||
class acedrg_types_for_residue_t { | ||
public: | ||
std::vector<acedrg_types_for_bond_t> bond_types; | ||
}; | ||
|
||
} | ||
|
||
#endif // ACEDRG_TYPES_FOR_RESIDUE_HH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9583,3 +9583,5 @@ coot::util::split_multi_model_molecule(mmdb::Manager *mol) { | |
|
||
return v; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters