Opm::VAG Struct Reference

#include <vag.hpp>

Public Attributes

int number_of_vertices
 
int number_of_volumes
 
int number_of_faces
 
int number_of_edges
 
std::vector< double > vertices
 
PosStruct volumes_to_faces
 
PosStruct volumes_to_vertices
 
PosStruct faces_to_edges
 
PosStruct faces_to_vertices
 
std::vector< int > edges
 
std::vector< int > faces_to_volumes
 
std::vector< double > material
 

Detailed Description

Structure to represent the unstructured vag grid format. The format is only for 3D grids.

Member Data Documentation

std::vector<int> Opm::VAG::edges

The edge i is given by the nodes edges[2*i:2*i+1]

PosStruct Opm::VAG::faces_to_edges

Mapping from faces to edges

PosStruct Opm::VAG::faces_to_vertices

Mapping from faces to vertices

std::vector<int> Opm::VAG::faces_to_volumes

The two neigbours of the face i is faces_to_volumes[2*i:2*i+1]

std::vector<double> Opm::VAG::material

A vector containing information of each volume. The size is n*number_of_volumes. For each i this is the information: material[n*i] is the volume number and should be transformed to integer material[n*i+1] is a tag and should be transformed to integer material[n*i+2:n*(i+1)-1] represent propertices.

int Opm::VAG::number_of_edges
int Opm::VAG::number_of_faces
int Opm::VAG::number_of_vertices
int Opm::VAG::number_of_volumes
std::vector<double> Opm::VAG::vertices

Vertices. The coordinates of vertice i is [vetices[3*i:3*i+2]

PosStruct Opm::VAG::volumes_to_faces

Mapping from volumes to faces

PosStruct Opm::VAG::volumes_to_vertices

Mapping from volumes to vertices


The documentation for this struct was generated from the following file: