![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Total Variation Diminishing (TVD) interpolation scheme. More...


Public Member Functions | |
| procedure | compute (this, n, m, iposnm) |
| procedure | set_field (this, phi) |
| Set the scalar field for which interpolation will be computed. | |
| final | destructor (this) |
| type(utvdschemetype) function | constructor (dis, fmi, gradient) |
| procedure(compute_if), deferred | compute (this, n, m, iposnm) |
| procedure(set_field_if), deferred | set_field (this, phi) |
Public Attributes | |
| type(tspfmitype), pointer | fmi |
| class(igradienttype), pointer | gradient |
| real(dp), dimension(:), pointer | phi |
| type(localcellextrematype), allocatable | min_max_phi |
| integer(i4b) | limiter_id = 2 |
| real(dp), dimension(:, :), allocatable | cached_node_distance |
Private Member Functions | |
| procedure, private | limiter (this, r) |
| procedure, private | compute_node_distance (this) |
Private Attributes | |
| class(disbasetype), pointer | dis |
This class implements a high-resolution, TVD interpolation scheme for use in transport modeling. It extends a generic interpolation scheme interface and supports multiple TVD limiters (van Leer, Koren, Superbee, van Albada, etc.) for controlling numerical diffusion and oscillations. The default limiter is van Leer, but others can be selected by changing the limiter_id member.
The scheme uses a combination of low-order upwind and high-order limited terms to compute face concentrations. The high-order term is constructed using a gradient-based virtual node value, following the approach described by Darwish et al. An additional TVD clamp is applied to the virtual node value to enforce TVD compliance, especially on grids where the original method may not guarantee monotonicity.
Definition at line 37 of file UTVDScheme.f90.
|
final |
|
pure virtualinherited |
Definition at line 18 of file InterpolationSchemeInterface.f90.
| procedure utvdschememodule::utvdschemetype::compute | ( | class(utvdschemetype), target | this, |
| integer(i4b), intent(in) | n, | ||
| integer(i4b), intent(in) | m, | ||
| integer(i4b), intent(in) | iposnm ) |
Definition at line 48 of file UTVDScheme.f90.
|
private |
| type(utvdschemetype) function utvdschememodule::utvdschemetype::constructor | ( | class(disbasetype), intent(in), pointer | dis, |
| type(tspfmitype), intent(in), pointer | fmi, | ||
| class(igradienttype), intent(in), allocatable, target | gradient ) |
Definition at line 62 of file UTVDScheme.f90.

|
private |
Definition at line 52 of file UTVDScheme.f90.
|
pure virtualinherited |
Definition at line 19 of file InterpolationSchemeInterface.f90.
| procedure utvdschememodule::utvdschemetype::set_field | ( | class(utvdschemetype), target | this, |
| real(dp), dimension(:), intent(in), pointer | phi ) |
This method establishes a pointer to the scalar field data and updates any dependent cached data (gradients and local extrema) to ensure subsequent interpolation computations use the current field values.
Definition at line 49 of file UTVDScheme.f90.
| real(dp), dimension(:, :), allocatable utvdschememodule::utvdschemetype::cached_node_distance |
Definition at line 46 of file UTVDScheme.f90.
|
private |
Definition at line 39 of file UTVDScheme.f90.
| type(tspfmitype), pointer utvdschememodule::utvdschemetype::fmi |
Definition at line 40 of file UTVDScheme.f90.
| class(igradienttype), pointer utvdschememodule::utvdschemetype::gradient |
Definition at line 41 of file UTVDScheme.f90.
| integer(i4b) utvdschememodule::utvdschemetype::limiter_id = 2 |
Definition at line 45 of file UTVDScheme.f90.
| type(localcellextrematype), allocatable utvdschememodule::utvdschemetype::min_max_phi |
Definition at line 44 of file UTVDScheme.f90.
| real(dp), dimension(:), pointer utvdschememodule::utvdschemetype::phi |
Definition at line 43 of file UTVDScheme.f90.