FastMarching2D Class Reference
To run a Fast Marching Method on 2D structured uniform grids. More...
Public Member Functions  
FastMarching2D ()  
Default constructor.  
FastMarching2D (const Grid &g, Vect< real_t > &ls)  
Constructor using grid and level set function. More...  
FastMarching2D (const Grid &g, Vect< real_t > &ls, Vect< real_t > &F)  
Constructor using grid, level set function and velocity to extend. More...  
~FastMarching2D ()  
Destructor.  
void  execute () 
Execute Fast Marching Procedure. More...  
void  Check () 
Check distance function.  
Detailed Description
To run a Fast Marching Method on 2D structured uniform grids.
This class enables running a Fast Marching procedure to calculate the signed distance function and extend a given front speed.
Constructor & Destructor Documentation
FastMarching2D  (  const Grid &  g, 
Vect< real_t > &  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.
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.