class for the 3-D fast marching algorithm More...
|FMM3D (const Grid &g, Vect< real_t > *phi, bool HA)|
|void||InitHeap (Heap &NarrowPt)|
|Initialize heap. More...|
|Execute Fast Marching Procedure. |
|void||Evaluate (IPoint &pt, int sign)|
|Compute the distance from node to interface. More...|
|void||ExtendSpeed (Vect< real_t > &F)|
|Extend the speed function to the whole grid. More...|
|Check error by comparing with the gradient norm. More...|
class for the 3-D fast marching algorithm
This class manages the 3-D Fast Marching Method
Constructor & Destructor Documentation
[in] g Instance of class Grid [in] phi Vector containing the level set function at grid nodes. The values are
0on 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.
[in] HA true if the program must be executed with high accuracy, false otherwise
Member Function Documentation
|void InitHeap||(||Heap &||NarrowPt||)|
|void Evaluate||(||IPoint &||pt,|
Compute the distance from node to interface.
[in] pt node to treat [in] sign the node's sign
- distance from node
Extend the speed function to the whole grid.
[in,out] F Vector containing the speed at interface nodes on input and extended speed at whole grid nodes
Check error by comparing with the gradient norm.
This function prints discrete L2 and Max. errors