./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
3 / 3
100.0%
Branches:
1 / 1
100.0%
Functions:
1 / 1
100.0%

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
1/1
✓ Branch 2 taken 5 times.
5 SfdJoins{true});
13 }
14
15 } // namespace terraingen
16