Skip to content

Commit

Permalink
Merge pull request #132 from Geode-solutions/fix/headers
Browse files Browse the repository at this point in the history
fix(Headers): change extension convention from .h to .hpp
  • Loading branch information
MelchiorSchuh authored Jul 16, 2024
2 parents 45566a5 + 3e7e6ca commit bd1d440
Show file tree
Hide file tree
Showing 175 changed files with 1,014 additions and 1,014 deletions.
File renamed without changes.
40 changes: 20 additions & 20 deletions bindings/python/src/explicit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@ add_geode_python_binding(
NAME "py_explicit"
SOURCES
"explicit.cpp"
"geometry/crs.h"
"geometry/crs_helper.h"
"mixin/builder/fault_blocks_builder.h"
"mixin/builder/faults_builder.h"
"mixin/builder/horizons_builder.h"
"mixin/builder/stratigraphic_units_builder.h"
"mixin/core/fault.h"
"mixin/core/fault_block.h"
"mixin/core/fault_blocks.h"
"mixin/core/faults.h"
"mixin/core/horizon.h"
"mixin/core/horizons.h"
"mixin/core/stratigraphic_unit.h"
"mixin/core/stratigraphic_units.h"
"representation/builder/cross_section_builder.h"
"representation/builder/structural_model_builder.h"
"representation/core/cross_section.h"
"representation/core/structural_model.h"
"representation/io/cross_section.h"
"representation/io/structural_model.h"
"geometry/crs.hpp"
"geometry/crs_helper.hpp"
"mixin/builder/fault_blocks_builder.hpp"
"mixin/builder/faults_builder.hpp"
"mixin/builder/horizons_builder.hpp"
"mixin/builder/stratigraphic_units_builder.hpp"
"mixin/core/fault.hpp"
"mixin/core/fault_block.hpp"
"mixin/core/fault_blocks.hpp"
"mixin/core/faults.hpp"
"mixin/core/horizon.hpp"
"mixin/core/horizons.hpp"
"mixin/core/stratigraphic_unit.hpp"
"mixin/core/stratigraphic_units.hpp"
"representation/builder/cross_section_builder.hpp"
"representation/builder/structural_model_builder.hpp"
"representation/core/cross_section.hpp"
"representation/core/structural_model.hpp"
"representation/io/cross_section.hpp"
"representation/io/structural_model.hpp"
DEPENDENCIES
${PROJECT_NAME}::explicit
)
42 changes: 21 additions & 21 deletions bindings/python/src/explicit/explicit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,37 @@
*
*/

#include "../common.h"
#include "../common.hpp"

#include <pybind11/iostream.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

#include "geometry/crs.h"
#include "geometry/crs_helper.h"
#include "geometry/crs.hpp"
#include "geometry/crs_helper.hpp"

#include "mixin/builder/fault_blocks_builder.h"
#include "mixin/builder/faults_builder.h"
#include "mixin/builder/horizons_builder.h"
#include "mixin/builder/stratigraphic_units_builder.h"
#include "mixin/builder/fault_blocks_builder.hpp"
#include "mixin/builder/faults_builder.hpp"
#include "mixin/builder/horizons_builder.hpp"
#include "mixin/builder/stratigraphic_units_builder.hpp"

#include "mixin/core/fault.h"
#include "mixin/core/fault_block.h"
#include "mixin/core/fault_blocks.h"
#include "mixin/core/faults.h"
#include "mixin/core/horizon.h"
#include "mixin/core/horizons.h"
#include "mixin/core/stratigraphic_unit.h"
#include "mixin/core/stratigraphic_units.h"
#include "mixin/core/fault.hpp"
#include "mixin/core/fault_block.hpp"
#include "mixin/core/fault_blocks.hpp"
#include "mixin/core/faults.hpp"
#include "mixin/core/horizon.hpp"
#include "mixin/core/horizons.hpp"
#include "mixin/core/stratigraphic_unit.hpp"
#include "mixin/core/stratigraphic_units.hpp"

#include "representation/builder/cross_section_builder.h"
#include "representation/builder/structural_model_builder.h"
#include "representation/builder/cross_section_builder.hpp"
#include "representation/builder/structural_model_builder.hpp"

#include "representation/core/cross_section.h"
#include "representation/core/structural_model.h"
#include "representation/core/cross_section.hpp"
#include "representation/core/structural_model.hpp"

#include "representation/io/cross_section.h"
#include "representation/io/structural_model.h"
#include "representation/io/cross_section.hpp"
#include "representation/io/structural_model.hpp"

PYBIND11_MODULE( opengeode_geosciences_py_explicit, module )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/basic/attribute_manager.h>
#include <geode/basic/attribute_manager.hpp>

#include <geode/geosciences/explicit/geometry/geographic_coordinate_system.h>
#include <geode/geosciences/explicit/geometry/geographic_coordinate_system.hpp>

#define PYTHON_CRS( dimension ) \
const auto info##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@
*
*/

#include <geode/basic/attribute_manager.h>
#include <geode/basic/attribute_manager.hpp>

#include <geode/mesh/builder/coordinate_reference_system_manager_builder.h>
#include <geode/mesh/builder/edged_curve_builder.h>
#include <geode/mesh/builder/point_set_builder.h>
#include <geode/mesh/builder/solid_mesh_builder.h>
#include <geode/mesh/builder/surface_mesh_builder.h>
#include <geode/mesh/core/attribute_coordinate_reference_system.h>
#include <geode/mesh/core/coordinate_reference_system_manager.h>
#include <geode/mesh/core/edged_curve.h>
#include <geode/mesh/core/point_set.h>
#include <geode/mesh/core/solid_mesh.h>
#include <geode/mesh/core/surface_mesh.h>
#include <geode/mesh/builder/coordinate_reference_system_manager_builder.hpp>
#include <geode/mesh/builder/edged_curve_builder.hpp>
#include <geode/mesh/builder/point_set_builder.hpp>
#include <geode/mesh/builder/solid_mesh_builder.hpp>
#include <geode/mesh/builder/surface_mesh_builder.hpp>
#include <geode/mesh/core/attribute_coordinate_reference_system.hpp>
#include <geode/mesh/core/coordinate_reference_system_manager.hpp>
#include <geode/mesh/core/edged_curve.hpp>
#include <geode/mesh/core/point_set.hpp>
#include <geode/mesh/core/solid_mesh.hpp>
#include <geode/mesh/core/surface_mesh.hpp>

#include <geode/geosciences/explicit/geometry/geographic_coordinate_system.h>
#include <geode/geosciences/explicit/geometry/geographic_coordinate_system_helper.h>
#include <geode/geosciences/explicit/geometry/geographic_coordinate_system.hpp>
#include <geode/geosciences/explicit/geometry/geographic_coordinate_system_helper.hpp>

#define PYTHON_MESH_CRS_HELPER( mesh, dimension ) \
const auto assign##mesh##dimension = absl::StrCat( "assign_", #mesh, \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/fault_block.h>
#include <geode/geosciences/explicit/mixin/core/fault_block.hpp>

#include <geode/geosciences/explicit/mixin/builder/fault_blocks_builder.h>
#include <geode/geosciences/explicit/mixin/builder/fault_blocks_builder.hpp>

#define PYTHON_FAULT_BLOCKS_BUILDER( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/fault.h>
#include <geode/geosciences/explicit/mixin/core/fault.hpp>

#include <geode/geosciences/explicit/mixin/builder/faults_builder.h>
#include <geode/geosciences/explicit/mixin/builder/faults_builder.hpp>

#define PYTHON_FAULTS_BUILDER( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/horizon.h>
#include <geode/geosciences/explicit/mixin/core/horizon.hpp>

#include <geode/geosciences/explicit/mixin/builder/horizons_builder.h>
#include <geode/geosciences/explicit/mixin/builder/horizons_builder.hpp>

#define PYTHON_HORIZONS_BUILDER( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/stratigraphic_unit.h>
#include <geode/geosciences/explicit/mixin/core/stratigraphic_unit.hpp>

#include <geode/geosciences/explicit/mixin/builder/stratigraphic_units_builder.h>
#include <geode/geosciences/explicit/mixin/builder/stratigraphic_units_builder.hpp>

#define PYTHON_STRATIGRAPHIC_UNITS_BUILDER( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/fault.h>
#include <geode/geosciences/explicit/mixin/core/fault.hpp>

#define PYTHON_FAULT( dimension ) \
const auto name##dimension = "Fault" + std::to_string( dimension ) + "D"; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/fault_block.h>
#include <geode/geosciences/explicit/mixin/core/fault_block.hpp>

#define PYTHON_FAULT_BLOCK( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/fault_block.h>
#include <geode/geosciences/explicit/mixin/core/fault_blocks.h>
#include <geode/geosciences/explicit/mixin/core/fault_block.hpp>
#include <geode/geosciences/explicit/mixin/core/fault_blocks.hpp>

#define PYTHON_FAULT_BLOCKS( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/fault.h>
#include <geode/geosciences/explicit/mixin/core/faults.h>
#include <geode/geosciences/explicit/mixin/core/fault.hpp>
#include <geode/geosciences/explicit/mixin/core/faults.hpp>

#define PYTHON_FAULTS( dimension ) \
const auto name##dimension = "Faults" + std::to_string( dimension ) + "D"; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/horizon.h>
#include <geode/geosciences/explicit/mixin/core/horizon.hpp>

#define PYTHON_HORIZON( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/horizon.h>
#include <geode/geosciences/explicit/mixin/core/horizons.h>
#include <geode/geosciences/explicit/mixin/core/horizon.hpp>
#include <geode/geosciences/explicit/mixin/core/horizons.hpp>

#define PYTHON_HORIZONS( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/stratigraphic_unit.h>
#include <geode/geosciences/explicit/mixin/core/stratigraphic_unit.hpp>

#define PYTHON_STRATIGRAPHIC_UNIT( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#include <geode/geosciences/explicit/mixin/core/stratigraphic_unit.h>
#include <geode/geosciences/explicit/mixin/core/stratigraphic_units.h>
#include <geode/geosciences/explicit/mixin/core/stratigraphic_unit.hpp>
#include <geode/geosciences/explicit/mixin/core/stratigraphic_units.hpp>

#define PYTHON_STRATIGRAPHIC_UNITS( dimension ) \
const auto name##dimension = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
*
*/

#include <geode/model/mixin/core/corner.h>
#include <geode/model/mixin/core/line.h>
#include <geode/model/mixin/core/surface.h>
#include <geode/model/mixin/core/corner.hpp>
#include <geode/model/mixin/core/line.hpp>
#include <geode/model/mixin/core/surface.hpp>

#include <geode/geosciences/explicit/representation/builder/cross_section_builder.h>
#include <geode/geosciences/explicit/representation/builder/cross_section_builder.hpp>

namespace geode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
*
*/

#include <geode/model/mixin/core/block.h>
#include <geode/model/mixin/core/corner.h>
#include <geode/model/mixin/core/line.h>
#include <geode/model/mixin/core/surface.h>
#include <geode/model/mixin/core/block.hpp>
#include <geode/model/mixin/core/corner.hpp>
#include <geode/model/mixin/core/line.hpp>
#include <geode/model/mixin/core/surface.hpp>

#include <geode/geosciences/explicit/representation/builder/structural_model_builder.h>
#include <geode/geosciences/explicit/representation/builder/structural_model_builder.hpp>

namespace geode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/geometry/bounding_box.h>
#include <geode/geometry/bounding_box.hpp>

#include <geode/geosciences/explicit/representation/core/cross_section.h>
#include <geode/geosciences/explicit/representation/core/cross_section.hpp>

namespace geode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*
*/

#include <geode/geometry/bounding_box.h>
#include <geode/geometry/bounding_box.hpp>

#include <geode/geosciences/explicit/representation/core/structural_model.h>
#include <geode/geosciences/explicit/representation/core/structural_model.hpp>

namespace geode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
*
*/

#include "../../../factory.h"
#include "../../../input.h"
#include "../../../factory.hpp"
#include "../../../input.hpp"

#include <geode/geosciences/explicit/representation/io/cross_section_input.h>
#include <geode/geosciences/explicit/representation/io/cross_section_output.h>
#include <geode/geosciences/explicit/representation/io/cross_section_input.hpp>
#include <geode/geosciences/explicit/representation/io/cross_section_output.hpp>

namespace geode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
*
*/

#include "../../../factory.h"
#include "../../../input.h"
#include "../../../factory.hpp"
#include "../../../input.hpp"

#include <geode/geosciences/explicit/representation/io/structural_model_input.h>
#include <geode/geosciences/explicit/representation/io/structural_model_output.h>
#include <geode/geosciences/explicit/representation/io/structural_model_input.hpp>
#include <geode/geosciences/explicit/representation/io/structural_model_output.hpp>

namespace geode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

#include <geode/basic/factory.h>
#include <geode/basic/factory.hpp>

#define PYTHON_FACTORY_CLASS( type ) \
pybind11::class_< type >( module, #type ) \
Expand Down
Loading

0 comments on commit bd1d440

Please sign in to comment.