Rosetta
|
Bfactor multifunc. More...
#include <BfactorFittingMover.hh>
Public Member Functions | |
BfactorMultifunc (core::pose::Pose &pose_in, core::Real wt_adp, core::Real wt_dens, core::Real rmax, core::Real radius_exp, core::Real scorescale, bool exact, bool verbose, bool deriv_check) | |
~BfactorMultifunc () override=default | |
core::Real | operator() (core::optimization::Multivec const &vars) const override |
B factor optimization multifunc. More... | |
void | dfunc (core::optimization::Multivec const &vars, core::optimization::Multivec &dE_dvars) const override |
void | dump (core::optimization::Multivec const &x1, core::optimization::Multivec const &x2) const override |
Error state reached – derivative does not match gradient Derived classes have the oportunity to now output and or analyze the two vars assignments vars, vars+delta where the derivatives are incorrect. More... | |
void | poseBfacts2multivec (core::pose::Pose &pose, core::optimization::Multivec &y) const |
pose with B factors --> multivec More... | |
void | multivec2poseBfacts (core::optimization::Multivec const &vars, core::pose::Pose &pose) const |
multivec —> pose B factors More... | |
![]() | |
~Multifunc () override=default | |
Destructor. More... | |
virtual bool | abort_min (Multivec const &) const |
Christophe added the following to allow premature end of minimization If you want to abort the minimizer under specific circonstances overload this function and return true if you want to stop, false if you want to continue. FOR THE MOMENT, ONLY IN DFPMIN! More... | |
Private Attributes | |
core::pose::Pose & | pose_ |
core::Real | scorescale_ |
core::Real | wt_adp_ |
core::Real | wt_dens_ |
core::Real | rmax_ |
core::Real | radius_exp_ |
bool | exact_ |
bool | verbose_ |
bool | deriv_check_ |
core::id::AtomID_Map< core::Size > | atom_indices_ |
utility::vector1< core::id::AtomID > | moving_atoms_ |
ObjexxFCL::FArray3D< core::Real > | rhoC_ |
ObjexxFCL::FArray3D< core::Real > | rhoMask_ |
core::Real | B_EPS |
Additional Inherited Members | |
![]() | |
typedef utility::VirtualBase | parent |
![]() | |
Multifunc () | |
Default constructor. More... | |
Multifunc (Multifunc const &) | |
Copy constructor. More... | |
Multifunc & | operator= (Multifunc const &) |
Copy assignment. More... | |
Bfactor multifunc.
protocols::electron_density::BfactorMultifunc::BfactorMultifunc | ( | core::pose::Pose & | pose_in, |
core::Real | wt_adp, | ||
core::Real | wt_dens, | ||
core::Real | rmax, | ||
core::Real | radius_exp, | ||
core::Real | scorescale, | ||
bool | exact, | ||
bool | verbose, | ||
bool | deriv_check | ||
) |
References core::conformation::Residue::aa(), core::chemical::aa_vrt, atom_indices_, core::conformation::Residue::atom_type(), B_EPS, core::pose::Pose::conformation(), core::pose::initialize_atomid_map(), core::pose::symmetry::is_symmetric(), core::chemical::AtomType::is_virtual(), moving_atoms_, core::conformation::Residue::nheavyatoms(), core::pose::Pose::residue(), and core::pose::Pose::size().
|
overridedefault |
|
overridevirtual |
Implements core::optimization::Multifunc.
References core::conformation::Residue::aa(), core::chemical::aa_vrt, core::conformation::Residue::atom(), atom_indices_, core::id::AtomID::atomno(), B_EPS, core::pose::Pose::conformation(), core::scoring::electron_density::ElectronDensity::dCCdB_fastRes(), core::scoring::electron_density::ElectronDensity::dCCdBs(), core::pose::Pose::energies(), core::scoring::Energies::energy_graph(), exact_, core::scoring::electron_density::getDensityMap(), core::pose::symmetry::is_symmetric(), moving_atoms_, multivec2poseBfacts(), core::conformation::Residue::nheavyatoms(), core::pose::Pose::pdb_info(), pose_, radius_exp_, core::pose::Pose::residue(), rhoMask_, rmax_, core::id::AtomID::rsd(), protocols::hybridization::score, scorescale_, core::pose::Pose::size(), verbose_, wt_adp_, wt_dens_, and core::conformation::Atom::xyz().
Referenced by dump().
|
overridevirtual |
Error state reached – derivative does not match gradient Derived classes have the oportunity to now output and or analyze the two vars assignments vars, vars+delta where the derivatives are incorrect.
Reimplemented from core::optimization::Multifunc.
References B_EPS, deriv_check_, dfunc(), and protocols::hybridization::score.
void protocols::electron_density::BfactorMultifunc::multivec2poseBfacts | ( | core::optimization::Multivec const & | vars, |
core::pose::Pose & | pose | ||
) | const |
multivec —> pose B factors
References core::id::AtomID::atomno(), protocols::mean_field::max(), protocols::mean_field::min(), moving_atoms_, core::pose::Pose::pdb_info(), and core::id::AtomID::rsd().
Referenced by protocols::electron_density::BfactorFittingMover::apply(), dfunc(), and operator()().
|
overridevirtual |
B factor optimization multifunc.
Implements core::optimization::Multifunc.
References core::conformation::Residue::aa(), core::chemical::aa_vrt, core::conformation::Residue::atom(), atom_indices_, core::conformation::Residue::atom_type(), core::conformation::Residue::atom_type_index(), core::conformation::Residue::atom_type_set(), core::scoring::electron_density::poseCoord::B_, B_EPS, core::scoring::electron_density::ElectronDensity::calcRhoC(), core::pose::Pose::conformation(), core::scoring::electron_density::poseCoord::elt_, core::pose::Pose::energies(), core::scoring::Energies::energy_graph(), exact_, core::scoring::electron_density::getDensityMap(), core::scoring::electron_density::ElectronDensity::getRSCC(), core::pose::symmetry::is_symmetric(), core::chemical::AtomType::is_virtual(), core::scoring::electron_density::ElectronDensity::matchResFast(), moving_atoms_, multivec2poseBfacts(), core::conformation::Residue::nheavyatoms(), core::pose::Pose::pdb_info(), pose_, radius_exp_, core::pose::Pose::residue(), rhoC_, rhoMask_, rmax_, scorescale_, core::pose::Pose::size(), verbose_, wt_adp_, wt_dens_, core::scoring::electron_density::poseCoord::x_, core::conformation::Atom::xyz(), and core::conformation::Residue::xyz().
void protocols::electron_density::BfactorMultifunc::poseBfacts2multivec | ( | core::pose::Pose & | pose, |
core::optimization::Multivec & | y | ||
) | const |
pose with B factors --> multivec
References core::id::AtomID::atomno(), core::chemical::element::B, moving_atoms_, core::pose::Pose::pdb_info(), and core::id::AtomID::rsd().
Referenced by protocols::electron_density::BfactorFittingMover::apply().
|
private |
Referenced by BfactorMultifunc(), dfunc(), and operator()().
|
private |
Referenced by BfactorMultifunc(), dfunc(), dump(), and operator()().
|
private |
Referenced by dump().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by BfactorMultifunc(), dfunc(), multivec2poseBfacts(), operator()(), and poseBfacts2multivec().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by dfunc(), and operator()().
|
mutableprivate |
Referenced by operator()().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by dfunc(), and operator()().
|
private |
Referenced by dfunc(), and operator()().