Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
moves
ReplicaExchangeMC.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file protocols/moves/ReplicaExchangeMC.hh
11
/// @brief implementing a Recplica Exchange Monte Carlo Mover
12
/// @author Yuan Liu (wendao@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_moves_ReplicaExchangeMC_hh
15
#define INCLUDED_protocols_moves_ReplicaExchangeMC_hh
16
17
#include <
core/types.hh
>
18
// AUTO-REMOVED #include <core/pose/Pose.hh>
19
#include <
protocols/moves/MonteCarlo.hh
>
20
#include <
protocols/moves/ReplicaExchangeMC.fwd.hh
>
21
22
#include <utility/vector1.hh>
23
24
25
namespace
protocols {
26
namespace
moves {
27
28
class
ReplicaExchangeMC
:
public
MonteCarlo
29
{
30
public
:
31
typedef
MonteCarlo
Parent
;
32
typedef
core::Size
Size
;
33
34
ReplicaExchangeMC
(
35
Pose
const
& init_pose,
// PoseCOP init_pose,
36
ScoreFunction
const
& scorefxn,
// ScoreFunctionCOP scorefxn,
37
utility::vector1<core::Real>
const
&tlist,
38
core::Size
nint
39
);
40
41
ReplicaExchangeMC
(
42
ScoreFunction
const
& scorefxn,
// ScoreFunctionCOP scorefxn,
43
utility::vector1<core::Real>
const
&tlist,
44
core::Size
nint
45
);
46
47
void
init
();
48
49
~ReplicaExchangeMC
();
50
51
void
build_temperature_list
(
double
*elist);
52
53
using
Parent::boltzmann
;
54
55
bool
56
boltzmann
(
57
Pose
& pose,
//PoseOP pose,
58
std::string
const
& move_type =
"unk"
,
59
core::Real
const
proposal_density_ratio = 1
60
);
61
62
//void set_noutput(core::Size n){noutput_=n;}
63
64
private
:
65
int
rank_
;
66
int
size_
;
67
core::Size
nreplica_frequency_
;
68
//core::Size noutput_;
69
core::Size
ntrials_
;
70
utility::vector1<core::Real>
Tlist_
;
71
utility::vector1< utility::vector1<std::pair<int, int>
> >
exchange_schedule
;
72
double
*
last_energylist
;
73
int
*
T_tag
;
74
int
*
T_rev
;
75
int
T_ndx
;
76
};
77
78
}
// moves
79
}
// prot
80
81
#endif
82
Generated on Sat Jun 1 2013 12:00:35 for Rosetta 3.5 by
1.8.4