MODFLOW 6  version 6.7.0.dev2
USGS Modular Hydrologic Model
InterpolationSchemeInterface.f90
Go to the documentation of this file.
2  use kindmodule, only: dp, i4b
3 
4  implicit none
5  private
6 
8  public :: coefficientstype
9 
11  real(dp) :: c_n = 0.0_dp
12  real(dp) :: c_m = 0.0_dp
13  real(dp) :: rhs = 0.0_dp
14  end type coefficientstype
15 
16  type, abstract :: interpolationschemeinterface
17  contains
18  procedure(compute_if), deferred :: compute
20 
21  abstract interface
22 
23  function compute_if(this, n, m, iposnm, phi) result(phi_face)
24  ! -- import
25  import dp, i4b
27  import coefficientstype
28  ! -- return
29  type(coefficientstype) :: phi_face
30  ! -- dummy
31  class(interpolationschemeinterface), target :: this
32  integer(I4B), intent(in) :: n
33  integer(I4B), intent(in) :: m
34  integer(I4B), intent(in) :: iposnm
35  real(dp), intent(in), dimension(:) :: phi
36  end function
37 
38  end interface
39 
This module defines variable data types.
Definition: kind.f90:8