Skip to content

Commit

Permalink
Reorganize src dir/files
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Dec 12, 2024
1 parent b51bb53 commit 9dc994b
Show file tree
Hide file tree
Showing 64 changed files with 44 additions and 44 deletions.
66 changes: 33 additions & 33 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion src/accessor/grib_accessor_class_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/accessor/grib_accessor_class_nearest.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/eccodes/geo/GeoIterator.cc → src/geo/GeoIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/eccodes/geo/GeoIterator.h → src/geo/GeoIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#undef Assert
#endif

#include "geo_iterator/grib_iterator.h"
#include "geo/iterator/grib_iterator.h"


namespace eccodes::geo
Expand Down
2 changes: 1 addition & 1 deletion src/eccodes/geo/GribSpec.cc → src/geo/GribSpec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/


#include "eccodes/geo/GribSpec.h"
#include "geo/GribSpec.h"

#include <algorithm>
#include <cstring>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/grib_api_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/grib_iterator_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/grib_nearest_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9dc994b

Please sign in to comment.