![]() |
Rosetta
2015.35
|
#include <CartesianMD.hh>
Public Member Functions | |
CartesianMD () | |
CartesianMD (core::pose::Pose const &pose, core::scoring::ScoreFunctionCOP sfxn, core::kinematics::MoveMapCOP movemap=0) | |
CartesianMD (core::pose::Pose const &pose, core::scoring::ScoreFunction const &sfxn) | |
CartesianMD (core::pose::Pose const &pose, core::scoring::ScoreFunction const &sfxn, core::kinematics::MoveMap const &movemap) | |
void | init () |
virtual | ~CartesianMD () |
virtual protocols::moves::MoverOP | fresh_instance () const |
Generates a new Mover object freshly created with the default ctor. More... | |
virtual protocols::moves::MoverOP | clone () const |
Return a clone of the Mover object. More... | |
virtual void | apply (core::pose::Pose &pose) |
virtual std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
virtual void | set_movemap (core::pose::Pose const &, core::kinematics::MoveMapCOP movemap) |
virtual core::kinematics::MoveMapOP | movemap () const |
void | use_rattle (bool const value) |
Multivec | get_current_eqxyz () const |
void | update_restraint (pose::Pose &pose, CartesianMinimizerMap const &min_map) |
void | cst_on_pose_simple (pose::Pose &pose) const |
void | cst_on_pose_dynamic (pose::Pose &pose, Multivec const &ref_xyz, Multivec const &curr_eqxyz, Multivec &prv_eqxyz, CartesianMinimizerMap const &min_map) const |
virtual void | parse_my_tag (TagCOP, basic::datacache::DataMap &, Filters_map const &, protocols::moves::Movers_map const &, Pose const &) |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
void | parse_opts (TagCOP tag, basic::datacache::DataMap &data, Pose const &pose) |
void | parse_movemap (TagCOP tag, basic::datacache::DataMap &data, Pose const &pose) |
utility::vector1< pose::Pose > | dump_poses (pose::Pose const &pose_ref) const |
![]() | |
MDBase () | |
~MDBase () | |
void | set_defaults () |
core::scoring::ScoreFunctionOP | scorefxn () |
core::scoring::ScoreFunctionCOP | scorefxn () const |
Real | dt () const |
void | set_dt (core::Real const value) |
Size | n_dof () const |
Real | cummulative_time () const |
void | set_constraint (Real const sdev) |
void | cst_on_pose (pose::Pose &pose) |
void | set_nstep (core::Size const nstep) |
void | set_temperature (core::Real const temp0) |
void | set_reportstep (core::Size const nstep) |
void | set_energy_reportstep (core::Size const nstep) |
void | set_rsr_update_step (core::Size const nstep) |
void | set_scorefxn_obj (core::scoring::ScoreFunctionCOP sfxn) |
void | set_selectmode (std::string const selectmode_in) |
void | set_context_update_step (Size const value) |
void | set_premin (Size const value) |
void | set_report_scorecomp (bool const value) |
void | parse_schfile (std::string const schfile) |
core::Size | nstep () const |
core::Real | temp0 () const |
void | set_store_trj (bool const value) |
bool | store_trj () const |
void | report_silent (pose::Pose &pose, core::Real rmsd=-1.0, core::Real gdttm=-1.0, core::Real gdtha=-1.0) |
void | report_as_silent (std::string const filename, bool const scoreonly) |
void | set_Kappa (core::Real const value) |
void | set_Gamma (core::Real const value) |
void | set_write_dynamic_rsr (std::string const filename) |
![]() | |
Mover () | |
virtual | ~Mover () |
virtual MoverSP | create () |
MoverCOP | get_self_ptr () const |
MoverOP | get_self_ptr () |
MoverCAP | get_self_weak_ptr () const |
MoverAP | get_self_weak_ptr () |
virtual void | apply (core::io::serialization::PipeMap &pmap) |
virtual void | parse_state (SerializableState const &state) |
virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks, MoverCacheSP cache) |
virtual void | save_state (SerializableState &state) |
Mover (std::string const &type_name) | |
sets the type for a mover; name_ has been removed (2010/05/14) More... | |
Mover (Mover const &other) | |
Mover & | operator= (Mover const &other) |
assignment operator More... | |
virtual core::Real | last_proposal_density_ratio () |
std::string const & | type () const |
void | set_type (std::string const &setting) |
std::string | get_current_tag () const |
A tag is a unique identifier used to identify structures produced by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor. More... | |
virtual void | set_current_tag (std::string const &new_tag) |
virtual void | set_input_pose (PoseCOP pose) |
setter for poses contained for rms More... | |
virtual void | set_native_pose (PoseCOP pose) |
setter for native poses contained for rms -— we should get rid of this method? it is widely used, but a bit unsafe More... | |
PoseCOP | get_input_pose () const |
PoseCOP | get_native_pose () const |
virtual void | test_move (Pose &pose) |
: Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying More... | |
void | type (const std::string &type_in) |
std::string | get_type () const |
MoverStatus | get_last_move_status () const |
end parser interface, start Job Distributor interface///////////// More... | |
void | reset_status () |
resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s. More... | |
virtual core::pose::PoseOP | get_additional_output () |
Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
virtual void | clear_info () |
Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file. More... | |
virtual Strings & | info () |
non-const accessor More... | |
virtual Strings const & | info () const |
const accessor More... | |
virtual bool | reinitialize_for_each_job () const |
Inform the Job Distributor (August '08 vintage) whether this object needs to be freshly regenerated on each use. More... | |
virtual bool | reinitialize_for_new_input () const |
Inform the Job Distributor (August '08 vintage) whether this object needs to be regenerated when the input pose is about to change, (for example, if the Mover has special code on the first apply() that is only valid for that one input pose). More... | |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
virtual void | show (std::ostream &output=std::cout) const |
Outputs details about the Mover, including current settings. More... | |
Private Member Functions | |
void | get_native_info (pose::Pose const &pose) |
void | do_initialize (core::pose::Pose &pose) |
void | Berendsen_Integrator (core::pose::Pose &pose, core::optimization::CartesianMinimizerMap &min_map) |
void | VelocityVerlet_Integrator (core::pose::Pose &pose, core::optimization::CartesianMinimizerMap &min_map, md::Rattle &rattle, bool const update_score=false) |
void | do_minimize (pose::Pose &pose, core::optimization::MinimizerOptions const &options, bool const &show_energy) |
void | do_MD (core::pose::Pose &pose, core::Size const &nstep, core::Real const &temp0=300, bool const &initialize=false) |
void | initialize_velocity (core::Real const &temperature) |
void | report_MD (core::pose::Pose &pose, CartesianMinimizerMap const &min_map, bool const report_trj) |
Private Attributes | |
core::optimization::CartesianMinimizerMap | min_map_ |
timeval | inittime_ |
bool | use_rattle_ |
core::pose::Pose | native_ |
bool | native_given_ |
std::map< Size, Size > | native_resmap_ |
protocols::md::CartesianMD::CartesianMD | ( | ) |
References core::init::init().
Referenced by fresh_instance().
protocols::md::CartesianMD::CartesianMD | ( | core::pose::Pose const & | pose, |
core::scoring::ScoreFunctionCOP | sfxn, | ||
core::kinematics::MoveMapCOP | movemap = 0 |
||
) |
References core::id::D, core::init::init(), and core::id::THETA.
protocols::md::CartesianMD::CartesianMD | ( | core::pose::Pose const & | pose, |
core::scoring::ScoreFunction const & | sfxn | ||
) |
protocols::md::CartesianMD::CartesianMD | ( | core::pose::Pose const & | pose, |
core::scoring::ScoreFunction const & | sfxn, | ||
core::kinematics::MoveMap const & | movemap | ||
) |
|
virtual |
|
virtual |
Implements protocols::md::MDBase.
References core::pose::symmetry::is_symmetric(), core::pose::symmetry::make_symmetric_movemap(), core::optimization::MinimizerOptions::max_iter(), and core::optimization::CartesianMinimizerMap::setup().
Referenced by protocols::relax::FastRelax::do_md(), and protocols::mpi_refinement::WorkUnit_MD::run().
|
private |
|
virtual |
Return a clone of the Mover object.
clone is meant to return an OP'ed deep copy of this object. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function.
Reimplemented from protocols::moves::Mover.
void protocols::md::CartesianMD::cst_on_pose_dynamic | ( | pose::Pose & | pose, |
Multivec const & | ref_xyz, | ||
Multivec const & | curr_eqxyz, | ||
Multivec & | prv_eqxyz, | ||
CartesianMinimizerMap const & | min_map | ||
) | const |
References core::pose::Pose::add_constraint(), core::conformation::Residue::atom_name(), core::id::AtomID::atomno(), core::chemical::element::F, core::optimization::CartesianMinimizerMap::get_atom(), core::chemical::element::I, core::conformation::Residue::name(), core::pose::Pose::remove_constraints(), core::pose::Pose::residue(), and core::id::AtomID::rsd().
void protocols::md::CartesianMD::cst_on_pose_simple | ( | pose::Pose & | pose | ) | const |
References core::pose::Pose::add_constraint(), core::scoring::constraints::add_fa_constraints_from_cmdline_to_pose(), core::conformation::Residue::atom_index(), core::conformation::Residue::has(), core::conformation::Residue::name(), core::pose::Pose::remove_constraints(), core::pose::Pose::residue(), core::pose::Pose::total_residue(), protocols::kinmatch::xyz(), and core::pose::Pose::xyz().
|
private |
References core::chemical::ResidueType::atom(), core::id::AtomID::atomno(), core::optimization::CartesianMinimizerMap::copy_dofs_from_pose(), core::chemical::Atom::element_type(), core::optimization::CartesianMinimizerMap::get_atom(), core::optimization::CartesianMinimizerMap::natoms(), core::optimization::CartesianMinimizerMap::ndofs(), core::pose::Pose::residue_type(), core::id::AtomID::rsd(), and core::optimization::CartesianMinimizerMap::setup().
|
private |
References core::optimization::CartesianMinimizerMap::copy_dofs_from_pose(), core::optimization::CartesianMinimizerMap::copy_dofs_to_pose(), protocols::md::GasConst(), protocols::md::Thermostat::get_temperature(), protocols::md::Rattle::ncst(), protocols::md::Thermostat::nstep_per_update(), protocols::md::Thermostat::rescale(), and core::optimization::CartesianMinimizerMap::setup().
|
private |
References core::optimization::CartesianMinimizer::run().
utility::vector1< pose::Pose > protocols::md::CartesianMD::dump_poses | ( | pose::Pose const & | pose_ref | ) | const |
|
inlinevirtual |
Generates a new Mover object freshly created with the default ctor.
fresh_instance is meant to return a new object of this class, created with the default constructor. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function. This is used by the August 08 job distributor.
Reimplemented from protocols::moves::Mover.
References CartesianMD().
Multivec protocols::md::CartesianMD::get_current_eqxyz | ( | ) | const |
|
virtual |
Each derived class must specify its name. The class name.
Implements protocols::md::MDBase.
|
private |
void protocols::md::CartesianMD::init | ( | void | ) |
|
private |
|
inlinevirtual |
Implements protocols::md::MDBase.
References protocols::md::MDBase::movemap_.
void protocols::md::CartesianMD::parse_movemap | ( | TagCOP | tag, |
basic::datacache::DataMap & | data, | ||
Pose const & | pose | ||
) |
References protocols::rosetta_scripts::parse_movemap().
|
virtual |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing.
Some movers need not be parsed, so we shouldn't stop executions. This, however, calls attention to the lack of this method, which could be due to something as silly as a wrong parameters definition.
Reimplemented from protocols::moves::Mover.
References protocols::rosetta_scripts::parse_movemap().
void protocols::md::CartesianMD::parse_opts | ( | TagCOP | tag, |
basic::datacache::DataMap & | data, | ||
Pose const & | pose | ||
) |
|
private |
|
virtual |
Implements protocols::md::MDBase.
void protocols::md::CartesianMD::update_restraint | ( | pose::Pose & | pose, |
CartesianMinimizerMap const & | min_map | ||
) |
void protocols::md::CartesianMD::use_rattle | ( | bool const | value | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |