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
canonical_sampling
mc_convergence_checks
pool_util.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
11
/// @brief
12
/// @author
13
14
#ifndef INCLUDED_protocols_canonical_sampling_mc_convergence_checks_pool_util_hh
15
#define INCLUDED_protocols_canonical_sampling_mc_convergence_checks_pool_util_hh
16
17
#include <ObjexxFCL/FArray2D.hh>
18
#include <utility/vector1.hh>
19
#include <
core/types.hh
>
20
21
namespace
protocols {
22
namespace
canonical_sampling {
23
namespace
mc_convergence_checks {
24
25
typedef
ObjexxFCL::FArray2D<double>
FArray2D_double
;
26
typedef
utility::vector1< core::Size >
Address
;
27
28
struct
DataBuffer
{
29
public
:
30
DataBuffer
();
31
32
~DataBuffer
();
33
34
void
35
setup
(
int
num_slave_nodes,
int
nresidues,
int
nlevels );
36
37
void
38
address_to_buf
(
utility::vector1< core::Size >
& address,
int
* buf,
core::Size
start_index );
39
40
void
41
buf_to_address
(
utility::vector1< core::Size >
& address,
int
* buf,
core::Size
start_index );
42
43
void
44
farray_to_array
(
core::Size
index,
45
FArray2D_double
const
& coords,
46
double
* coord_buf );
47
48
void
49
farray_to_array
(
core::Size
index,
50
core::Size
num_to_add,
51
FArray2D_double
const
& coords,
52
double
* coord_buf );
53
54
void
55
array_to_farray
(
core::Size
index,
56
FArray2D_double
& coords,
57
double
* coord_buf );
58
59
void
60
array_to_farray
(
core::Size
index,
61
core::Size
num_to_add,
62
FArray2D_double
& coords,
63
double
* coord_buf);
64
65
int
*
neighbor_addresses_
;
66
double
*
coords_transfer_buffer_
;
67
double
*
coords_receiving_buffer_
;
68
FArray2D_double
coords_
;
69
FArray2D_double
temp_coords_
;
70
core::Size
num_new_neighbors_
;
71
int
*
memory_offset_
;
72
int
*
int_buf1_
;
73
int
*
winning_ranks_
;
74
//structures for dealing with neighbors
75
FArray2D_double
candidate_coords_
;
76
core::Size
candidate_nbr_index_
;
77
core::Real
candidate_best_rmsd_
;
78
double
*
candidate_best_rmsds_
;
79
Address
candidate_address_
;
80
std::string
winning_tag_
;
81
Address
winning_address_
;
82
core::Size
new_level_begins_
;
83
utility::vector1< core::Real >
best_candidate_rmsds_
;
84
utility::vector1< bool >
is_a_neighbor_
;
85
int
*
finished_
;
86
87
};
88
89
90
91
}
92
}
93
}
94
95
#endif
Generated on Sat Jun 1 2013 11:44:27 for Rosetta 3.5 by
1.8.4