cosmoscout / cosmoscout-vr

:milky_way: A virtual universe which lets you explore, analyze and present huge planetary datasets and large simulation data in real-time.
Other
347 stars 27 forks source link

New Atmospheres #368

Closed Schneegans closed 5 months ago

Schneegans commented 5 months ago

This pull request generalizes the implementation of the Bruneton model by loading phase functions, extinction coefficients, and particle density distributions from CSV files. This allows us to simulate arbitrary particle types. In particular, we can now use Mie Theory to pre-compute the scattering behaviour of a wide variety of particle types, including for instance Martian dust.

In addition, the source code of the model has received some refactoring making it more inline with the rest of CosmoScout's source code.

Also, a lot of documentation has been added.

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 7707851252


Changes Missing Coverage Covered Lines Changed/Added Lines %
plugins/csp-atmospheres/src/Atmosphere.hpp 0 1 0.0%
plugins/csp-atmospheres/src/models/bruneton/Model.hpp 0 1 0.0%
plugins/csp-atmospheres/src/Plugin.cpp 0 7 0.0%
plugins/csp-atmospheres/src/Atmosphere.cpp 0 69 0.0%
plugins/csp-atmospheres/src/models/bruneton/internal/csv.cpp 0 80 0.0%
plugins/csp-atmospheres/src/models/bruneton/Model.cpp 0 102 0.0%
plugins/csp-atmospheres/src/models/bruneton/internal/Implementation.cpp 0 429 0.0%
<!-- Total: 0 689 0.0% -->
Files with Coverage Reduction New Missed Lines %
plugins/csp-atmospheres/src/models/bruneton/Model.hpp 1 0.0%
plugins/csp-atmospheres/src/models/bruneton/Model.cpp 2 0.0%
plugins/csp-atmospheres/src/Plugin.cpp 2 0.0%
plugins/csp-atmospheres/src/Atmosphere.cpp 3 0.0%
<!-- Total: 8 -->
Totals Coverage Status
Change from base Build 7274803696: -0.02%
Covered Lines: 193
Relevant Lines: 16825

💛 - Coveralls