ORB5  v4.9.4
vis3d Module Reference

Output 3D arrays for 3D visialization. More...

Data Types

interface  coordf
 
type  diag3d_parameters
 
interface  get_field_func
 

Functions/Subroutines

subroutine, public init3ddiagnostics (parameters)
 
subroutine create_mesh_pixie ()
 
subroutine create_mesh_xdmf ()
 
subroutine, public get3dmeshgrid (sgrid_ptr, chigrid_ptr, phigrid_ptr)
 
subroutine, public get3dmeshinfo (zdsgrid, zdchigrid, zdphigrid, zsmin, zchimin, zphimin, zsbin, zchibin, zphibin, zlocalgrid)
 
subroutine, public write3d (out_field, ztime, field_array_3d, field_function_ptr, filename, lclose_file, filename_suffix)
 
subroutine get_3d_field_pixie (get_field)
 
subroutine get_3d_field_xdmf (get_field)
 
subroutine write_pixie (file_3d, ztime, fieldname, ljoinfields, ljoinsteps, lfclose)
 
subroutine write_pixie_grid ()
 
subroutine write_manyfiles_h5 (file_3d, fieldname)
 
subroutine write_manyfiles_xmf (filename, fieldname)
 
subroutine write_onefile_h5 (file_3d, ztime, fieldname)
 
subroutine write_onefile_xmf (filename, ztime, dataname, fieldname)
 
subroutine set_3d_parameters (param3d)
 
subroutine write_3d_parameters ()
 
subroutine set_3d_grid ()
 
subroutine check_if_local (drank)
 
subroutine, public checkout3dfile (out_field)
 

Variables

integer, parameter dp = selected_real_kind(15, 307)
 
real(kind=dp), parameter pi = 3.141592653589793238462643383279502884197_dp
 
real(kind=dp), parameter phi_up_default = 6.283185307179586476925286766559005768394_dp
 
integer, parameter fid_xmf = 30
 
logical, parameter use_h5links = .false.
 
character(len=2), save mesh_type
 
character, save data_type
 
character(len=16) output_format
 
character(len=4) output_format_type
 
integer, dimension(3), target, save mesh_size
 
double precision, dimension(2), target, save slim
 
double precision, dimension(2), target, save chilim
 
double precision, dimension(2), target, save philim
 
double precision, dimension(:), allocatable, target, save sgrid_loc
 
double precision, dimension(:), allocatable, target, save chigrid_loc
 
double precision, dimension(:), allocatable, target, save phigrid_loc
 
double precision, target, save dsgrid
 
double precision, target, save dchigrid
 
double precision, target, save dphigrid
 
double precision, dimension(:), pointer, save field_out_ptr
 
double precision, dimension(:), allocatable, target, save field_out
 
double precision, dimension(:,:,:), pointer, save field_out_3d_ptr
 
double precision, dimension(:,:,:), allocatable, target, save field_out_3d
 
double precision, dimension(:), allocatable, save xmesh_loc
 
double precision, dimension(:), allocatable, save zmesh_loc
 
double precision, dimension(:), allocatable, save ymesh_loc
 
double precision, dimension(:,:,:), allocatable, save xmesh_loc_3d
 
double precision, dimension(:,:,:), allocatable, save zmesh_loc_3d
 
double precision, dimension(:,:,:), allocatable, save ymesh_loc_3d
 
logical, save local_grid
 
logical, save forcelocal = .false.
 
integer, target, save nphip
 
integer, save pshift
 
integer, save me_loc
 
integer, save comm_loc
 
integer, save nvp_loc
 
logical, save lverbose
 
logical, save me_active = .true.
 
procedure(coordf), pointer, save get_coords
 

Detailed Description

Output 3D arrays for 3D visialization.

HDF5 based formats: PIXIE and XDMF

Author
P. Angelino
T. M. Tran

Function/Subroutine Documentation

◆ check_if_local()

subroutine vis3d::check_if_local ( integer, intent(out)  drank)
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkout3dfile()

subroutine, public vis3d::checkout3dfile ( character(*), intent(in)  out_field)
+ Here is the caller graph for this function:

◆ create_mesh_pixie()

subroutine vis3d::create_mesh_pixie
private
+ Here is the caller graph for this function:

◆ create_mesh_xdmf()

subroutine vis3d::create_mesh_xdmf
private
+ Here is the caller graph for this function:

◆ get3dmeshgrid()

subroutine, public vis3d::get3dmeshgrid ( double precision, dimension(:), intent(out), pointer  sgrid_ptr,
double precision, dimension(:), intent(out), pointer  chigrid_ptr,
double precision, dimension(:), intent(out), pointer  phigrid_ptr 
)

◆ get3dmeshinfo()

subroutine, public vis3d::get3dmeshinfo ( double precision, intent(out), optional  zdsgrid,
double precision, intent(out), optional  zdchigrid,
double precision, intent(out), optional  zdphigrid,
double precision, intent(out), optional  zsmin,
double precision, intent(out), optional  zchimin,
double precision, intent(out), optional  zphimin,
integer, intent(out), optional  zsbin,
integer, intent(out), optional  zchibin,
integer, intent(out), optional  zphibin,
logical, intent(out), optional  zlocalgrid 
)

◆ get_3d_field_pixie()

subroutine vis3d::get_3d_field_pixie ( procedure(get_field_func), optional, pointer  get_field)
private
+ Here is the caller graph for this function:

◆ get_3d_field_xdmf()

subroutine vis3d::get_3d_field_xdmf ( procedure(get_field_func), optional, pointer  get_field)
private
+ Here is the caller graph for this function:

◆ init3ddiagnostics()

subroutine, public vis3d::init3ddiagnostics ( type(diag3d_parameters), intent(in)  parameters)
+ Here is the call graph for this function:

◆ set_3d_grid()

subroutine vis3d::set_3d_grid
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_3d_parameters()

subroutine vis3d::set_3d_parameters ( type(diag3d_parameters), intent(in)  param3d)
private
+ Here is the caller graph for this function:

◆ write3d()

subroutine, public vis3d::write3d ( character(*), intent(in)  out_field,
integer, intent(in)  ztime,
double precision, dimension(:,:,:), intent(in), optional, target  field_array_3d,
procedure(get_field_func), optional, pointer  field_function_ptr,
character(len=128), intent(out), optional  filename,
logical, intent(in), optional  lclose_file,
character(len=128), intent(in), optional  filename_suffix 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_3d_parameters()

subroutine vis3d::write_3d_parameters
private
+ Here is the caller graph for this function:

◆ write_manyfiles_h5()

subroutine vis3d::write_manyfiles_h5 ( character(*), intent(in)  file_3d,
character(*), intent(in)  fieldname 
)
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_manyfiles_xmf()

subroutine vis3d::write_manyfiles_xmf ( character(*), intent(in)  filename,
character(*), intent(in)  fieldname 
)
private
+ Here is the caller graph for this function:

◆ write_onefile_h5()

subroutine vis3d::write_onefile_h5 ( character(*), intent(in)  file_3d,
integer, intent(in)  ztime,
character(*), intent(in)  fieldname 
)
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_onefile_xmf()

subroutine vis3d::write_onefile_xmf ( character(*), intent(in)  filename,
integer, intent(in)  ztime,
character(*), intent(in)  dataname,
character(*), intent(in)  fieldname 
)
private
+ Here is the caller graph for this function:

◆ write_pixie()

subroutine vis3d::write_pixie ( character(*), intent(in)  file_3d,
integer, intent(in), optional  ztime,
character(*), intent(in), optional  fieldname,
logical, intent(in), optional  ljoinfields,
logical, intent(in), optional  ljoinsteps,
logical, intent(in), optional  lfclose 
)
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_pixie_grid()

subroutine vis3d::write_pixie_grid
private
+ Here is the caller graph for this function:

Variable Documentation

◆ chigrid_loc

double precision, dimension(:), allocatable, target, save vis3d::chigrid_loc
private

◆ chilim

double precision, dimension(2), target, save vis3d::chilim
private

◆ comm_loc

integer, save vis3d::comm_loc
private

◆ data_type

character, save vis3d::data_type
private

◆ dchigrid

double precision, target, save vis3d::dchigrid
private

◆ dp

integer, parameter vis3d::dp = selected_real_kind(15, 307)
private

◆ dphigrid

double precision, target, save vis3d::dphigrid
private

◆ dsgrid

double precision, target, save vis3d::dsgrid
private

◆ fid_xmf

integer, parameter vis3d::fid_xmf = 30
private

◆ field_out

double precision, dimension(:), allocatable, target, save vis3d::field_out
private

◆ field_out_3d

double precision, dimension(:,:,:), allocatable, target, save vis3d::field_out_3d
private

◆ field_out_3d_ptr

double precision, dimension(:,:,:), pointer, save vis3d::field_out_3d_ptr
private

◆ field_out_ptr

double precision, dimension(:), pointer, save vis3d::field_out_ptr
private

◆ forcelocal

logical, save vis3d::forcelocal = .false.
private

◆ get_coords

procedure(coordf), pointer, save vis3d::get_coords
private

◆ local_grid

logical, save vis3d::local_grid
private

◆ lverbose

logical, save vis3d::lverbose
private

◆ me_active

logical, save vis3d::me_active = .true.
private

◆ me_loc

integer, save vis3d::me_loc
private

◆ mesh_size

integer, dimension(3), target, save vis3d::mesh_size
private

◆ mesh_type

character(len=2), save vis3d::mesh_type
private

◆ nphip

integer, target, save vis3d::nphip
private

◆ nvp_loc

integer, save vis3d::nvp_loc
private

◆ output_format

character(len=16) vis3d::output_format
private

◆ output_format_type

character(len=4) vis3d::output_format_type
private

◆ phi_up_default

real(kind=dp), parameter vis3d::phi_up_default = 6.283185307179586476925286766559005768394_dp
private

◆ phigrid_loc

double precision, dimension(:), allocatable, target, save vis3d::phigrid_loc
private

◆ philim

double precision, dimension(2), target, save vis3d::philim
private

◆ pi

real(kind=dp), parameter vis3d::pi = 3.141592653589793238462643383279502884197_dp
private

◆ pshift

integer, save vis3d::pshift
private

◆ sgrid_loc

double precision, dimension(:), allocatable, target, save vis3d::sgrid_loc
private

◆ slim

double precision, dimension(2), target, save vis3d::slim
private

◆ use_h5links

logical, parameter vis3d::use_h5links = .false.
private

◆ xmesh_loc

double precision, dimension(:), allocatable, save vis3d::xmesh_loc
private

◆ xmesh_loc_3d

double precision, dimension(:,:,:), allocatable, save vis3d::xmesh_loc_3d
private

◆ ymesh_loc

double precision, dimension(:), allocatable, save vis3d::ymesh_loc
private

◆ ymesh_loc_3d

double precision, dimension(:,:,:), allocatable, save vis3d::ymesh_loc_3d
private

◆ zmesh_loc

double precision, dimension(:), allocatable, save vis3d::zmesh_loc
private

◆ zmesh_loc_3d

double precision, dimension(:,:,:), allocatable, save vis3d::zmesh_loc_3d
private