I/O routines for debugging purpose.
More...
|
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 set of routines for debugging purpose.
This module helps to:
- write a double or an integer array with
write_array_to_file
;
- write a cell or a face defined linear system (matrix and rhs):
write_cell_linear_system_to_file
or write_face_linear_system_to_file
routines.
Each MPI process writes its data in a separate file.
- Warning
- For debugging purposes only!
◆ write_cell_linear_system_to_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 ) |
- Warning
- For debugging purposes only!
Files are written in the output directory for each iteration. Each local domain matrix and rhs are written in a separate file.
◆ write_double_array_to_file()
subroutine mod_debug_io::write_double_array_to_file |
( |
double precision, dimension(:,:,:), intent(in) | array, |
|
|
character(len=*), intent(in) | name ) |
- The
array
can be defined on cells or faces: dimensions of the array are given as input;
- .txt files are created in the output directory;
◆ write_face_linear_system_to_file()
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 ) |
- Warning
- For debugging purposes only!
Files are written in the output directory for each iteration. Each local domain matrix and rhs are written in a separate file.
◆ write_integer_array_to_file()
subroutine mod_debug_io::write_integer_array_to_file |
( |
integer, dimension(:,:,:), intent(in) | array, |
|
|
character(len=*), intent(in) | name ) |
- The array can be defined on cells or faces: dimensions of the array are given as input;
- .txt files are created in the output directory;
- The name of the file starts with
name
variable, followed by the rank number, and by the time iteration number.