leapUtils Module

Utilities for LEAP. Currently implemented: - Subroutine that creates a directory - Singly-linked lists - Hash table with chaining



Uses

  • module~~leaputils~~UsesGraph module~leaputils leapUtils module~leapkinds leapKinds module~leaputils->module~leapkinds mpi_f08 mpi_f08 module~leaputils->mpi_f08 iso_fortran_env iso_fortran_env module~leapkinds->iso_fortran_env

Used by

  • module~~leaputils~~UsedByGraph module~leaputils leapUtils module~leapbc leapBC module~leapbc->module~leaputils module~leapeulerian leapEulerian module~leapbc->module~leapeulerian module~leapeulerian->module~leaputils module~leapio leapIO module~leapeulerian->module~leapio module~leapio_hdf5 leapIO_hdf5 module~leapio_hdf5->module~leaputils module~leapio_silo leapIO_silo module~leapio_silo->module~leaputils module~leaplagrangian leapLagrangian module~leaplagrangian->module~leaputils module~leaplagrangian->module~leapio module~leapmonitor leapMonitor module~leapmonitor->module~leaputils module~cdifs cdifs module~cdifs->module~leapbc module~cdifs->module~leapeulerian module~cdifs->module~leapmonitor module~cdifs_cases cdifs_cases module~cdifs->module~cdifs_cases module~leapdiffop leapDiffOp module~cdifs->module~leapdiffop module~leaphypre leapHypre module~cdifs->module~leaphypre module~particles_resolved particles_resolved module~cdifs->module~particles_resolved module~immersed_boundaries immersed_boundaries module~cdifs->module~immersed_boundaries module~cdifs_cases->module~leapeulerian module~grans grans module~grans->module~leapeulerian module~grans->module~leapmonitor module~grans_cases grans_cases module~grans->module~grans_cases module~grans->module~leaphypre module~particles_point particles_point module~grans->module~particles_point module~grans->module~particles_resolved module~grans->module~immersed_boundaries module~grans_cases->module~leapeulerian module~grans_cases->module~particles_point module~grans_cases->module~particles_resolved module~grans_cases->module~immersed_boundaries module~immersed_boundaries_markers immersed_boundaries_markers module~immersed_boundaries_markers->module~leapeulerian module~immersed_boundaries_markers->module~leaplagrangian module~immersed_boundaries_markers->module~leapmonitor module~immersed_boundaries_markers->module~leapdiffop module~immersed_boundaries_markers->module~leaphypre module~immersed_boundaries_markers->module~leapio module~immersed_boundaries_solids immersed_boundaries_solids module~immersed_boundaries_solids->module~leapeulerian module~immersed_boundaries_solids->module~leaplagrangian module~immersed_boundaries_solids->module~immersed_boundaries_markers module~immersed_boundaries_solids->module~leapio module~leapdiffop->module~leapbc module~leapdiffop->module~leapeulerian module~leaphypre->module~leapeulerian module~leapio->module~leapio_hdf5 module~leapio->module~leapio_silo module~particles_point->module~leapeulerian module~particles_point->module~leaplagrangian module~particles_point->module~leapio module~particles_resolved->module~leapeulerian module~particles_resolved->module~leaplagrangian module~particles_resolved->module~leapmonitor module~particles_resolved->module~leapdiffop module~particles_resolved->module~leapio module~particles_resolved->module~immersed_boundaries proc~bc_set_buildmask bc_set%bc_set_BuildMask proc~bc_set_buildmask->module~leapeulerian proc~block_obj_read block_obj%block_obj_Read proc~block_obj_read->module~leapio_hdf5 proc~block_obj_write block_obj%block_obj_Write proc~block_obj_write->module~leapio_hdf5 proc~cdifs_channel_flow_bcs cdifs_channel_flow_bcs proc~cdifs_channel_flow_bcs->module~leapbc proc~cdifs_cylinder_bcs cdifs_cylinder_bcs proc~cdifs_cylinder_bcs->module~leapbc proc~cdifs_lamb_oseen_bcs cdifs_lamb_oseen_bcs proc~cdifs_lamb_oseen_bcs->module~leapbc proc~cdifs_lid_driven_cavity_bcs cdifs_lid_driven_cavity_bcs proc~cdifs_lid_driven_cavity_bcs->module~leapbc proc~cdifs_obj_preparesolveroperators cdifs_obj_PrepareSolverOperators proc~cdifs_obj_preparesolveroperators->module~leapbc proc~cdifs_obj_preparesolveroperatorsdiv cdifs_obj_PrepareSolverOperatorsDIV proc~cdifs_obj_preparesolveroperatorsdiv->module~leapbc proc~cdifs_obj_preparesolveroperatorspgrad cdifs_obj_PrepareSolverOperatorsPGRAD proc~cdifs_obj_preparesolveroperatorspgrad->module~leapbc proc~cdifs_obj_preparesolveroperatorsvlap cdifs_obj_PrepareSolverOperatorsVLAP proc~cdifs_obj_preparesolveroperatorsvlap->module~leapbc proc~cdifs_rebound_bcs cdifs_rebound_bcs proc~cdifs_rebound_bcs->module~leapbc proc~cdifs_settling_sphere_bcs cdifs_settling_sphere_bcs proc~cdifs_settling_sphere_bcs->module~leapbc proc~cdifs_taylor_green_bcs cdifs_taylor_green_bcs proc~cdifs_taylor_green_bcs->module~leapbc proc~cdifs_vortex_dipole_bcs cdifs_vortex_dipole_bcs proc~cdifs_vortex_dipole_bcs->module~leapbc proc~cdifs_vortex_impingement_bcs cdifs_vortex_impingement_bcs proc~cdifs_vortex_impingement_bcs->module~leapbc proc~op_obj_applylaplaciandc op_obj%op_obj_ApplyLaplacianDC proc~op_obj_applylaplaciandc->module~leapbc module~cavity_smod cavity_smod module~cavity_smod->module~cdifs_cases module~cdifs_advancesolution_smod cdifs_AdvanceSolution_smod module~cdifs_advancesolution_smod->module~cdifs module~cdifs_monitor_smod cdifs_Monitor_smod module~cdifs_monitor_smod->module~cdifs module~cdifs_preparesolver_smod cdifs_PrepareSolver_smod module~cdifs_preparesolver_smod->module~cdifs module~cdifs_writeoutputdata_smod cdifs_WriteOutputData_smod module~cdifs_writeoutputdata_smod->module~cdifs module~cdifs_writerestartdata_smod cdifs_WriteRestartData_smod module~cdifs_writerestartdata_smod->module~cdifs module~channel_flow_smod channel_flow_smod module~channel_flow_smod->module~cdifs_cases module~cylinder_smod cylinder_smod module~cylinder_smod->module~cdifs_cases module~grans_advancesolution_smod grans_AdvanceSolution_smod module~grans_advancesolution_smod->module~grans module~grans_module_smod grans_module_smod module~grans_module_smod->module~grans module~grans_preparesolver_smod grans_PrepareSolver_smod module~grans_preparesolver_smod->module~grans module~grans_writeoutputdata_smod grans_WriteOutputData_smod module~grans_writeoutputdata_smod->module~grans module~grans_writerestartdata_smod grans_WriteRestartData_smod module~grans_writerestartdata_smod->module~grans module~headon_collision_smod headon_collision_smod module~headon_collision_smod->module~grans_cases module~homogeneous_cooling_smod homogeneous_cooling_smod module~homogeneous_cooling_smod->module~grans_cases module~immersed_boundaries->module~immersed_boundaries_markers module~immersed_boundaries->module~immersed_boundaries_solids module~lamb_oseen_smod lamb_oseen_smod module~lamb_oseen_smod->module~cdifs_cases module~nga_smod nga_smod module~nga_smod->module~particles_point module~rebound_smod rebound_smod module~rebound_smod->module~cdifs_cases module~rotating_drum_smod rotating_drum_smod module~rotating_drum_smod->module~grans_cases module~settling_sphere_smod settling_sphere_smod module~settling_sphere_smod->module~cdifs_cases module~taylor_green_smod taylor_green_smod module~taylor_green_smod->module~cdifs_cases module~vortex_dipole_smod vortex_dipole_smod module~vortex_dipole_smod->module~cdifs_cases module~vortex_impingement_smod vortex_impingement_smod module~vortex_impingement_smod->module~cdifs_cases proc~add_markers add_markers proc~add_markers->module~particles_resolved proc~add_markers->module~immersed_boundaries proc~add_markers~2 add_markers proc~add_markers~2->module~particles_resolved proc~add_markers~2->module~immersed_boundaries proc~bc_set_read bc_set%bc_set_Read proc~bc_set_read->module~leapio proc~bc_set_write bc_set%bc_set_Write proc~bc_set_write->module~leapio proc~cdifs_rebound_respart cdifs_rebound_ResPart proc~cdifs_rebound_respart->module~particles_resolved proc~cdifs_settling_sphere_respart cdifs_settling_sphere_ResPart proc~cdifs_settling_sphere_respart->module~particles_resolved proc~grans_obj_preparesolver_operators grans_obj_PrepareSolver_operators proc~grans_obj_preparesolver_operators->module~leapdiffop proc~marker_set_computesolidvolfrac marker_set%marker_set_ComputeSolidVolFrac proc~marker_set_computesolidvolfrac->module~leapdiffop program~main main program~main->module~cdifs program~main->module~grans proc~cdifs_cylinder_ib cdifs_cylinder_IB proc~cdifs_cylinder_ib->module~immersed_boundaries proc~cdifs_rebound_ib cdifs_rebound_IB proc~cdifs_rebound_ib->module~immersed_boundaries proc~cdifs_settling_sphere_ib cdifs_settling_sphere_IB proc~cdifs_settling_sphere_ib->module~immersed_boundaries

Derived Types

type, public ::  hashtbl_obj

Hash table

Components

Type Visibility Attributes Name Initial
type(sllist_obj), public, allocatable :: vec(:)
integer, public :: vec_len = 0

Type-Bound Procedures

procedure, public :: Finalize => hashtbl_obj_final
procedure, public :: Get => hashtbl_obj_Get
procedure, public, nopass :: HashString => hashtbl_obj_HashString
procedure, public :: Initialize => hashtbl_obj_init
procedure, public :: Put => hashtbl_obj_Put

type, public ::  sllist_obj

Singly-linked list

Components

Type Visibility Attributes Name Initial
type(sllist_obj), public, pointer :: child => null()
integer, public :: key = -1
integer, public :: val = -1

Type-Bound Procedures

procedure, public :: Free => sllist_obj_Free
procedure, public :: Get => sllist_obj_Get
procedure, public :: Put => sllist_obj_Put

Functions

private pure function hashtbl_obj_HashString(str) result(val)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

Return Value integer


Subroutines

public subroutine leap_create_directory(dirname)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: dirname

private pure subroutine hashtbl_obj_Get(this, key, val)

Arguments

Type IntentOptional Attributes Name
class(hashtbl_obj), intent(in) :: this
integer, intent(in) :: key
integer, intent(out) :: val

private pure subroutine hashtbl_obj_Put(this, key, val)

Arguments

Type IntentOptional Attributes Name
class(hashtbl_obj), intent(inout) :: this
integer, intent(in) :: key
integer, intent(in) :: val

private pure subroutine hashtbl_obj_final(this)

Arguments

Type IntentOptional Attributes Name
class(hashtbl_obj), intent(inout) :: this

private pure subroutine hashtbl_obj_init(this, tbl_len)

Arguments

Type IntentOptional Attributes Name
class(hashtbl_obj), intent(inout) :: this
integer, intent(in) :: tbl_len

private pure recursive subroutine sllist_obj_Free(this)

Arguments

Type IntentOptional Attributes Name
class(sllist_obj), intent(inout) :: this

private pure recursive subroutine sllist_obj_Get(this, key, val)

Arguments

Type IntentOptional Attributes Name
class(sllist_obj), intent(in) :: this
integer, intent(in) :: key
integer, intent(out) :: val

private pure recursive subroutine sllist_obj_Put(this, key, val)

Arguments

Type IntentOptional Attributes Name
class(sllist_obj), intent(inout) :: this
integer, intent(in) :: key
integer, intent(in) :: val