I/O routines for debugging purpose. More...
Namespaces | |
module | variables_debugging_io |
Variables to enable debugging I/O. | |
Classes | |
interface | mod_debug_io::write_array_to_file |
Generic interface to print double or integer array to a .txt file. More... | |
Functions | |
subroutine | mod_debug_io::write_double_array_to_file (array, name) |
Print a double array to a .txt file. | |
subroutine | mod_debug_io::write_integer_array_to_file (array, name) |
Print an integer array to a .txt file. | |
subroutine | mod_debug_io::write_cell_linear_system_to_file (matrix, rhs, equation_ls_map, stl, isd_metrics, isd_target, name) |
Print a cell linear system to file. | |
subroutine | mod_debug_io::write_face_linear_system_to_file (matrix, rhs, navier_ls_map, stl_u, stl_v, stl_w, isd_metrics, isd_target, name) |
Print a face linear system to file. | |
I/O routines for debugging purpose.
I/O set of routines for debugging purpose.
This module helps to:
write_array_to_file
;write_cell_linear_system_to_file
or write_face_linear_system_to_file
routines.Each MPI process writes its data in a separate file.
subroutine mod_debug_io::write_cell_linear_system_to_file | ( | double precision, dimension(:), intent(in) | matrix, |
double precision, dimension(:), intent(in) | rhs, | ||
type(t_ls_map), intent(in) | equation_ls_map, | ||
integer, dimension(:,:,:), intent(in), allocatable | stl, | ||
type(t_immersed_subdomain_metrics), dimension(:), intent(in), allocatable | isd_metrics, | ||
integer, dimension(:), intent(in), allocatable | isd_target, | ||
character(len=*), intent(in) | name ) |
Print a cell linear system to file.
Files are written in the output directory for each iteration. Each local domain matrix and rhs are written in a separate file.
subroutine mod_debug_io::write_double_array_to_file | ( | double precision, dimension(:,:,:), intent(in) | array, |
character(len=*), intent(in) | name ) |
Print a double array to a .txt file.
array
can be defined on cells or faces: dimensions of the array are given as input;subroutine mod_debug_io::write_face_linear_system_to_file | ( | double precision, dimension(:), intent(in) | matrix, |
double precision, dimension(:), intent(in) | rhs, | ||
type(t_face_ls_map), intent(in) | navier_ls_map, | ||
integer, dimension(:,:,:,:), intent(in), allocatable | stl_u, | ||
integer, dimension(:,:,:,:), intent(in), allocatable | stl_v, | ||
integer, dimension(:,:,:,:), intent(in), allocatable | stl_w, | ||
type(t_immersed_subdomain_metrics), dimension(:), intent(in) | isd_metrics, | ||
integer, dimension(:), intent(in), allocatable | isd_target, | ||
character(len=*), intent(in) | name ) |
Print a face linear system to file.
Files are written in the output directory for each iteration. Each local domain matrix and rhs are written in a separate file.
subroutine mod_debug_io::write_integer_array_to_file | ( | integer, dimension(:,:,:), intent(in) | array, |
character(len=*), intent(in) | name ) |
Print an integer array to a .txt file.
name
variable, followed by the rank number, and by the time iteration number.