ORB5  4.00
Loading...
Searching...
No Matches
vis3d Module Reference

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

Data Types

interface  get_field_func
interface  coordf
type  diag3d_parameters

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

real(kind=r8), parameter pi = 3.141592653589793238462643383279502884197_r8
real(kind=r8), parameter phi_up_default = 6.283185307179586476925286766559005768394_r8
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
real(kind=r8), dimension(2), target, save slim
real(kind=r8), dimension(2), target, save chilim
real(kind=r8), dimension(2), target, save philim
real(kind=r8), dimension(:), allocatable, target, save sgrid_loc
real(kind=r8), dimension(:), allocatable, target, save chigrid_loc
real(kind=r8), dimension(:), allocatable, target, save phigrid_loc
real(kind=r8), target, save dsgrid
real(kind=r8), target, save dchigrid
real(kind=r8), target, save dphigrid
real(kind=r8), dimension(:), pointer, save field_out_ptr
real(kind=r8), dimension(:), allocatable, target, save field_out
real(kind=r8), dimension(:,:,:), pointer, save field_out_3d_ptr
real(kind=r8), dimension(:,:,:), allocatable, target, save field_out_3d
real(kind=r8), dimension(:), allocatable, save xmesh_loc
real(kind=r8), dimension(:), allocatable, save zmesh_loc
real(kind=r8), dimension(:), allocatable, save ymesh_loc
real(kind=r8), dimension(:,:,:), allocatable, save xmesh_loc_3d
real(kind=r8), dimension(:,:,:), allocatable, save zmesh_loc_3d
real(kind=r8), 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 ( real(kind=r8), dimension(:), intent(out), pointer sgrid_ptr,
real(kind=r8), dimension(:), intent(out), pointer chigrid_ptr,
real(kind=r8), dimension(:), intent(out), pointer phigrid_ptr )

◆ get3dmeshinfo()

subroutine, public vis3d::get3dmeshinfo ( real(kind=r8), intent(out), optional zdsgrid,
real(kind=r8), intent(out), optional zdchigrid,
real(kind=r8), intent(out), optional zdphigrid,
real(kind=r8), intent(out), optional zsmin,
real(kind=r8), intent(out), optional zchimin,
real(kind=r8), 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,
real(kind=r8), 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

real(kind=r8), dimension(:), allocatable, target, save vis3d::chigrid_loc
private

◆ chilim

real(kind=r8), dimension(2), target, save vis3d::chilim
private

◆ comm_loc

integer, save vis3d::comm_loc
private

◆ data_type

character, save vis3d::data_type
private

◆ dchigrid

real(kind=r8), target, save vis3d::dchigrid
private

◆ dphigrid

real(kind=r8), target, save vis3d::dphigrid
private

◆ dsgrid

real(kind=r8), target, save vis3d::dsgrid
private

◆ fid_xmf

integer, parameter vis3d::fid_xmf = 30
private

◆ field_out

real(kind=r8), dimension(:), allocatable, target, save vis3d::field_out
private

◆ field_out_3d

real(kind=r8), dimension(:,:,:), allocatable, target, save vis3d::field_out_3d
private

◆ field_out_3d_ptr

real(kind=r8), dimension(:,:,:), pointer, save vis3d::field_out_3d_ptr
private

◆ field_out_ptr

real(kind=r8), 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

◆ 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=r8), parameter vis3d::phi_up_default = 6.283185307179586476925286766559005768394_r8
private

◆ phigrid_loc

real(kind=r8), dimension(:), allocatable, target, save vis3d::phigrid_loc
private

◆ philim

real(kind=r8), dimension(2), target, save vis3d::philim
private

◆ pi

real(kind=r8), parameter vis3d::pi = 3.141592653589793238462643383279502884197_r8
private

◆ pshift

integer, save vis3d::pshift
private

◆ sgrid_loc

real(kind=r8), dimension(:), allocatable, target, save vis3d::sgrid_loc
private

◆ slim

real(kind=r8), dimension(2), target, save vis3d::slim
private

◆ use_h5links

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

◆ xmesh_loc

real(kind=r8), dimension(:), allocatable, save vis3d::xmesh_loc
private

◆ xmesh_loc_3d

real(kind=r8), dimension(:,:,:), allocatable, save vis3d::xmesh_loc_3d
private

◆ ymesh_loc

real(kind=r8), dimension(:), allocatable, save vis3d::ymesh_loc
private

◆ ymesh_loc_3d

real(kind=r8), dimension(:,:,:), allocatable, save vis3d::ymesh_loc_3d
private

◆ zmesh_loc

real(kind=r8), dimension(:), allocatable, save vis3d::zmesh_loc
private

◆ zmesh_loc_3d

real(kind=r8), dimension(:,:,:), allocatable, save vis3d::zmesh_loc_3d
private