geotopmodel / geotop

GEOtop is a distributed model of the mass and energy balance of the hydrological cycle, which is applicable to simulations in continuum in small catchments. GEOtop deals with the effects of topography on the interaction between energy balance and hydrological cycle with peculiar solutions.
GNU General Public License v3.0
38 stars 29 forks source link

METEOIO dependence if code is compiled with METEOIO OFF #35

Open cozzini opened 6 years ago

cozzini commented 6 years ago

When we compile with meteoIO off we should not need/compile the meteoio plugin and link against MeteoIO library.

asartori86 commented 6 years ago

Our data-structures GeoMatrix<T> and GeoTensor<T> are directly derived by meteoio data-structure

template <typename T>
class GeoMatrix : public mio::Array2D<T>

template <class T>
class GeoTensor : public mio::Array3D<T>

so unless we rewrite these classes we cannot avoid to compile and link against the meteoio library

cozzini commented 6 years ago

Ok this means we should use these structure everywhere.