![]() |
SPEED
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | write_file_dgfs (nm, sd, tag_mat, cs_nnz_loc, cs_loc, nn_loc, local_n_num, ne_loc, local_el_num, xs, ys, zs, nel_dg_loc, nel_dg_glo, mpi_id, mpi_comm, mpi_np, alfa11, alfa12, alfa13, alfa21, alfa22, alfa23, alfa31, alfa32, alfa33, beta11, beta12, beta13, beta21, beta22, beta23, beta31, beta32, beta33, gamma1, gamma2, gamma3, delta1, delta2, delta3, faces, area_nodes, dg_els, scratch_dg_els, filename, mpi_file) |
Writes file DGFS.input, containing infos for computing integrals on DG interfaces. | |
subroutine write_file_dgfs | ( | integer*4 | nm, |
integer*4, dimension(nm) | sd, | ||
integer*4, dimension(nm) | tag_mat, | ||
integer*4 | cs_nnz_loc, | ||
integer*4, dimension(0:cs_nnz_loc) | cs_loc, | ||
integer*4 | nn_loc, | ||
integer*4, dimension(nn_loc) | local_n_num, | ||
integer*4 | ne_loc, | ||
integer*4, dimension(ne_loc) | local_el_num, | ||
real*8, dimension(nn_loc) | xs, | ||
real*8, dimension(nn_loc) | ys, | ||
real*8, dimension(nn_loc) | zs, | ||
integer*4 | nel_dg_loc, | ||
integer*4 | nel_dg_glo, | ||
integer*4 | mpi_id, | ||
integer*4 | mpi_comm, | ||
integer*4 | mpi_np, | ||
real*8, dimension(ne_loc) | alfa11, | ||
real*8, dimension(ne_loc) | alfa12, | ||
real*8, dimension(ne_loc) | alfa13, | ||
real*8, dimension(ne_loc) | alfa21, | ||
real*8, dimension(ne_loc) | alfa22, | ||
real*8, dimension(ne_loc) | alfa23, | ||
real*8, dimension(ne_loc) | alfa31, | ||
real*8, dimension(ne_loc) | alfa32, | ||
real*8, dimension(ne_loc) | alfa33, | ||
real*8, dimension(ne_loc) | beta11, | ||
real*8, dimension(ne_loc) | beta12, | ||
real*8, dimension(ne_loc) | beta13, | ||
real*8, dimension(ne_loc) | beta21, | ||
real*8, dimension(ne_loc) | beta22, | ||
real*8, dimension(ne_loc) | beta23, | ||
real*8, dimension(ne_loc) | beta31, | ||
real*8, dimension(ne_loc) | beta32, | ||
real*8, dimension(ne_loc) | beta33, | ||
real*8, dimension(ne_loc) | gamma1, | ||
real*8, dimension(ne_loc) | gamma2, | ||
real*8, dimension(ne_loc) | gamma3, | ||
real*8, dimension(ne_loc) | delta1, | ||
real*8, dimension(ne_loc) | delta2, | ||
real*8, dimension(ne_loc) | delta3, | ||
integer*4, dimension(3,nel_dg_glo) | faces, | ||
real*8, dimension(25,nel_dg_glo) | area_nodes, | ||
type(element), dimension(nel_dg_loc), intent(inout) | dg_els, | ||
type(scratch_element), dimension(nel_dg_loc), intent(inout) | scratch_dg_els, | ||
character*70 | filename, | ||
character*70 | mpi_file | ||
) |
Writes file DGFS.input, containing infos for computing integrals on DG interfaces.
[in] | nm | number of materials |
[in] | sd | polynomial degree vector |
[in] | tag_mat | label for materials |
[in] | cs_nnz_loc | length of cs_loc |
[in] | cs_loc | local spectral connectivity |
[in] | nn_loc | number of local nodes |
[in] | local_n_num | local node numeration |
[in] | number | of local elements |
[in] | local_el_num | local element numeration |
[in] | xs | x-coordinate of GLL nodes |
[in] | ys | y-coordinate of GLL nodes |
[in] | zs | z-coordinate of GLL nodes |
[in] | nel_dg_loc | number of local DG elements |
[in] | nel_dg_glo | number of global DG elements |
[in] | i4count | vector containing info for DG interface (1 in the i-th position if the i-th node lies on a DG interface) |
[in] | mpi_id | mpi processor identity |
[in] | mpi_comm | mpi communicator |
[in] | mpi_np | mpi processor number |
[in] | alfa11 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa12 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa13 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa21 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa22 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa23 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa31 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa32 | bilinear mapping from (-1,1)^3 to the current el |
[in] | alfa33 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta11 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta12 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta13 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta21 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta22 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta23 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta31 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta32 | bilinear mapping from (-1,1)^3 to the current el |
[in] | beta33 | bilinear mapping from (-1,1)^3 to the current el |
[in] | gamma1 | bilinear mapping from (-1,1)^3 to the current el |
[in] | gamma2 | bilinear mapping from (-1,1)^3 to the current el |
[in] | gamma3 | bilinear mapping from (-1,1)^3 to the current el |
[in] | delta1 | bilinear mapping from (-1,1)^3 to the current el |
[in] | delta2 | bilinear mapping from (-1,1)^3 to the current el |
[in] | delta3 | bilinear mapping from (-1,1)^3 to the current el |
[in] | faces | data structure containing info about DG faces (material, element, face) |
[in] | area_nodes | data structure containing info about DG faces (area, constants for the bilinear mapping) |
[in] | dg_els | data structure for dg interface elements --> see module.f90 |
[in] | scratch_dg_els | temporary data structure for dg interface elements --> see module.f90! |
[in] | mpi_file | directory where reading *.mpi files |
[out] | filename | (DGFS.input) file containing info for DG interface integrals |
Definition at line 75 of file WRITE_FILE_DGFS.f90.
References check_normal(), make_bilinear_map(), newton_rapson(), and max_var::nofinr.