MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
igradient::igradienttype Type Referenceabstract

Abstract interface for cell-based gradient computation. More...

Inheritance diagram for igradient::igradienttype:
Inheritance graph
Collaboration diagram for igradient::igradienttype:
Collaboration graph

Public Member Functions

procedure(get_if), deferred get (this, n)
procedure(set_field_if), deferred set_field (this, phi)

Detailed Description

This module defines the abstract type IGradientType, which provides a deferred interface for computing the gradient of a scalar field at a given cell. Any concrete gradient implementation must extend this type and implement the get method.

Definition at line 15 of file IGradient.f90.

Member Function/Subroutine Documentation

◆ get()

procedure(get_if), deferred igradient::igradienttype::get ( class(igradienttype), target this,
integer(i4b), intent(in) n )
pure virtual

Definition at line 17 of file IGradient.f90.

◆ set_field()

procedure(set_field_if), deferred igradient::igradienttype::set_field ( class(igradienttype), target this,
real(dp), dimension(:), intent(in), pointer phi )
pure virtual

Definition at line 18 of file IGradient.f90.


The documentation for this type was generated from the following file:
  • /home/runner/work/modflow6/modflow6/src/Model/TransportModel/Gradient/IGradient.f90