4 use virtualdatamanagermodule
15 class(virtualdatamanagertype),
pointer :: virtual_data_mgr
36 allocate (run_controller)
43 allocate (this%virtual_data_mgr)
79 call this%init_handler()
81 call this%after_con_cr()
83 call this%before_con_df()
85 call this%after_con_df()
88 call this%virtual_data_mgr%synchronize(stage)
89 call this%mapper%scatter(0, stage)
98 call this%virtual_data_mgr%init()
99 call this%mapper%init()
108 call this%virtual_data_mgr%activate_halo()
123 class(*),
pointer :: obj_ptr
131 select type (obj_ptr)
134 call this%virtual_data_mgr%add_solution(sol)
136 sol%synchronize_ctx => this
142 call this%mapper%add_exchange_vars()
152 call this%virtual_data_mgr%compress_halo()
155 call this%mapper%add_interface_vars()
164 integer(I4B) :: stage
165 class(*),
pointer :: ctx
169 call ctx%virtual_data_mgr%synchronize_sln(num_sol%id, stage)
170 call ctx%mapper%scatter(num_sol%id, stage)
178 call this%virtual_data_mgr%destroy()
179 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.
type(profilertype), public g_prof
the global timer object (to reduce trivial lines of code)
subroutine start(this, title, section_id)
Start section timing, add when not exist yet (i.e. when id < 1)
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.