A simple cartesian grid

This tutorial explains how to construct a simple Cartesian grid, and we will take a look at some output facilities.

Program walk-through.

All headers from opm-core are found in the opm/core/ directory. Some important headers are at the root, other headers are found in subdirectories.

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>
#include <opm/core/io/vtk/writeVtkData.hpp>
#include <iostream>
#include <fstream>
#include <vector>