16 #ifndef INCLUDED_protocols_ligand_docking_grid_functions_hh
17 #define INCLUDED_protocols_ligand_docking_grid_functions_hh
29 #include <utility/vector1.hh>
32 namespace ligand_docking {
78 int const min_score = 0
150 int nx(0), ny(0), nz(0);
152 for(
int i = 0, i_end = nx; i < i_end; i += stride) {
153 for(
int j = 0, j_end = ny; j < j_end; j += stride) {
154 for(
int k = 0, k_end = nz; k < k_end; k += stride) {
155 GridPt grid_pt(i, j, k);
158 if( min_val <= value && value <= max_val ) {
159 out <<
'{' << i <<
' ' << j <<
' ' << k <<
"}U "
160 << box_ctr.x() <<
' ' << box_ctr.y() <<
' ' << box_ctr.z() <<
'\n';
171 #endif // INCLUDED_protocols_ligand_docking_grid_functions_HH