Evaluate ghost points.
When an instance of face_immersed_boundary is given, the ghost points of each immersed_boundary instance (corresponding to each component) are evaluated. When an instance of immersed_boundary is given, a ghost point is determined for each ghost cell, using distance argument.
- Note
- The
distance argument must provide a value for every ghost node (i,j,k) and each of the six (four in 2D) Cartesian neighbor of theses ghost nodes. This value should be as accurate as possible.
- Parameters
-
| ib_metrics | instance of immersed_boundary or face_immersed_boundary. |
| distance | distance function to the immersed boundary. |