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

Contains common functions used by both gravity and magnetic forward models. More...

#include "fwdmodel/gravmag.hpp"
#include <cmath>
#include <boost/multi_array.hpp>
#include "world/voxelise.hpp"
#include <glog/logging.h>
Include dependency graph for gravmag.cpp:

Namespaces

 obsidian
 
 obsidian::fwd
 
 obsidian::fwd::detail
 

Typedefs

typedef boost::multi_array
< double, 3 > 
obsidian::fwd::detail::Array3d
 Data structure to represent a 3D array.
 

Functions

GravmagInterpolatorParams obsidian::fwd::makeInterpParams (const VoxelSpec &voxelisation, const Eigen::MatrixXd &locations, const WorldSpec &worldSpec)
 Create a GravmagInterpolatorParams object. More...
 
Eigen::VectorXd obsidian::fwd::computeField (const Eigen::MatrixXd &sens, const Eigen::MatrixXi sensorIndices, const Eigen::MatrixXd sensorWeights, const Eigen::VectorXd &properties)
 Computes the field values for either gravity or magnetic. More...
 
double obsidian::fwd::detail::computeSensIntegral (int i, int j, int k, const Array3d &eZ)
 Compute the sensitivity integral at a particular point in the mesh. More...
 
Eigen::MatrixXd obsidian::fwd::detail::computeSensitivity (const Eigen::VectorXd &xEdges, const Eigen::VectorXd &yEdges, const Eigen::VectorXd &zEdges, const Eigen::VectorXd &xField, const Eigen::VectorXd &yField, const Eigen::VectorXd &zField, const Eigen::MatrixXd &locations, double(*sensFunc)(double, double, double, double, double, double))
 Computes the sensitivity for either gravity or magnetic. More...
 

Detailed Description

Contains common functions used by both gravity and magnetic forward models.

Author
Darren Shen
Alistair Reid
Date
2014
License:
Affero General Public License version 3 or later