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

Data Types

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

Functions/Subroutines

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

Function/Subroutine Documentation

◆ construct()

subroutine gwfvscinputdatamodule::construct ( class(gwfvscinputdatatype this,
integer(i4b)  nviscspecies 
)
Parameters
thisthe input data block
nviscspeciesthe number of species

Definition at line 32 of file GwfVscInputData.f90.

33  class(GwfVscInputDataType) :: this !< the input data block
34  integer(I4B) :: nviscspecies !< the number of species
35 
36  allocate (this%ivisc(nviscspecies))
37  allocate (this%dviscdc(nviscspecies))
38  allocate (this%cviscref(nviscspecies))
39  allocate (this%cmodelname(nviscspecies))
40  allocate (this%cauxspeciesname(nviscspecies))
41 

◆ destruct()

subroutine gwfvscinputdatamodule::destruct ( class(gwfvscinputdatatype this)
private
Parameters
thisthe input data block

Definition at line 46 of file GwfVscInputData.f90.

47  class(GwfVscInputDataType) :: this !< the input data block
48 
49  deallocate (this%ivisc)
50  deallocate (this%dviscdc)
51  deallocate (this%cviscref)
52  deallocate (this%cmodelname)
53  deallocate (this%cauxspeciesname)
54