src/distribution/viper.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | |||
| 3 | #include "terraingen/distribution/viper.h" | ||
| 4 | |||
| 5 | #include <limits> | ||
| 6 | |||
| 7 | namespace terraingen { | ||
| 8 | |||
| 9 | 5 | PiecewisePowerLawSfd ViperSpecification() { | |
| 10 | 5 | return PiecewisePowerLawSfd({{0.0, 29174.0 / 1e6, 1.92}, {80.0, 156228.0 / 1e6, 2.389}}, | |
| 11 | SfdKind::Density, std::numeric_limits<double>::infinity(), | ||
| 12 | 5 | SfdJoins{true}); | |
| 13 | } | ||
| 14 | |||
| 15 | } // namespace terraingen | ||
| 16 |