equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
109 stars 56 forks source link

Move the C/C++ library to a more canonical project structure #1128

Closed mferrera closed 6 months ago

mferrera commented 6 months ago

This should help organize the code as well as make it clearer what is now C++ with pybind11 and what remains to be converted, where in general C files will retain a flat structure. Subject to change depending on how difficult cmake makes this.

src/
  lib/
    include/
      xtgeo/
        <header files>
    src/
      cube/
      grid3d/
        <C++ files in directories>
      x.c
      y.c
      ...
  xtgeo/