@@ -1119,12 +1119,12 @@ def write_phys_read_subroutine(outfile, host_dict, host_vars, host_imports,
1119
1119
outfile .write ("end if" , 5 )
1120
1120
outfile .write ("field_data_ptr(:,:,constituent_idx) = constituent_default_value" , 5 )
1121
1121
outfile .write ("if (masterproc) then" , 5 )
1122
- outfile .write ("write(iulog,*) 'Constituent ', trim(ccpp_required_data(req_idx) ), ' initialized to default value: ', constituent_default_value" , 6 )
1122
+ outfile .write ("write(iulog,*) 'Constituent ', trim(std_name ), ' initialized to default value: ', constituent_default_value" , 6 )
1123
1123
outfile .write ("end if" , 5 )
1124
1124
outfile .write ("else" , 4 )
1125
1125
outfile .write ("field_data_ptr(:,:,constituent_idx) = 0._kind_phys" , 5 )
1126
1126
outfile .write ("if (masterproc) then" , 5 )
1127
- outfile .write ("write(iulog,*) 'Constituent ', trim(ccpp_required_data(req_idx) ), ' default value not configured. Setting to 0.'" , 6 )
1127
+ outfile .write ("write(iulog,*) 'Constituent ', trim(std_name ), ' default value not configured. Setting to 0.'" , 6 )
1128
1128
outfile .write ("end if" , 5 )
1129
1129
outfile .write ("end if" , 4 )
1130
1130
outfile .write ("end if" , 3 )
0 commit comments