Merge.
This commit is contained in:
commit
0a96ddfcd4
@ -31,3 +31,6 @@ ltmain.sh
|
|||||||
missing
|
missing
|
||||||
m4/libtool.m4
|
m4/libtool.m4
|
||||||
m4/lt*.m4
|
m4/lt*.m4
|
||||||
|
|
||||||
|
# Specific executables
|
||||||
|
grid_io_demo
|
||||||
|
@ -19,6 +19,7 @@ facetopology.c \
|
|||||||
facetopology.h \
|
facetopology.h \
|
||||||
geometry.c \
|
geometry.c \
|
||||||
geometry.h \
|
geometry.h \
|
||||||
|
grid.h \
|
||||||
preprocess.c \
|
preprocess.c \
|
||||||
readvector.cpp \
|
readvector.cpp \
|
||||||
readvector.hpp \
|
readvector.hpp \
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <grid.h>
|
|
||||||
|
|
||||||
#include "geometry.h"
|
#include "geometry.h"
|
||||||
#include "cgridinterface.h"
|
#include "cgridinterface.h"
|
||||||
|
|
||||||
@ -69,9 +67,8 @@ static int
|
|||||||
fill_cell_topology(struct processed_grid *pg,
|
fill_cell_topology(struct processed_grid *pg,
|
||||||
struct CornerpointGrid *G )
|
struct CornerpointGrid *G )
|
||||||
{
|
{
|
||||||
int f, c1, c2;
|
int f, c1, c2, tag;
|
||||||
size_t c, nc, nhf;
|
size_t c, nc, nhf;
|
||||||
enum face_tag tag;
|
|
||||||
|
|
||||||
struct UnstructuredGrid *g;
|
struct UnstructuredGrid *g;
|
||||||
|
|
||||||
@ -137,6 +134,8 @@ fill_cell_topology(struct processed_grid *pg,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return g->cell_facepos != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void preprocess (const struct grdecl *in,
|
void preprocess (const struct grdecl *in,
|
||||||
|
@ -19,8 +19,7 @@
|
|||||||
#ifndef CGRIDINTERFACE_H
|
#ifndef CGRIDINTERFACE_H
|
||||||
#define CGRIDINTERFACE_H
|
#define CGRIDINTERFACE_H
|
||||||
|
|
||||||
#include <grid.h>
|
#include "grid.h"
|
||||||
|
|
||||||
#include "preprocess.h"
|
#include "preprocess.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user