Interface of common functions shared by forward models. More...
Namespaces | |
obsidian | |
obsidian::fwd | |
obsidian::fwd::detail | |
Functions | |
template<ForwardModel f> | |
Types< f >::Cache | obsidian::fwd::generateCache (const std::vector< world::InterpolatorSpec > &boundaryInterpolation, const WorldSpec &worldSpec, const typename Types< f >::Spec &spec) |
Generate a cache object for a specific forward model. Cache objects contain repeatly used information that only needs to be computed once by the forward model. More... | |
template<ForwardModel f> | |
Types< f >::Results | obsidian::fwd::forwardModel (const typename Types< f >::Spec &spec, const typename Types< f >::Cache &cache, const WorldParams &world) |
Run a particular forward model. More... | |
Variables | |
constexpr std::complex< double > | obsidian::fwd::detail::I = std::complex<double>(0, 1) |
Constant representing the imaginary number i. | |
Interface of common functions shared by forward models.