6 #include <boost/bind.hpp>
19 return (0.77 + 0.554 * svel);
27 return cos(2.0 * phi *M_PI /180.0);
41 const double maxtrace = *std::max_element(Trace.begin(), Trace.end());
42 assert(std::abs(maxtrace) > 0.0 );
43 const double maxamp = 1. / maxtrace;
44 std::transform(Trace.begin(), Trace.end(), Trace.begin(), boost::bind(
45 std::multiplies<double>(), _1, maxamp));
double operator()(const double svel)
Calculate density from a given S-velocity, the formula is taken from Owen et al. JGR 89...
double operator()(const double Temp2)
double operator()(const double phi)