FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_transfer_data_c2f.f90
Go to the documentation of this file.
1 !-------------------------------------------------------------------------------
2 ! Copyright (c) 2019 FrontISTR Commons
3 ! This software is released under the MIT License, see LICENSE.txt
4 !-------------------------------------------------------------------------------
6 
7 subroutine hecmw_transfer_data_c2f (hecMESHnew, adapRES)
8 
9  use hecmw_util
10  use hecmw_io
12  use hecmw_result
13  type (hecmwST_local_mesh) :: hecMESHnew
14  type (hecmwST_result_data):: adapRES
15  write (*,'(/,a)') '#start transfer from c to fortran'
16 
17  call hecmw_dist_free(hecmeshnew)
18  write (*,'(/,a)') '#ok to deallocate'
19  call hecmw_dlb_c2f_init()
20  write(*,*) 'my_rank=',hecmeshnew%my_rank
21  if(hecmeshnew%my_rank .eq. 0) write (*,'(/,a)') '#ok to initialize'
22  call hecmw_dist_copy_c2f(hecmeshnew, ierr)
23  write (*,'(/,a)') '#ok to copy'
24  print *, hecmeshnew%n_node
25  call hecmw_dlb_c2f_finalize
26  call hecmw_dist_result_copy_c2f(hecmeshnew, adapres)
27 end subroutine hecmw_transfer_data_c2f
28 
hecmw_util
I/O and Utility.
Definition: hecmw_util_f.F90:7
hecmw_dist_result_copy_c2f
subroutine hecmw_dist_result_copy_c2f(hecMESHnew, adapRES)
Dynamic Load Balancing.
Definition: hecmw_dist_result_copy_c2f.f90:8
hecmw_dist_copy_c2f_f::hecmw_dist_copy_c2f
subroutine, public hecmw_dist_copy_c2f(mesh, ierr)
Definition: hecmw_dist_copy_c2f_f.f90:19
hecmw_dist_copy_c2f_f
I/O and Utility.
Definition: hecmw_dist_copy_c2f_f.f90:7
hecmw_transfer_data_c2f
subroutine hecmw_transfer_data_c2f(hecMESHnew, adapRES)
Dynamic Load Balancing.
Definition: hecmw_transfer_data_c2f.f90:8
hecmw_io
I/O and Utility.
Definition: hecmw_io.f90:7
hecmw_result
I/O and Utility.
Definition: hecmw_result_f.f90:7