Skip to content

Commit

Permalink
Remove unused functions in geo_surface
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Aug 30, 2024
1 parent 432b0f2 commit a62c54f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
11 changes: 0 additions & 11 deletions lib/geometry/geo_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ void geo_surface_fprintf_irap(const geo_surface_type *surface,
geo_surface_fprintf_irap__(surface, filename, zcoord);
}

void geo_surface_fprintf_irap_external_zcoord(const geo_surface_type *surface,
const char *filename,
const double *zcoord) {
geo_surface_fprintf_irap__(surface, filename, zcoord);
}

geo_surface_type *geo_surface_alloc_new(int nx, int ny, double xinc,
double yinc, double xstart,
double ystart, double angle) {
Expand Down Expand Up @@ -312,11 +306,6 @@ void geo_surface_free(geo_surface_type *surface) {
free(surface);
}

void geo_surface_free__(void *arg) {
geo_surface_type *surface = geo_surface_safe_cast(arg);
geo_surface_free(surface);
}

geo_pointset_type *geo_surface_get_pointset(const geo_surface_type *surface) {
return surface->pointset;
}
Expand Down
4 changes: 0 additions & 4 deletions lib/include/ert/geometry/geo_surface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ bool geo_surface_equal_header(const geo_surface_type *surface1,
bool geo_surface_equal(const geo_surface_type *surface1,
const geo_surface_type *surface2);
void geo_surface_free(geo_surface_type *geo_surface);
void geo_surface_free__(void *arg);
geo_pointset_type *geo_surface_get_pointset(const geo_surface_type *surface);
geo_surface_type *geo_surface_fload_alloc_irap(const char *filename,
bool loadz);
Expand All @@ -27,9 +26,6 @@ double geo_surface_iget_zvalue(const geo_surface_type *surface, int index);
int geo_surface_get_size(const geo_surface_type *surface);
void geo_surface_fprintf_irap(const geo_surface_type *surface,
const char *filename);
void geo_surface_fprintf_irap_external_zcoord(const geo_surface_type *surface,
const char *filename,
const double *zcoord);
int geo_surface_get_nx(const geo_surface_type *surface);
int geo_surface_get_ny(const geo_surface_type *surface);
void geo_surface_iget_xy(const geo_surface_type *surface, int index, double *x,
Expand Down

0 comments on commit a62c54f

Please sign in to comment.