diff --git a/lib/include/resdata/nnc_info.hpp b/lib/include/resdata/nnc_info.hpp index af8ff1624..608b02db0 100644 --- a/lib/include/resdata/nnc_info.hpp +++ b/lib/include/resdata/nnc_info.hpp @@ -13,8 +13,6 @@ typedef struct nnc_info_struct nnc_info_type; const std::vector & nnc_info_get_grid_index_list(const nnc_info_type *nnc_info, int lgr_nr); const std::vector & -nnc_info_iget_grid_index_list(const nnc_info_type *nnc_info, int lgr_index); -const std::vector & nnc_info_get_self_grid_index_list(const nnc_info_type *nnc_info); #endif @@ -39,8 +37,6 @@ nnc_vector_type *nnc_info_get_self_vector(const nnc_info_type *nnc_info); int nnc_info_get_lgr_nr(const nnc_info_type *nnc_info); int nnc_info_get_size(const nnc_info_type *nnc_info); int nnc_info_get_total_size(const nnc_info_type *nnc_info); -void nnc_info_fprintf(const nnc_info_type *nnc_info, FILE *stream); - bool nnc_info_equal(const nnc_info_type *nnc_info1, const nnc_info_type *nnc_info2); nnc_info_type *nnc_info_alloc_copy(const nnc_info_type *src_info); diff --git a/lib/resdata/nnc_info.cpp b/lib/resdata/nnc_info.cpp index 574b1342e..51c6c5a93 100644 --- a/lib/resdata/nnc_info.cpp +++ b/lib/resdata/nnc_info.cpp @@ -208,24 +208,3 @@ int nnc_info_get_total_size(const nnc_info_type *nnc_info) { } return num_nnc; } - -void nnc_info_fprintf(const nnc_info_type *nnc_info, FILE *stream) { - fprintf(stream, "LGR_NR:%d \n", nnc_info->lgr_nr); - { - int lgr_nr; - for (lgr_nr = 0; lgr_nr < int_vector_size(nnc_info->lgr_index_map); - lgr_nr++) { - int lgr_index = int_vector_iget(nnc_info->lgr_index_map, lgr_nr); - if (lgr_index >= 0) { - printf(" %02d -> %02d => ", lgr_nr, lgr_index); - { - const std::vector &index_list = - nnc_info_iget_grid_index_list(nnc_info, lgr_index); - vector_util_fprintf(index_list, stream, " ", "%d"); - printf("\n"); - } - } - } - } - fprintf(stream, "\n"); -}