diff --git a/lib/geometry/geo_surface.cpp b/lib/geometry/geo_surface.cpp index d46900c25..7fdeff165 100644 --- a/lib/geometry/geo_surface.cpp +++ b/lib/geometry/geo_surface.cpp @@ -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) { @@ -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; } diff --git a/lib/include/ert/geometry/geo_surface.hpp b/lib/include/ert/geometry/geo_surface.hpp index 86380ce73..af5d211b4 100644 --- a/lib/include/ert/geometry/geo_surface.hpp +++ b/lib/include/ert/geometry/geo_surface.hpp @@ -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); @@ -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,