Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
fwd.hpp File Reference

Interface of common functions shared by forward models. More...

Include dependency graph for fwd.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Interface of common functions shared by forward models.

Author
Nahid Akbar
Date
2014
License:
Affero General Public License version 3 or later