4 use virtualdatamanagermodule
14 class(virtualdatamanagertype),
pointer :: virtual_data_mgr
34 allocate (run_controller)
41 allocate (this%virtual_data_mgr)
70 call this%init_handler()
72 call this%after_con_cr()
74 call this%before_con_df()
76 call this%after_con_df()
79 call this%virtual_data_mgr%synchronize(stage)
80 call this%mapper%scatter(0, stage)
89 call this%virtual_data_mgr%init()
90 call this%mapper%init()
99 call this%virtual_data_mgr%activate_halo()
114 class(*),
pointer :: obj_ptr
122 select type (obj_ptr)
125 call this%virtual_data_mgr%add_solution(sol)
127 sol%synchronize_ctx => this
133 call this%mapper%add_exchange_vars()
143 call this%virtual_data_mgr%compress_halo()
146 call this%mapper%add_interface_vars()
155 integer(I4B) :: stage
156 class(*),
pointer :: ctx
160 call ctx%virtual_data_mgr%synchronize_sln(num_sol%id, stage)
161 call ctx%mapper%scatter(num_sol%id, stage)
169 call this%virtual_data_mgr%destroy()
170 deallocate (this%virtual_data_mgr)
This module defines variable data types.
type(listtype), public basesolutionlist
subroutine, public mem_write_usage(iout)
Write memory manager memory usage based on the user-specified memory_print_option.
subroutine, public mem_da()
Deallocate memory in the memory manager.
subroutine rc_solution_sync(num_sol, stage, ctx)
Synchronizes from within numerical solution (delegate)
subroutine before_con_df(this)
Actions before defining the connections.
class(runcontroltype) function, pointer, public create_seq_run_control()
subroutine ctrl_at_stage(this, stage)
This will call the handler for a particular stage.
subroutine init_handler(this)
subroutine after_con_df(this)
Actions after defining connections.
subroutine ctrl_after_con_cr(this)
Actions after connections have been created.
subroutine ctrl_finish(this)
subroutine ctrl_start(this)
This module contains simulation methods.
subroutine, public final_message()
Create final message.
integer(i4b), parameter, public stg_aft_con_df
after connection define
integer(i4b), parameter, public stg_bfr_mdl_df
before model define
integer(i4b), parameter, public stg_aft_con_cr
after connection create
integer(i4b), parameter, public stg_bfr_con_df
before connection define
This module contains simulation variables.
character(len=linelength) simulation_mode
integer(i4b) iout
file unit number for simulation output
subroutine, public elapsed_time(iout, iprtim)
Get end time and calculate elapsed time.