#include <stddef.h> #include <stdbool.h>
Include dependency graph for UnstructuredGrid.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed DescriptionMain OPM-Core grid data structure along with helper functions for construction, destruction and reading a grid representation from disk. Function Documentation◆ allocate_grid()
Allocate and initialise an UnstructuredGrid where pointers are set to location with correct size.
Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::allocateGrid(). ◆ attach_zcorn_copy()
Will allocate storage internally in the grid object to hold a copy of the zcorn data supplied in the second argument. ◆ create_grid_empty()
Allocate and initialise an empty UnstructuredGrid. This is the moral equivalent of a C++ default constructor.
◆ destroy_grid()
Destroy and deallocate an UnstructuredGrid and all its data. This function assumes that all arrays of the UnstructuredGrid (if non-null) have been individually allocated by malloc(). They will be deallocated with free(). Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::UnstructuredGridDeleter::operator()(). ◆ grid_equal()
Determine whether or not two grid structures represent the same underlying geometry and topology. The grids are declared equal if all of the following conditions hold:
◆ read_grid()
Import a grid from a character representation stored in file.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||