IMP logo
IMP Reference Guide  2.20.0
The Integrative Modeling Platform
pt_stuff.h
Go to the documentation of this file.
1 /**
2  * \file IMP/spb/pt_stuff.h
3  * \brief Useful stuff for parallel tempering
4  *
5  * Copyright 2007-2022 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPSPB_PT_STUFF_H
10 #define IMPSPB_PT_STUFF_H
11 #include <IMP.h>
12 #include <IMP/spb/spb_config.h>
13 
14 IMPSPB_BEGIN_NAMESPACE
15 
16 IMPSPBEXPORT double* create_temperatures(double tmin, double tmax,
17  int nrep);
18 
19 IMPSPBEXPORT int* create_indexes(int nrep);
20 
21 IMPSPBEXPORT int get_friend(int* index, int myrank, int step, int nrep);
22 
23 IMPSPBEXPORT bool get_acceptance(double score0, double score1,
24  double delta_wte, double T0, double T1);
25 
26 IMPSPB_END_NAMESPACE
27 
28 #endif /* IMPSPB_PT_STUFF_H */
Include all non-deprecated headers in IMP.