#include <PoissonBoltzmannPotential.hh>
|
| PoissonBoltzmannPotential () |
|
| ~PoissonBoltzmannPotential () override |
|
core::Real | get_potential (numeric::xyzVector< core::Real > const &cartX) const |
|
Real | eval_PB_energy_residue (core::conformation::Residue const &rsd, Real &PB_energy_residue, Real &PB_energy_backbone, Real &PB_energy_sidechain, Real const &PB_burial_weight) const |
|
void | cart2idx (numeric::xyzVector< core::Real > const &cartX, numeric::xyzVector< core::Real > &idxX) const |
|
template<class Q > |
void | idx2cart (numeric::xyzVector< Q > const &idxX, numeric::xyzVector< core::Real > &cartX) const |
|
numeric::xyzVector< core::Real > | lower_bound () const |
|
numeric::xyzVector< core::Real > | upper_bound () const |
|
bool | out_of_bounds (numeric::xyzVector< core::Real > const &cartX) const |
|
void | solve_pb (core::pose::Pose const &pose, std::string const &state_tag, std::map< std::string, bool > const &is_residue_charged_by_name, bool cleanup_files=false) |
|
void | solve_pb (core::pose::Pose const &pose, std::string const &state_tag, id::AtomID_Map< bool > const &charged_atoms, id::AtomID_Map< bool > const &present_atoms, bool cleanup_files=false) |
|
void | cleanup_files () const |
|
◆ PoissonBoltzmannPotential()
core::scoring::PB::PoissonBoltzmannPotential |
( |
| ) |
|
◆ ~PoissonBoltzmannPotential()
core::scoring::PB::~PoissonBoltzmannPotential |
( |
| ) |
|
|
overridedefault |
◆ cart2idx()
void core::scoring::PoissonBoltzmannPotential::cart2idx |
( |
numeric::xyzVector< core::Real > const & |
cartX, |
|
|
numeric::xyzVector< core::Real > & |
idxX |
|
) |
| const |
|
inline |
◆ cleanup_files()
void core::scoring::PB::cleanup_files |
( |
| ) |
const |
◆ eval_PB_energy_residue()
◆ fpath()
std::string core::scoring::PB::fpath |
( |
std::string const & |
file | ) |
const |
|
private |
◆ get_potential()
◆ idx2cart()
template<class Q >
void core::scoring::PoissonBoltzmannPotential::idx2cart |
( |
numeric::xyzVector< Q > const & |
idxX, |
|
|
numeric::xyzVector< core::Real > & |
cartX |
|
) |
| const |
|
inline |
◆ load_APBS_potential()
void core::scoring::PB::load_APBS_potential |
( |
| ) |
|
|
private |
Read & load the APBS results.
References c2i_, dx_filename_, fpath(), grid_spacing_, i2c_, idx2cart(), lower_bound_, n_grid_, potential_, core::scoring::TR(), and upper_bound_.
Referenced by solve_pb().
◆ lower_bound()
numeric::xyzVector< core::Real > core::scoring::PoissonBoltzmannPotential::lower_bound |
( |
| ) |
const |
|
inline |
◆ out_of_bounds()
bool core::scoring::PoissonBoltzmannPotential::out_of_bounds |
( |
numeric::xyzVector< core::Real > const & |
cartX | ) |
const |
|
inline |
◆ solve_pb() [1/2]
References APBS_CONFIG_EXT, APBS_DX_EXT, apbs_path_, APBS_PQR_EXT, calcenergy_, core::import_pose::cleanup(), cleanup_files(), config_filename_, dx_filename_, core::sequence::end, fpath(), load_APBS_potential(), pqr_filename_, scratch_dir_, core::scoring::TR(), write_config(), and write_pqr().
◆ solve_pb() [2/2]
void core::scoring::PB::solve_pb |
( |
core::pose::Pose const & |
pose, |
|
|
std::string const & |
state_tag, |
|
|
std::map< std::string, bool > const & |
is_residue_charged_by_name, |
|
|
bool |
cleanup_files = false |
|
) |
| |
◆ upper_bound()
numeric::xyzVector< core::Real > core::scoring::PoissonBoltzmannPotential::upper_bound |
( |
| ) |
const |
|
inline |
◆ write_config()
Prepare ABPS - generate .in and .pqr.
Write out the configurati
References APBS_DX_EXT, calcenergy_, core::conformation::membrane::center, config_filename_, dx_filename_, core::chemical::element::F, fpath(), core::chemical::element::I, pqr_filename_, core::pose::Pose::residue(), core::pose::Pose::size(), core::scoring::TR(), and core::conformation::Residue::xyz().
Referenced by solve_pb().
◆ write_pqr()
Write out .pqr.
References core::conformation::Residue::atom(), core::chemical::ResidueType::atom_charge(), core::conformation::Residue::atom_name(), core::conformation::Residue::atom_type(), core::conformation::Residue::chain(), chr_chains(), core::chemical::element::F, fpath(), core::chemical::element::I, core::chemical::AtomType::is_virtual(), core::chemical::AtomType::lj_radius(), core::conformation::Residue::name3(), core::conformation::Residue::natoms(), pqr_filename_, core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::conformation::Residue::seqpos(), core::pose::Pose::size(), core::scoring::TR(), and core::conformation::Atom::xyz().
Referenced by solve_pb().
◆ APBS_CONFIG_EXT
const std::string core::scoring::PB::APBS_CONFIG_EXT = ".in" |
|
static |
◆ APBS_DX_EXT
const std::string core::scoring::PB::APBS_DX_EXT = ".dx" |
|
static |
◆ apbs_path_
std::string core::scoring::PoissonBoltzmannPotential::apbs_path_ |
|
private |
◆ APBS_PQR_EXT
const std::string core::scoring::PB::APBS_PQR_EXT = ".pqr" |
|
static |
◆ c2i_
numeric::xyzMatrix< core::Real > core::scoring::PoissonBoltzmannPotential::c2i_ |
|
private |
◆ calcenergy_
bool core::scoring::PoissonBoltzmannPotential::calcenergy_ |
|
private |
◆ config_filename_
std::string core::scoring::PoissonBoltzmannPotential::config_filename_ |
|
private |
◆ DEFAULT_APBS_PATH
const std::string core::scoring::PB::DEFAULT_APBS_PATH = "apbs" |
|
static |
◆ dx_filename_
std::string core::scoring::PoissonBoltzmannPotential::dx_filename_ |
|
private |
◆ grid_spacing_
numeric::xyzVector< core::Real > core::scoring::PoissonBoltzmannPotential::grid_spacing_ |
|
private |
◆ i2c_
numeric::xyzMatrix< core::Real > core::scoring::PoissonBoltzmannPotential::i2c_ |
|
private |
◆ lower_bound_
numeric::xyzVector< core::Real > core::scoring::PoissonBoltzmannPotential::lower_bound_ |
|
private |
◆ n_grid_
numeric::xyzVector< core::Size > core::scoring::PoissonBoltzmannPotential::n_grid_ |
|
private |
◆ potential_
ObjexxFCL::FArray3D< core::Real > core::scoring::PoissonBoltzmannPotential::potential_ |
|
private |
◆ pqr_filename_
std::string core::scoring::PoissonBoltzmannPotential::pqr_filename_ |
|
private |
◆ scratch_dir_
std::string core::scoring::PoissonBoltzmannPotential::scratch_dir_ |
|
private |
◆ upper_bound_
numeric::xyzVector< core::Real > core::scoring::PoissonBoltzmannPotential::upper_bound_ |
|
private |
The documentation for this class was generated from the following files: