Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Aug 22, 2024
1 parent 35649f0 commit dee7e0f
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_4D
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_4D
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_bvd
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_bvd
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_cnst
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 3
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -51,6 +51,7 @@ module phys_vars_init_check_cnst
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_ddt
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_ddt
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_ddt2
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_ddt2
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_ddt_array
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_ddt_array
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_host_var
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 1
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -49,6 +49,7 @@ module phys_vars_init_check_host_var
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_mf
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_mf
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_no_horiz
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_no_horiz
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_noreq
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 0
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 0
Expand All @@ -48,6 +48,7 @@ module phys_vars_init_check_noreq
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_param
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 3
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 26
Expand All @@ -51,6 +51,7 @@ module phys_vars_init_check_param
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_protect
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_protect
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_scalar
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_scalar
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module phys_vars_init_check_simple
integer, public, parameter :: READ_FROM_FILE = 3
! Total number of physics-related variables:
integer, public, parameter :: phys_var_num = 2
integer, public, parameter :: phys_const_num = 15
integer, public, parameter :: phys_const_num = 16

!Max length of physics-related variable standard names:
integer, public, parameter :: std_name_len = 25
Expand All @@ -50,6 +50,7 @@ module phys_vars_init_check_simple
character(len=36), public, protected :: phys_const_stdnames(phys_const_num) = (/ &
"ccpp_constituent_minimum_values ", &
"ccpp_constituent_properties ", &
"ccpp_constituent_tendencies ", &
"ccpp_constituents ", &
"ccpp_error_code ", &
"ccpp_error_message ", &
Expand Down

0 comments on commit dee7e0f

Please sign in to comment.