FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_couple_get_mesh_f.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 
8 
9  use hecmw_util
10  use hecmw_io
13 
14  implicit none
15  private
16  public :: hecmw_couple_get_mesh
17 
18 contains
19 
20 subroutine hecmw_couple_get_mesh(name_ID, unit_ID, mesh)
21 
22  character(len=HECMW_NAME_LEN), intent(in) :: name_id
23  character(len=HECMW_NAME_LEN), intent(in) :: unit_id
24  type(hecmwst_local_mesh), intent(out) :: mesh
25 
26  call hecmw_get_mesh(name_id, mesh)
27 
28  mesh%PETOT = hecmw_intracomm_get_size_u(unit_id)
29  mesh%my_rank = hecmw_intracomm_get_rank_u(unit_id)
30  mesh%MPI_COMM = hecmw_intracomm_get_comm_u(unit_id)
31 
32 end subroutine hecmw_couple_get_mesh
33 
34 end module hecmw_couple_get_mesh_f
hecmw_couple_get_mesh_f
Coupling Interface.
Definition: hecmw_couple_get_mesh_f.f90:7
hecmw_couple_info_f::hecmw_intracomm_get_rank_u
integer(kind=kint) function, public hecmw_intracomm_get_rank_u(unit_id)
Definition: hecmw_couple_info_f.f90:190
hecmw_couple_info_f::hecmw_intracomm_get_size_u
integer(kind=kint) function, public hecmw_intracomm_get_size_u(unit_id)
Definition: hecmw_couple_info_f.f90:153
hecmw_couple_info_f
Coupling Interface.
Definition: hecmw_couple_info_f.f90:7
hecmw_util
I/O and Utility.
Definition: hecmw_util_f.F90:7
hecmw_util::hecmwst_local_mesh
Definition: hecmw_util_f.F90:234
hecmw_couple_info_f::hecmw_intracomm_get_comm_u
integer(kind=kint) function, public hecmw_intracomm_get_comm_u(unit_id)
Definition: hecmw_couple_info_f.f90:227
hecmw_io::hecmw_get_mesh
subroutine, public hecmw_get_mesh(name_ID, mesh)
Definition: hecmw_io.f90:27
hecmw_couple_get_mesh_f::hecmw_couple_get_mesh
subroutine, public hecmw_couple_get_mesh(name_ID, unit_ID, mesh)
Definition: hecmw_couple_get_mesh_f.f90:21
hecmw_couple_struct_f
Coupling Interface.
Definition: hecmw_couple_struct_f.f90:7
hecmw_io
I/O and Utility.
Definition: hecmw_io.f90:7