42 using namespace asagi;
47 int main(
int argc,
char** argv)
49 MPI_Init(&argc, &argv);
52 grid->setComm(MPI_COMM_WORLD);
57 std::cout <<
"Could not load file" << std::endl;
61 double pos[] = {0, 0};
62 std::cout <<
"Value at (0,0): " << grid->getFloat(pos) << std::endl;
Include file for C and C++ API.
static asagi::Grid * create(Type type=FLOAT)
int main(int argc, char **argv)