MODFLOW 6
version 6.7.0.dev2
USGS Modular Hydrologic Model
Main Page
Modules
Data Types List
Files
File List
File Members
InterpolationSchemeInterface.f90
Go to the documentation of this file.
1
module
interpolationschemeinterfacemodule
2
use
kindmodule
,
only
: dp, i4b
3
4
implicit none
5
private
6
7
public
::
interpolationschemeinterface
8
public
::
coefficientstype
9
10
type
::
coefficientstype
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
19
end type
interpolationschemeinterface
20
21
abstract
interface
22
23
function
compute_if
(this, n, m, iposnm, phi)
result
(phi_face)
24
! -- import
25
import
dp, i4b
26
import
interpolationschemeinterface
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
40
end module
interpolationschemeinterfacemodule
interpolationschemeinterfacemodule::compute_if
Definition:
InterpolationSchemeInterface.f90:23
interpolationschemeinterfacemodule
Definition:
InterpolationSchemeInterface.f90:1
kindmodule
This module defines variable data types.
Definition:
kind.f90:8
interpolationschemeinterfacemodule::coefficientstype
Definition:
InterpolationSchemeInterface.f90:10
interpolationschemeinterfacemodule::interpolationschemeinterface
Definition:
InterpolationSchemeInterface.f90:16
src
Model
TransportModel
InterpolationScheme
InterpolationSchemeInterface.f90
Generated on Thu Aug 28 2025 23:49:27 for MODFLOW 6 by
1.9.1