Show some of the basics of using a grid from C++.Copyright 2007-2014 IMP Inventors. All rights reserved.
#include <algorithm>
int main(int, char * []) {
double> Grid;
Grid grid(1, bb, 0);
IMP_FOREACH(Grid::Index i, grid.get_all_indexes()) {
}
std::cout << "Smooth" << std::endl;
for (double x = .5; x < 4; x += .1) {
std::cout << vo << " ";
}
std::cout << std::endl;
std::cout << "Chunky" << std::endl;
for (double x = .5; x < 4; x += .1) {
std::cout << vo << " ";
}
std::cout << std::endl;
return EXIT_SUCCESS;
}