PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Go to the documentation of this file.
5 #include <PB3D_macros.h>
19 integer,
parameter :: max_xml_ln = 300
34 character(len=max_str_ln) :: name
35 integer :: max_xml_ln = 300
36 character(len=max_xml_ln),
allocatable :: xml_str(:)
41 integer(HID_T) :: hdf5_i
43 character(len=max_str_ln) :: name
49 real(
dp),
allocatable :: p(:)
50 integer,
allocatable :: tot_i_min(:)
51 integer,
allocatable :: tot_i_max(:)
52 integer,
allocatable :: loc_i_min(:)
53 integer,
allocatable :: loc_i_max(:)
54 character(len=max_str_ln) :: var_name
62 module procedure dealloc_xml_str_ind
64 module procedure dealloc_xml_str_arr
70 module procedure dealloc_var_1d_ind
72 module procedure dealloc_var_1d_arr
74 module procedure dealloc_var_1d_arr_2
113 subroutine dealloc_xml_str_arr(XML_str)
115 type(
xml_str_type),
intent(inout),
allocatable :: XML_str(:)
121 do id = 1,
size(xml_str)
122 call dealloc_xml_str_ind(xml_str(id))
127 end subroutine dealloc_xml_str_arr
129 subroutine dealloc_xml_str_ind(XML_str)
132 end subroutine dealloc_xml_str_ind
135 subroutine dealloc_var_1d_arr_2(var_1D)
137 type(
var_1d_type),
intent(inout),
allocatable :: var_1D(:,:)
143 do jd = 1,
size(var_1d,2)
144 do id = 1,
size(var_1d,1)
145 call dealloc_var_1d_ind(var_1d(id,jd))
151 end subroutine dealloc_var_1d_arr_2
153 subroutine dealloc_var_1d_arr(var_1D)
155 type(
var_1d_type),
intent(inout),
allocatable :: var_1D(:)
161 do id = 1,
size(var_1d)
162 call dealloc_var_1d_ind(var_1d(id))
167 end subroutine dealloc_var_1d_arr
169 subroutine dealloc_var_1d_ind(var_1D)
172 end subroutine dealloc_var_1d_ind
integer, parameter, public dp
double precision
character(len=7), public script_dir
directory where to save scripts for plots
Numerical variables used by most other modules.
integer, parameter, public max_str_ln
maximum length of strings
elemental character(len=max_str_ln) function, public i2str(k)
Convert an integer to string.
character(len=max_str_ln), dimension(2), public xdmf_att_types
possible XDMF attribute types
Variables pertaining to HDF5 and XDMF.
character(len=4), public data_dir
directory where to save data for plots
elemental character(len=max_str_ln) function, public r2strt(k)
Convert a real (double) to string.
Deallocates XML_str_type.
character(len=max_str_ln), dimension(3), public xdmf_grid_types
possible XDMF grid types
integer, parameter, public max_dim_var_1d
maximum dimension of var_1D
character(len=max_str_ln), dimension(2), public xdmf_center_types
possible XDMF attribute center types
subroutine, public init_hdf5
Initializes the HDF5 types.
1D equivalent of multidimensional variables, used for internal HDF5 storage.
character(len=6), public xmf_fmt
format to write the xmf file
elemental character(len=max_str_ln) function, public r2str(k)
Convert a real (double) to string.
Numerical utilities related to giving output.
character(len=max_str_ln), dimension(2), public xdmf_geom_types
possible XDMF geometry types
character(len=max_str_ln), dimension(2), public xdmf_num_types
possible XDMF number types
HDF5 data type, containing the information about HDF5 files.
character(len=5), public plot_dir
directory where to save plots
character(len=max_str_ln), dimension(2), public xdmf_format_types
possible XDMF format types
character(len=max_str_ln), dimension(2), public xdmf_top_types
possible XDMF topology types
XML strings used in XDMF.