Opm::AnisotropicEikonal2d Class Reference

#include <AnisotropicEikonal.hpp>

Public Member Functions

 AnisotropicEikonal2d (const UnstructuredGrid &grid)
 
void solve (const double *metric, const std::vector< int > &startcells, std::vector< double > &solution)
 

Detailed Description

A solver for the anisotropic eikonal equation:

\[ || \nabla u^T M^{-1}(x) \nabla u || = 1 \qquad x \in \Omega \]

where M(x) is a symmetric positive definite matrix. The boundary conditions are assumed to be

\[ u(x) = 0 \qquad x \in \partial\Omega \]

.

Constructor & Destructor Documentation

Opm::AnisotropicEikonal2d::AnisotropicEikonal2d ( const UnstructuredGrid grid)
explicit

Construct solver.

Parameters
[in]gridA 2d grid.

Member Function Documentation

void Opm::AnisotropicEikonal2d::solve ( const double *  metric,
const std::vector< int > &  startcells,
std::vector< double > &  solution 
)

Solve the eikonal equation.

Parameters
[in]metricArray of metric tensors, M, for each cell.
[in]startcellsArray of cells where u = 0 at the centroid.
[out]solutionArray of solution to the eikonal equation.

The documentation for this class was generated from the following file: