Next: 3.5 Level Set Data
Up: 3.4 Acceleration Techniques
Previous: 3.4.1 The Narrow Band
3.4.2 The Sparse Field Method
A further development of the narrow band method is the sparse field method [135], which further reduces the computational effort by considering just a single layer of active grid points for time integration.
The method classifies all grid points
depending on their LS value as follows
|
(3.26) |
The sparse field LS method assumes that from any two neighboring grid points with different signed LS values at least one belongs to
|
(3.27) |
Here
denotes the set of the closest neighbor grid points of
. In an infinite regular grid each grid point has
such neighbors, if
is the number of dimensions. The signum function is assumed to be two-valued;
can be either 1 or
. For numerical float data types the sign bit can be used to evaluate the sign. (3.27) is equivalent to the statement that the grid points with positive and negative signed LS values are separated by those belonging to
.
A further requirement of the sparse field LS method is that the layers
fulfill
|
(3.28) |
where
denotes the Manhattan norm. Once the grid points fulfill (3.26) to (3.28) the sparse field LS method can be applied. The method itself maintains these properties over time. A proper technique to initialize the LS values appropriately is described later in Section 4.1.1.
The idea of the sparse field method is now to consider only active grid points, namely those belonging to the most inner layer
, for time integration. However, the previously introduced numerical schemes also need the LS values of neighbor grid points, thus those of neighboring layers. For example, if second order derivatives are needed the LS values of grid points in layers
and
are required. After each time step, the LS values of non-active grid points must also be updated. Furthermore, the sets of grid points belonging to the individual layers may change and must be redetermined. The different sets of grid points
are originally represented as a list of pointers to the corresponding memory representations. The basic procedure of the sparse field method is presented in the following steps:
- Update the LS values of all active grid points
in time using an appropriate finite difference scheme as described in the previous sections.
- If there are any two neighboring grid points
for which
and
the absolute LS values of both points are reduced to
and
, respectively.
- In the order
the LS values of all grid points in the
-th layer
are updated using
|
(3.29) |
- Finally, the layers
for the next time step are determined using (3.26). Alternatively, due to the nature of the update scheme the determination of the layers using (3.28) is equivalent.
As previously mentioned, depending on the finite difference approximations used in the numerical update scheme a certain neighborhood around the active layer
is required. For example, if second order space schemes are used the availability of the LS values of all grid points in the layers
is sufficient. Consequently, the update rule (3.29) can be limited to grid points which are contained by these layers in the next time step.
Item 2 does not exist in the original description of the sparse field method [135]. It has been proposed in [A18] to improve the robustness of the algorithm. If arbitrary velocity fields are allowed, cases may occur which contradict the assumption (3.27). As depicted in Figure 3.1 the update of the opposite signed LS values of two neighboring active grid points can lead to a pair of neighboring grid points, none of which belongs to
.
Figure 3.1:
A problematic case which may occur and which needs special consideration. For the update of the neighboring pair of active grid points (black) with LS values
opposite signed surface velocities (arrows) are used. This leads to a neighboring pair of non-active grid points with opposite signed LS values.
|
Another problem which may occur was already mentioned in the original paper [135]. The update scheme potentially leads to dense sets of active grid points, which do not have an opposite signed neighbor grid point. Figure 3.2 shows two examples, where so-called inefficient sets of active grid points are produced. They often appear in regions, where the surface converges, and do not necessarily need to be close to the surface afterwards, as illustrated by the second example. Hence, these points do not contribute to the description of the surface, and updating them is not necessary. The consideration of these non-relevant grid points makes the expansion of the surface velocity field more complicated and computationally more intensive. Even worse, dense sets of such points could be produced, essentially increasing the memory consumption and the calculation time during time integration. To avoid the accumulation of such active grid points a pruning procedure was proposed to keep
an efficient set of active grid points, so that each active grid point has an opposite signed neighbor point:
|
(3.30) |
The pruning procedure removes active grid points from
, which do not fulfill this criterion and finally updates all layers
and the corresponding LS values using (3.28) and (3.29), respectively. In Section 4.3 a robust algorithmic realization of the sparse field method including the pruning procedure will be presented.
Figure 3.2:
Two examples, where the sparse field method produces inefficient
sets of active (black) grid points. The surface
moves with a uniform positive surface velocity (arrows). After a time step some active grid points (squares) do not have a neighbor with opposite signed LS value.
|
For the sparse field method the CFL condition (3.15) can be written as
|
(3.31) |
which ensures that the surface advances at most one grid spacing per time step. For each step the time increment
is chosen in such a way that
|
(3.32) |
is fulfilled, where
again denotes the predefined CFL number. A good choice for this positive constant is a value smaller than or equal to 0.5, which guarantees that only grid points of the active layer
change the sign of their LS value within a time step. This follows from the fact that the absolute LS values of grid points
are, according to (3.26), larger than 0.5 while the maximum change of the LS value is limited by
, as stated in (3.32). The time step can be directly calculated by inserting (3.5) in (3.32)
|
(3.33) |
The sparse field method saves more computation time than the narrow band method for several reasons. First, only a minimal set of active grid points is involved in the time integration procedure. Furthermore, the time consuming surface velocity extension can be avoided. This extension is necessary for topography simulations, since the velocities are only defined on the surface and the LS method requires a velocity field [7]. Finally, the sparse field method does not require regular re-initializations, unlike the narrow band method [3]. The sparse field method was first applied in the field of topography simulation in [94].
Next: 3.5 Level Set Data
Up: 3.4 Acceleration Techniques
Previous: 3.4.1 The Narrow Band
Otmar Ertl: Numerical Methods for Topography Simulation