reservoir_conditions_module.f90 Source File


Files dependent on this one

sourcefile~~reservoir_conditions_module.f90~~AfferentGraph sourcefile~reservoir_conditions_module.f90 reservoir_conditions_module.f90 sourcefile~cond_integer_c.f90 cond_integer_c.f90 sourcefile~cond_integer_c.f90->sourcefile~reservoir_conditions_module.f90 sourcefile~cond_real_c.f90 cond_real_c.f90 sourcefile~cond_real_c.f90->sourcefile~reservoir_conditions_module.f90 sourcefile~res_read.f90 res_read.f90 sourcefile~res_read.f90->sourcefile~reservoir_conditions_module.f90 sourcefile~res_read_conds.f90 res_read_conds.f90 sourcefile~res_read_conds.f90->sourcefile~reservoir_conditions_module.f90 sourcefile~res_rel_ctbl.f90 res_rel_ctbl.f90 sourcefile~res_rel_ctbl.f90->sourcefile~reservoir_conditions_module.f90

Source Code

      module reservoir_conditions_module
    
      implicit none
      
      
      !! real :: stor, inflo, pdsi   nbs
      real :: release
      integer :: day
      character(1) :: hit
      
      type cond
        character(10) :: var
        character(2) :: op
        real :: val
      end type cond
      
      type conditions
        integer :: num_conds
        real :: action
        type (cond), dimension(:), allocatable :: scon
      end type conditions
      
      type modules
        integer :: num_conds
        type (conditions), dimension(:), allocatable :: con
      end type modules
     
      type reservoir_condition_tables
        character(25) :: name
        integer :: num_tbl
        integer :: num_conds
        integer :: num_modules
        type (conditions), dimension(:), allocatable :: conds
        type (modules), dimension(:), allocatable :: mods
      end type 
      type (reservoir_condition_tables), dimension(:), allocatable :: ctbl
      
      end module reservoir_conditions_module