Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
boinc_shmem.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/boinc/boinci_shmem.hh
11 /// @brief Boinc shared memory structure for graphics
12 /// @author David Kim (dekim@u.washington.edu)
13 
14 
15 #ifndef INCLUDED_protocols_boinc_boinc_shmem_hh
16 #define INCLUDED_protocols_boinc_boinc_shmem_hh
17 
18 
19 #include <core/types.hh>
20 
21 #ifdef BOINC
22 #include "boinc_api.h"
23 #endif
24 
25 namespace protocols {
26 namespace boinc {
27 
28 const size_t POSE_BUFSIZE = 5000000; // size should depend on the largest pose expected to be used //1000000; //99999;
29 const size_t TEXT_BUFSIZE = 255; //99999;
30 const size_t WU_DESC_TEXT_BUFSIZE = 1024; //99999;
31 
33  double update_time;
34  double fraction_done;
35  double cpu_time;
36 
37 #ifdef BOINC
38  BOINC_STATUS status;
39 #endif
40 
41 // Lets save the info necessary to reproduce rosetta++ graphics
42 // rmsds will be calculated by the graphics app against the native_pose below
43 
44  // current pose
47 
48  // accepted
51 
52  // low energy
55 
56  // native pose
59 
60  // monte carlo total step count
61  unsigned int total_mc_trial_count;
62 
63  // scores
66 
67  unsigned int low_energy_update_cnt;
68 
69  // model nstruct
70  unsigned int model_count;
71  // model low energy
73  // model rmsd
75 
76  // job info
78 
79  // stage info
81 
82  // work unit description
85 
86  // monte carlo mover step count
87  unsigned int mover_mc_trial_count;
88 
89 
90 };
91 
92 
93 } // namespace boinc
94 } // namespace protocols
95 
96 #endif
97