- 14 Apr, 2021 13 commits
-
-
Removed old view factor writing code. Moved view factor writing to Ebalance constructor and added a pure virtual view factor getter in TerrainRadiationAlgorithm
-
-
Moved all the solar panel part to complex, added interface to implement it in other modules. Still some cleaning needed in complex (move some parts to SolarPanel.cc), and a correct implementation for config keys and for output path is still required
-
-
Removed useless omp loop in the constructor, in order to be able to use push back on radfields vector and avoid dummy object contruction
-
-
Now solarAzimuth and solarElevation are passed as argument to terrain_radiation::getRadiation, so there is no need in Complex to store a pointer to radfields, so it is celaner. Note these two values are used only in complex
-
Added new output grids in radiation. ILWR_terrain now just writes ILWR, terrain LW not yet taken into account
-
Julien Esseiva authored
-
Julien Esseiva authored
-
Julien Esseiva authored
-
Julien Esseiva authored
-
Julien Esseiva authored
-
- 17 Apr, 2019 1 commit
-
-
Adrien Michel authored
-
- 21 Dec, 2017 1 commit
-
-
Mathias Bavay authored
Since getArraySliceParams is not in MeteoIO anymore, it is now here in MPIControl. A memory leak has been fixed in SnowpackInterface. The MPI version now runs, but does not compute exactly the same as the OPenMP version (that itself is not exactly the same as the sequential version... :-( ). I will still have things to do after Christmas...
-
- 01 Sep, 2016 1 commit
-
-
Mathias Bavay authored
The parallel version of the radiation fields was not working properly (wrong geolocalization for the domain band). The documentation has also been updated.
-
- 31 Aug, 2016 1 commit
-
-
Mathias Bavay authored
Finally, this is the implementation of issue 340: distributed cloudiness (through atmospheric loss factor and splitting coefficient). This mostly follows the lines of what has been recently implemented in MeteoIO with a few tricks to perform domain decomposition when running in parallel (either MPI or OpenMP). as well as benefit from Snowpack's albedo feedback. In the first tests, when commenting out this albedo feedback and forcing horizontal components, it performs exactly the same as MeteoIO's implementation. Since there is no meteo1d object anymore, Snowdrift had to be modified so it can extract what it needs from a vector of MeteoData. An hopefully better implementation of Snowdrift without slatation is also included.
-
- 16 Aug, 2016 1 commit
-
-
Mathias Bavay authored
Fixed some documentation issues, lowered the thresholds to turn on the katabatic flows correction, swapped the linking order of Snowpack and MeteoIO in order to easily allow to use a system-wide MeteoIO with a locally installed Snowpack
-
- 29 Jul, 2016 1 commit
-
-
Mathias Bavay authored
The latest changes in Snowpack have been reflected in SnowpackInterface. The new way of setting the compiler options has been imported and tweaked from meteoIO. In order to mave closer to the "efficient c++" recommendations, several changes have been made in the rest of the classes (mostly defining a few copy constructors and "=" operators).
-
- 06 Jun, 2016 1 commit
-
-
Mathias Bavay authored
More documentation fixes, improvements to the getSynop script, small bug fix in EnergyBalance (more useful error message to help debug simulations)
-
- 25 Feb, 2016 1 commit
-
-
Mathias Bavay authored
Finally, everything seems to work properly, the documentation has been updated and several bugs fixed. The structure will still have to be improved (too many callback to my taste).
-
- 24 Feb, 2016 1 commit
-
-
Mathias Bavay authored
Paving the way for the restructuring: all modules should now be able to declare which grids they need, provide a timer and be constructed and managed from AlpineMain / AlpineControl. The next goal is to make each module call SnowpackInterface to get its grids and remove the other way around as is currently the case. Some deprecated methods have been removed.
-
- 22 Feb, 2016 1 commit
-
-
Mathias Bavay authored
Trying to address some of the "HACKS", removing dead code, hoping to make the new gridded outputs fully functional and safe. Let's see how ctest will digest it tonight!
-
- 02 Feb, 2016 1 commit
-
-
Mathias Bavay authored
This is a big code cleanup: the "TYPE_DOUBLE2D" has been removed (it was only an alias) and the definitions from Alpine3D.h moved into AlpineMain.h so Alpine3D.h is now a proper include for "library" usage.
-
- 02 Dec, 2015 1 commit
-
-
Mathias Bavay authored
Trying to get non-confusing information for the points of interest outputs: the enforced/measured snow height is now set to undefined. Touch up on the information messages for more consistency.
-
- 05 Nov, 2015 1 commit
-
-
Mathias Bavay authored
The runoff module now has a call back to SnowpackInterface (to be used in an upcoming version).
-
- 02 Nov, 2015 1 commit
-
-
Mathias Bavay authored
This fixes a bug with the MPI version of SimpleTerrainRadiation (uninitialized values summed through all_reduce_sum as well as possibly negative sky view factors and the usage of the diffuse radiation without multiplying it by the sky view factor when using terrain radiation.
-
- 02 Oct, 2015 1 commit
-
-
Mathias Bavay authored
Some unecessary MPI barriers have been removed. A few unused typedef have been removed. The copyright notices have been uniformized and edited when necessary.
-
- 01 Oct, 2015 2 commits
-
-
Mathias Bavay authored
A bug has been found in the MPI version: when reading the meteo data, only the master was able to pre-read the data but it was never broadcasted... thus forcing all workers to re-read the data themselves. The MPI outputs have also been cleaned up in order to reduce the deluge of messages in a parallel simulation. Whenever possible, only the master prints the messages. Multiple copies have been kept when this would help understand what is going on in a parallel simulation.
-
Mathias Bavay authored
The MPI serialize() method was not returning the size of the serialized object which made it impossible to properly allocate the memory after the call. The implementation of the new psum_ph parameter in MeteoObj had been totally butchered and was returning an empty grid at the first time step (thus leading to a crash when trying to distribute this grid to workers). More consistency in the error messages, more try/catch blocks in order to properly report problems in constructors, code cleanup and documentation improvements (things that were either missing or unclear). Turning off the warnings about pragams, since we need to keep openmp pragmas even when not compiling for openmp!
-
- 30 Sep, 2015 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 28 Sep, 2015 1 commit
-
-
Mathias Bavay authored
Warnings cleanup, improvements to the build system (suppress some warnings that will take quite a while to address, etc)
-
- 25 Sep, 2015 2 commits
-
-
Mathias Bavay authored
This is still a commit that BREAKS EVERYTHING, so don't update to this one either! The code now compiles but fails at linking.
-
Mathias Bavay authored
The goal is to make Alpine3D's structure very similar to Snowpack or MeteoIO. Therefore this commits deletes obsolete files and mostly moves files around.
-
- 21 Sep, 2015 1 commit
-
-
Mathias Bavay authored
More documentation, updated the run.sh file for greater clarity and flexibility. An optional key in Ebalance has been made mandatory because it was always forgotten...
-
- 13 Apr, 2015 1 commit
-
-
Mathias Bavay authored
-
- 01 Oct, 2014 1 commit
-
-
Mathias Bavay authored
-
- 29 Sep, 2014 1 commit
-
-
Mathias Bavay authored
The view factor computation was NOT initialized, leading to wrong results. This has been fixed. Another implementation has been written for sky view factors that is much faster. This has been checked against the view factors as computed by SAGA (and/or QGis). The implementation should be identical but the results are not identical. However the SAGA sky view factors seem too high when analyzing the terrain. The original view factors are in any case way too high compared to any other implementation and show very limited spatial variations compared to other implementations.
-