Reorganize src dir/files

This commit is contained in:
shahramn 2024-12-12 15:49:23 +00:00
parent b51bb53f2b
commit 9dc994bedb
64 changed files with 44 additions and 44 deletions

View File

@ -11,8 +11,8 @@
include_directories(
"${CMAKE_CURRENT_SOURCE_DIR}/accessor"
"${CMAKE_CURRENT_SOURCE_DIR}/geo_iterator"
"${CMAKE_CURRENT_SOURCE_DIR}/geo_nearest"
"${CMAKE_CURRENT_SOURCE_DIR}/geo/iterator"
"${CMAKE_CURRENT_SOURCE_DIR}/geo/nearest"
)
list( APPEND eccodes_src_files
@ -262,7 +262,7 @@ list( APPEND eccodes_src_files
accessor/grib_accessor_class_sexagesimal2decimal.cc
accessor/grib_accessor_class_vector.cc
accessor/grib_accessor_class_long_vector.cc
grib_gaussian_reduced.cc
geo/grib_gaussian_reduced.cc
accessor/grib_accessor_class_abstract_vector.cc
accessor/grib_accessor_class_abstract_long_vector.cc
grib_loader_from_handle.cc
@ -293,7 +293,7 @@ list( APPEND eccodes_src_files
grib_date.cc
grib_fieldset.cc
grib_filepool.cc
grib_geography.cc
geo/grib_geography.cc
grib_handle.cc
grib_hash_keys.cc
grib_io.cc
@ -331,32 +331,32 @@ list( APPEND eccodes_src_files
expression/grib_expression_class_string.cc
expression/grib_expression_class_sub_string.cc
geo_nearest/grib_nearest.cc
geo_nearest/grib_nearest_class_gen.cc
geo_nearest/grib_nearest_class_healpix.cc
geo_nearest/grib_nearest_class_lambert_azimuthal_equal_area.cc
geo_nearest/grib_nearest_class_lambert_conformal.cc
geo_nearest/grib_nearest_class_latlon_reduced.cc
geo_nearest/grib_nearest_class_mercator.cc
geo_nearest/grib_nearest_class_polar_stereographic.cc
geo_nearest/grib_nearest_class_reduced.cc
geo_nearest/grib_nearest_class_regular.cc
geo_nearest/grib_nearest_class_space_view.cc
geo/nearest/grib_nearest.cc
geo/nearest/grib_nearest_class_gen.cc
geo/nearest/grib_nearest_class_healpix.cc
geo/nearest/grib_nearest_class_lambert_azimuthal_equal_area.cc
geo/nearest/grib_nearest_class_lambert_conformal.cc
geo/nearest/grib_nearest_class_latlon_reduced.cc
geo/nearest/grib_nearest_class_mercator.cc
geo/nearest/grib_nearest_class_polar_stereographic.cc
geo/nearest/grib_nearest_class_reduced.cc
geo/nearest/grib_nearest_class_regular.cc
geo/nearest/grib_nearest_class_space_view.cc
geo_iterator/grib_iterator.cc
geo_iterator/grib_iterator_class_gaussian.cc
geo_iterator/grib_iterator_class_gaussian_reduced.cc
geo_iterator/grib_iterator_class_gen.cc
geo_iterator/grib_iterator_class_healpix.cc
geo_iterator/grib_iterator_class_lambert_azimuthal_equal_area.cc
geo_iterator/grib_iterator_class_lambert_conformal.cc
geo_iterator/grib_iterator_class_latlon.cc
geo_iterator/grib_iterator_class_latlon_reduced.cc
geo_iterator/grib_iterator_class_mercator.cc
geo_iterator/grib_iterator_class_polar_stereographic.cc
geo_iterator/grib_iterator_class_regular.cc
geo_iterator/grib_iterator_class_space_view.cc
geo_iterator/grib_iterator_class_unstructured.cc
geo/iterator/grib_iterator.cc
geo/iterator/grib_iterator_class_gaussian.cc
geo/iterator/grib_iterator_class_gaussian_reduced.cc
geo/iterator/grib_iterator_class_gen.cc
geo/iterator/grib_iterator_class_healpix.cc
geo/iterator/grib_iterator_class_lambert_azimuthal_equal_area.cc
geo/iterator/grib_iterator_class_lambert_conformal.cc
geo/iterator/grib_iterator_class_latlon.cc
geo/iterator/grib_iterator_class_latlon_reduced.cc
geo/iterator/grib_iterator_class_mercator.cc
geo/iterator/grib_iterator_class_polar_stereographic.cc
geo/iterator/grib_iterator_class_regular.cc
geo/iterator/grib_iterator_class_space_view.cc
geo/iterator/grib_iterator_class_unstructured.cc
codes_util.cc
grib_util.cc
@ -419,10 +419,10 @@ endif()
if( eccodes_HAVE_GEOGRAPHY AND eccodes_HAVE_ECKIT_GEO )
list( APPEND eccodes_src_files
eccodes/geo/GeoIterator.cc
eccodes/geo/GeoIterator.h
eccodes/geo/GribSpec.cc
eccodes/geo/GribSpec.h )
geo/GeoIterator.cc
geo/GeoIterator.h
geo/GribSpec.cc
geo/GribSpec.h )
list( APPEND ECCODES_EXTRA_LIBRARIES eckit_geo )
endif()

View File

@ -11,7 +11,7 @@
#pragma once
#include "grib_accessor_class_gen.h"
#include "geo_iterator/grib_iterator.h"
#include "geo/iterator/grib_iterator.h"
class grib_accessor_iterator_t : public grib_accessor_gen_t
{

View File

@ -11,7 +11,7 @@
#pragma once
#include "grib_accessor_class_gen.h"
#include "geo_nearest/grib_nearest.h"
#include "geo/nearest/grib_nearest.h"
class grib_accessor_nearest_t : public grib_accessor_gen_t
{

View File

@ -9,11 +9,11 @@
*/
#include "eccodes/geo/GeoIterator.h"
#include "geo/GeoIterator.h"
#include "eckit/exception/Exceptions.h"
#include "eccodes/geo/GribSpec.h"
#include "geo/GribSpec.h"
namespace eccodes::geo

View File

@ -20,7 +20,7 @@
#undef Assert
#endif
#include "geo_iterator/grib_iterator.h"
#include "geo/iterator/grib_iterator.h"
namespace eccodes::geo

View File

@ -10,7 +10,7 @@
*/
#include "eccodes/geo/GribSpec.h"
#include "geo/GribSpec.h"
#include <algorithm>
#include <cstring>

View File

@ -17,7 +17,7 @@
#if defined(HAVE_ECKIT_GEO)
#include "eckit/runtime/Main.h"
#include "eccodes/geo/GeoIterator.h"
#include "geo/GeoIterator.h"
// eccodes macros conflict with eckit
#ifdef Assert

View File

@ -1234,8 +1234,8 @@ typedef struct j2k_encode_helper
}
#include "accessor/grib_accessor.h"
#include "accessor/grib_accessors_list.h"
#include "geo_iterator/grib_iterator.h"
#include "geo_nearest/grib_nearest.h"
#include "geo/iterator/grib_iterator.h"
#include "geo/nearest/grib_nearest.h"
#include "expression/grib_expression.h"
#include "expression/grib_arguments.h"
#endif

View File

@ -11,7 +11,7 @@
#pragma once
#include "grib_api_internal.h"
#include "geo_iterator/grib_iterator.h"
#include "geo/iterator/grib_iterator.h"
extern eccodes::geo_iterator::Iterator* grib_iterator_gaussian;
extern eccodes::geo_iterator::Iterator* grib_iterator_gaussian_reduced;

View File

@ -11,7 +11,7 @@
#pragma once
#include "grib_api_internal.h"
#include "geo_nearest/grib_nearest.h"
#include "geo/nearest/grib_nearest.h"
extern eccodes::geo_nearest::Nearest* grib_nearest_healpix;
extern eccodes::geo_nearest::Nearest* grib_nearest_lambert_azimuthal_equal_area;