#include <PoissonBoltzmannPotential.hh>
|
| PoissonBoltzmannPotential () |
|
virtual | ~PoissonBoltzmannPotential () |
|
core::Real | get_potential (ObjexxFCL::FArray3D< core::Real > const &potential, numeric::xyzVector< core::Real > const &cartX) const |
|
void | 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) |
|
core::scoring::PB::PoissonBoltzmannPotential |
( |
| ) |
|
core::scoring::PB::~PoissonBoltzmannPotential |
( |
| ) |
|
|
virtual |
void core::scoring::PB::load_APBS_potential |
( |
| ) |
|
|
private |
Read & load the APBS results.
References dx_filename_, utility::io::izstream::getline(), i2c_, idx2cart(), lower_bound_, n_grid_, basic::options::option, utility::io::izstream::peek(), potential_, basic::options::OptionKeys::pb_potential::potential_cap, runtime_assert, core::scoring::TR, and upper_bound_.
Referenced by solve_pb().
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 |
|
) |
| |
Execute ABPS to freshly compute the electrotatic field.
- Parameters
-
pose | The pose |
state_tag | Arbitrary string for generating APBS files. e.g. The current energy state. |
is_residue_charged_by_name | Which residues are charged? The key is the residue name. |
References APBS_CONFIG_EXT, APBS_DX_EXT, basic::options::OptionKeys::pb_potential::apbs_path, apbs_path_, APBS_PQR_EXT, begin, basic::options::OptionKeys::pb_potential::calcenergy, calcenergy_, config_filename_, dx_filename_, core::sequence::end, load_APBS_potential(), basic::options::option, pqr_filename_, runtime_assert, core::scoring::TR, user, write_config(), and write_pqr().
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, core::chemical::element::I, length, core::conformation::Residue::natoms(), pqr_filename_, core::pose::Pose::residue(), core::pose::Pose::total_residue(), core::scoring::TR, numeric::xyzVector< class >::x(), core::conformation::Residue::xyz(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
Referenced by solve_pb().
void core::scoring::PB::write_pqr |
( |
core::pose::Pose const & |
pose, |
|
|
std::map< std::string, bool > const & |
is_residue_charged_by_name |
|
) |
| const |
|
private |
Write out .pqr.
References core::chemical::ResidueType::atom(), chain, core::chemical::Atom::charge(), charged_chains, chr_chains(), core::chemical::element::F, core::chemical::element::I, nres, pqr_filename_, core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::Pose::total_residue(), and core::scoring::TR.
Referenced by solve_pb().
const std::string core::scoring::PB::APBS_CONFIG_EXT = ".in" |
|
static |
const std::string core::scoring::PB::APBS_DX_EXT = ".dx" |
|
static |
std::string core::scoring::PoissonBoltzmannPotential::apbs_path_ |
|
private |
const std::string core::scoring::PB::APBS_PQR_EXT = ".pqr" |
|
static |
bool core::scoring::PoissonBoltzmannPotential::calcenergy_ |
|
private |
std::string core::scoring::PoissonBoltzmannPotential::config_filename_ |
|
private |
const std::string core::scoring::PB::DEFAULT_APBS_PATH = "apbs" |
|
static |
std::string core::scoring::PoissonBoltzmannPotential::dx_filename_ |
|
private |
ObjexxFCL::FArray3D< core::Real > core::scoring::PoissonBoltzmannPotential::potential_ |
|
private |
std::string core::scoring::PoissonBoltzmannPotential::pqr_filename_ |
|
private |
The documentation for this class was generated from the following files: