HighMap library (C++)
Loading...
Searching...
No Matches
flow_accumulation_stochastic.cpp File Reference

Namespaces

namespace  hmap
 

Functions

Array hmap::flow_accumulation_stochastic (const Array &z, int n_samples=1<< 19, std::uint32_t seed=0, const Array *p_source=nullptr, const Array *p_decay=nullptr)
 Computes flow accumulation using a stochastic (Monte-Carlo) transport estimator.