SPEED
MAKE_NH_Enhanced.f90
Go to the documentation of this file.
1! Copyright (C) 2012 The SPEED FOUNDATION
2! Author: Ilario Mazzieri
3!
4! This file is part of SPEED.
5!
6! SPEED is free software; you can redistribute it and/or modify it
7! under the terms of the GNU Affero General Public License as
8! published by the Free Software Foundation, either version 3 of the
9! License, or (at your option) any later version.
10!
11! SPEED is distributed in the hope that it will be useful, but
12! WITHOUT ANY WARRANTY; without even the implied warranty of
13! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14! Affero General Public License for more details.
15!
16! You should have received a copy of the GNU Affero General Public License
17! along with SPEED. If not, see <http://www.gnu.org/licenses/>.
18
19
24
35
43
50
51
52 subroutine make_nh_enhanced()
53
54 use speed_par
55
56 implicit none
57
58 include 'SPEED.MPI'
59
60 integer*4 :: count
61 integer*4, dimension(:), allocatable :: node_nhe_flag, NN_src_ind_loc
62
63
64 if (mpi_id.eq.0) write(*,'(A)')
65 if (mpi_id.eq.0) write(*,'(A)')'---------------Setup Not-Honoring Enhanced ---------------'
66
67
68 allocate(node_nhe_flag(nnod_loc))
72 count, &
73 node_nhe_flag, mpi_id, mpi_comm, mpi_file)
74
75
76 allocate(nn_src_ind_loc(count))
78 mpi_file, nn_src_ind_loc)
79
80
82 allocate(qs_nhe_el(nelem_loc), qp_nhe_el(nelem_loc)) ! gamma_nhe_el(nelem_loc))
83
86 node_nhe_flag, count, nn_src_ind_loc, qs, qp, &
89
90
91 deallocate(node_nhe_flag, nn_src_ind_loc)
92
93 if (mpi_id.eq.0) write(*,'(A)')'Completed.'
94
95 end subroutine MAKE_NH_Enhanced
subroutine make_nh_enhanced()
...Not-Honoring Enhanced (NHE) Implementation
subroutine make_nh_enhanced_assign_prop(nn_loc, nmat, prop_mat, sdeg_mat, ne_loc, cs_nnz_loc, cs_loc, node_nhe_flag, count, nn_src_ind_loc, qs, qp, lambda_nhe, mu_nhe, rho_nhe, qs_nhe_el, qp_nhe_el, mpi_id, mpi_comm)
...Not-Honoring Enhanced (NHE) Implementation
subroutine make_nh_enhanced_nnsearch(nn_loc, count, mpi_id, mpi_np, mpi_comm, mpi_file, nn_src_ind_loc)
...Not-Honoring Enhanced (NHE) Implementation
subroutine make_nh_enhanced_initialise(nn_loc, nmat_nhe, val_nhe, nmat, tag_mat, ne_loc, cs_nnz_loc, cs_loc, xs_loc, ys_loc, zs_loc, count, node_nhe_flag, mpi_id, mpi_comm, mpi_file)
...Not-Honoring Enhanced (NHE) Implementation
Contains SPEED PARAMETERS used in (SPEED, READ_INPUT_FILES, MAKE_PARTION_AND_MPI_FILES,...
Definition MODULES.f90:207
real *8, dimension(:), allocatable qs
Definition MODULES.f90:437
integer *4 nmat
Definition MODULES.f90:269
real *8, dimension(:,:), allocatable prop_mat
Definition MODULES.f90:463
integer *4 con_nnz_loc
Definition MODULES.f90:269
character *70 mpi_file
Definition MODULES.f90:243
integer *4 nmat_nhe
Definition MODULES.f90:269
real *8, dimension(:), allocatable zz_spx_loc
Definition MODULES.f90:408
real *8, dimension(:), allocatable lambda_nhe
Definition MODULES.f90:446
real *8, dimension(:), allocatable yy_spx_loc
Definition MODULES.f90:408
integer *4, dimension(:), allocatable val_nhe
Definition MODULES.f90:379
real *8, dimension(:), allocatable qp
Definition MODULES.f90:437
integer *4 mpi_comm
Definition MODULES.f90:308
integer *4, dimension(:), allocatable sdeg_mat
Definition MODULES.f90:335
integer *4 nelem_loc
Definition MODULES.f90:269
integer *4, dimension(:), allocatable con_spx_loc
Definition MODULES.f90:322
integer *4, dimension(:), allocatable tag_mat
Definition MODULES.f90:335
integer *4 mpi_np
Definition MODULES.f90:308
real *4, dimension(:), allocatable qs_nhe_el
Definition MODULES.f90:447
integer *4 mpi_id
Definition MODULES.f90:308
integer *4 nnod_loc
Definition MODULES.f90:269
real *8, dimension(:), allocatable xx_spx_loc
Definition MODULES.f90:408
real *4, dimension(:), allocatable qp_nhe_el
Definition MODULES.f90:447
real *8, dimension(:), allocatable mu_nhe
Definition MODULES.f90:446
real *8, dimension(:), allocatable rho_nhe
Definition MODULES.f90:446