MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
gwfbuyinputdatamodule Module Reference

Data Types

type  gwfbuyinputdatatype
 Data structure to transfer input configuration to the. More...
 

Functions/Subroutines

subroutine construct (this, nrhospecies)
 Allocate the input data. More...
 
subroutine destruct (this)
 clean up More...
 

Function/Subroutine Documentation

◆ construct()

subroutine gwfbuyinputdatamodule::construct ( class(gwfbuyinputdatatype this,
integer(i4b)  nrhospecies 
)
Parameters
thisthe input data block
nrhospeciesthe number of species

Definition at line 33 of file GwfBuyInputData.f90.

34  class(GwfBuyInputDataType) :: this !< the input data block
35  integer(I4B) :: nrhospecies !< the number of species
36 
37  allocate (this%drhodc(nrhospecies))
38  allocate (this%crhoref(nrhospecies))
39  allocate (this%cmodelname(nrhospecies))
40  allocate (this%cauxspeciesname(nrhospecies))
41 

◆ destruct()

subroutine gwfbuyinputdatamodule::destruct ( class(gwfbuyinputdatatype this)
private
Parameters
thisthe input data block

Definition at line 46 of file GwfBuyInputData.f90.

47  class(GwfBuyInputDataType) :: this !< the input data block
48 
49  deallocate (this%drhodc)
50  deallocate (this%crhoref)
51  deallocate (this%cmodelname)
52  deallocate (this%cauxspeciesname)
53