FastMarching2D Class Reference
[Solver]
#include <FastMarching2D.h>
Detailed Description
To run a Fast Marching Method on 2-D structured uniform grids.This class enables running a Fast Marching procedure to calculate the signed distance function and extend a given front speed.
Public Member Functions | |
| void | Check () |
| Check distance function. | |
| void | execute () |
| Execute Fast Marching Procedure. | |
| FastMarching2D (const Grid &g, Vect< double > &ls, Vect< double > &F) | |
| Constructor using grid, level set function and velocity to extend. | |
| FastMarching2D (const Grid &g, Vect< double > &ls) | |
| Constructor using grid and level set function. | |
| FastMarching2D () | |
| Default constructor. | |
| ~FastMarching2D () | |
| Destructor. | |
Constructor & Destructor Documentation
| FastMarching2D | ( | const Grid & | g, | |
| Vect< double > & | ls | |||
| ) |
Constructor using grid and level set function.
- Parameters:
-
[in] g Instance of class Grid [in] ls Vector containing the level set function at grid nodes. The values are 0 on the interface (from which the distance is computed), positive on one side and negative on the other side. They must contain the signed distance on the nodes surrounding the interface but can take any value on other nodes, provided they have the right sign.
| FastMarching2D | ( | const Grid & | g, | |
| Vect< double > & | ls, | |||
| Vect< double > & | F | |||
| ) |
Constructor using grid, level set function and velocity to extend.
- Parameters:
-
[in] g Instance of class Grid [in] ls Vector containing the level set function at grid nodes. The values are 0 on the interface (from which the distance is computed), positive on one side and negative on the other side. They must contain the signed distance on the nodes surrounding the interface but can take any value on other nodes, provided their sign is right. [in] F Vector containing the front speed at grid nodes. Only values on nodes surrounding the interface are relevant.
Member Function Documentation
| void execute | ( | ) |
Execute Fast Marching Procedure.
Once this function was called, the vector ls used in the constructor will contain the signed distance function and F will contain the extended speed.