A solver for the anisotropic eikonal equation:
where M(x) is a symmetric positive definite matrix. More...
#include <AnisotropicEikonal.hpp>
Public Member Functions | |
AnisotropicEikonal2d (const UnstructuredGrid &grid) | |
Construct solver. More... | |
void | solve (const double *metric, const std::vector< int > &startcells, std::vector< double > &solution) |
Solve the eikonal equation. More... | |
A solver for the anisotropic eikonal equation:
where M(x) is a symmetric positive definite matrix.
The boundary conditions are assumed to be
.
|
explicit |
Construct solver.
[in] | grid | A 2d grid. |
void Opm::AnisotropicEikonal2d::solve | ( | const double * | metric, |
const std::vector< int > & | startcells, | ||
std::vector< double > & | solution | ||
) |
Solve the eikonal equation.
[in] | metric | Array of metric tensors, M, for each cell. |
[in] | startcells | Array of cells where u = 0 at the centroid. |
[out] | solution | Array of solution to the eikonal equation. |