Skip to content

corrrect pool name in init_atm_thompson_aerosols_lbc #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core_init_atmosphere/mpas_init_atm_cases.F
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ subroutine init_atm_setup_case(domain, stream_manager)
diag, lbc_state, block_ptr % dimensions, block_ptr % configs)

call mpas_get_time(start_time, dateTimeString=timeStart)
call init_atm_thompson_aerosols_lbc(timeString, timeStart, block_ptr, mesh, diag, state, lbc_state)
call init_atm_thompson_aerosols_lbc(timeString, timeStart, block_ptr, mesh, diag, lbc_state)

block_ptr => block_ptr % next
end do
Expand Down
7 changes: 3 additions & 4 deletions src/core_init_atmosphere/mpas_init_atm_thompson_aerosols.F
Original file line number Diff line number Diff line change
Expand Up @@ -719,13 +719,12 @@ subroutine init_hinterp_gocart(block,mesh)
end subroutine init_hinterp_gocart

!=================================================================================================================
subroutine init_atm_thompson_aerosols_lbc(timestamp,timestart,block,mesh,diag,state,lbc_state)
subroutine init_atm_thompson_aerosols_lbc(timestamp,timestart,block,mesh,diag,lbc_state)
!=================================================================================================================

!input arguments:
character(len=StrKIND),intent(in):: timestart,timestamp
type(mpas_pool_type),intent(in):: diag
type(mpas_pool_type),intent(in):: state

!inout arguments:
type(block_type),intent(inout),target:: block
Expand Down Expand Up @@ -771,8 +770,8 @@ subroutine init_atm_thompson_aerosols_lbc(timestamp,timestart,block,mesh,diag,st
call mpas_pool_get_dimension(mesh,'nVertLevels' ,nVertLevels )
call mpas_pool_get_dimension(mesh,'nMonths' ,nMonths )

call mpas_pool_get_dimension(state,'index_nifa',index_nifa)
call mpas_pool_get_dimension(state,'index_nwfa',index_nwfa)
call mpas_pool_get_dimension(lbc_state,'index_lbc_nifa',index_nifa)
call mpas_pool_get_dimension(lbc_state,'index_lbc_nwfa',index_nwfa)

call mpas_pool_get_array(diag,'pressure_base',pressure)

Expand Down