4 use virtualdatamanagermodule
15 class(virtualdatamanagertype),
pointer :: virtual_data_mgr
36 allocate (run_controller)
43 allocate (this%virtual_data_mgr)
81 call this%init_handler()
83 call this%after_con_cr()
85 call this%before_con_df()
87 call this%after_con_df()
90 call this%virtual_data_mgr%synchronize(stage)
91 call this%mapper%scatter(0, stage)
100 call this%virtual_data_mgr%init()
101 call this%mapper%init()
110 call this%virtual_data_mgr%activate_halo()
125 class(*),
pointer :: obj_ptr
133 select type (obj_ptr)
136 call this%virtual_data_mgr%add_solution(sol)
138 sol%synchronize_ctx => this
144 call this%mapper%add_exchange_vars()
154 call this%virtual_data_mgr%compress_halo()
157 call this%mapper%add_interface_vars()
166 integer(I4B) :: stage
167 class(*),
pointer :: ctx
171 call ctx%virtual_data_mgr%synchronize_sln(num_sol%id, stage)
172 call ctx%mapper%scatter(num_sol%id, stage)
180 call this%virtual_data_mgr%destroy()
181 deallocate (this%virtual_data_mgr)
This module defines variable data types.
type(listtype), public basesolutionlist
Previous variable names checked in as deprecated aliases.
subroutine, public mem_alias_da()
Clear the recorded aliases.
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.