Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
a0b5ec9658
@ -118,7 +118,7 @@ create_grid_cart2d(int nx, int ny)
|
||||
/* --------------------------------------------------------------------- */
|
||||
|
||||
struct UnstructuredGrid *
|
||||
create_grid_tensor2d(int nx, int ny, double x[], double y[])
|
||||
create_grid_tensor2d(int nx, int ny, const double *x, const double *y)
|
||||
{
|
||||
struct UnstructuredGrid *G;
|
||||
|
||||
@ -136,9 +136,13 @@ create_grid_tensor2d(int nx, int ny, double x[], double y[])
|
||||
/* --------------------------------------------------------------------- */
|
||||
|
||||
struct UnstructuredGrid *
|
||||
create_grid_tensor3d(int nx, int ny , int nz ,
|
||||
double x[], double y[], double z[],
|
||||
const double depthz[])
|
||||
create_grid_tensor3d(int nx ,
|
||||
int ny ,
|
||||
int nz ,
|
||||
const double *x ,
|
||||
const double *y ,
|
||||
const double *z ,
|
||||
const double *depthz)
|
||||
{
|
||||
struct UnstructuredGrid *G;
|
||||
|
||||
|
@ -94,7 +94,7 @@ create_grid_cart3d(int nx, int ny, int nz);
|
||||
* Must be destroyed using function destroy_grid().
|
||||
*/
|
||||
struct UnstructuredGrid *
|
||||
create_grid_hexa3d(int nx, int ny, int nz,
|
||||
create_grid_hexa3d(int nx, int ny, int nz,
|
||||
double dx, double dy, double dz);
|
||||
|
||||
|
||||
@ -122,8 +122,8 @@ create_grid_hexa3d(int nx, int ny, int nz,
|
||||
* Must be destroyed using function destroy_grid().
|
||||
*/
|
||||
struct UnstructuredGrid *
|
||||
create_grid_tensor2d(int nx, int ny,
|
||||
double x[], double y[]);
|
||||
create_grid_tensor2d(int nx, int ny,
|
||||
const double *x , const double *y );
|
||||
|
||||
|
||||
/**
|
||||
@ -157,9 +157,13 @@ create_grid_tensor2d(int nx, int ny,
|
||||
* Must be destroyed using function destroy_grid().
|
||||
*/
|
||||
struct UnstructuredGrid *
|
||||
create_grid_tensor3d(int nx, int ny, int nz,
|
||||
double x[], double y[], double z[],
|
||||
const double depthz[]);
|
||||
create_grid_tensor3d(int nx ,
|
||||
int ny ,
|
||||
int nz ,
|
||||
const double *x ,
|
||||
const double *y ,
|
||||
const double *z ,
|
||||
const double *depthz);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -872,7 +872,7 @@ void process_grdecl(const struct grdecl *in,
|
||||
|
||||
/* -----------------------------------------------------------------*/
|
||||
/* (re)allocate space for and compute coordinates of nodes that
|
||||
* arise from intesecting cells (faults) */
|
||||
* arise from intersecting cells (faults) */
|
||||
compute_intersection_coordinates(intersections, out);
|
||||
|
||||
free (intersections);
|
||||
|
Loading…
Reference in New Issue
Block a user