utils Module

Utility module to allocate, deallocate and debug message


Used by

  • module~~utils~~UsedByGraph module~utils utils module~wall_dist wall_dist module~wall_dist->module~utils module~write_output_vtk write_output_vtk module~write_output_vtk->module~utils module~write_output_vtk->module~wall_dist module~viscosity viscosity module~write_output_vtk->module~viscosity module~gradients gradients module~write_output_vtk->module~gradients module~viscosity->module~utils module~viscosity->module~wall_dist module~viscosity->module~gradients module~wall wall module~wall->module~utils module~write_output write_output module~write_output->module~utils module~write_output->module~write_output_vtk module~write_output_tec_node write_output_tec_node module~write_output->module~write_output_tec_node module~write_output_tec write_output_tec module~write_output->module~write_output_tec module~read_output_vtk read_output_vtk module~read_output_vtk->module~utils module~bc bc module~bc->module~utils module~geometry geometry module~geometry->module~utils module~scheme scheme module~scheme->module~utils module~face_interpolant face_interpolant module~scheme->module~face_interpolant module~ausmp ausmP module~scheme->module~ausmp module~source source module~source->module~utils module~source->module~wall_dist module~source->module~viscosity module~source->module~gradients module~cc CC module~source->module~cc module~resnorm resnorm module~resnorm->module~utils module~write_output_tec_node->module~utils module~write_output_tec_node->module~wall_dist module~write_output_tec_node->module~viscosity module~write_output_tec_node->module~gradients module~update update module~update->module~utils module~update->module~wall_dist module~update->module~viscosity module~update->module~scheme module~update->module~source module~interface1 interface1 module~update->module~interface1 module~time time module~update->module~time module~viscous viscous module~update->module~viscous module~plusgs plusgs module~update->module~plusgs module~update->module~gradients module~lusgs lusgs module~update->module~lusgs module~update->module~face_interpolant module~boundary_state_reconstruction boundary_state_reconstruction module~update->module~boundary_state_reconstruction module~bc_primitive bc_primitive module~update->module~bc_primitive module~interface1->module~utils module~time->module~utils module~time->module~viscosity module~time->module~face_interpolant module~viscous->module~utils module~viscous->module~viscosity module~viscous->module~gradients module~state state module~state->module~utils module~read_output read_output module~state->module~read_output module~plusgs->module~utils module~plusgs->module~wall_dist module~plusgs->module~viscosity module~plusgs->module~gradients module~write_output_tec->module~utils module~write_output_tec->module~wall_dist module~write_output_tec->module~viscosity module~write_output_tec->module~gradients module~gradients->module~utils module~cc->module~utils module~cc->module~wall_dist module~dump_solution dump_solution module~dump_solution->module~utils module~dump_solution->module~write_output module~read_output->module~utils module~read_output->module~read_output_vtk module~read_output_tec read_output_tec module~read_output->module~read_output_tec module~lusgs->module~utils module~lusgs->module~wall_dist module~lusgs->module~viscosity module~lusgs->module~gradients module~face_interpolant->module~utils module~read_output_tec->module~utils module~boundary_state_reconstruction->module~face_interpolant module~solver solver module~solver->module~wall_dist module~solver->module~viscosity module~solver->module~wall module~solver->module~bc module~solver->module~geometry module~solver->module~scheme module~solver->module~resnorm module~solver->module~update module~solver->module~interface1 module~solver->module~time module~solver->module~viscous module~solver->module~state module~solver->module~gradients module~solver->module~cc module~solver->module~dump_solution module~ausmp->module~face_interpolant module~bc_primitive->module~wall_dist module~convergence convergence module~convergence->module~resnorm program~main main program~main->module~solver program~main->module~convergence

Contents


Interfaces

public interface alloc

  • private subroutine alloc_rank1_real(var, start1, stop1, errmsg)

    Allcoate 1-Dimensional array of type: real

    Arguments

    Type IntentOptional AttributesName
    real, intent(inout), dimension(:), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank2_real(var, start1, stop1, start2, stop2, errmsg)

    Allcoate 2-Dimensional array of type: real

    Arguments

    Type IntentOptional AttributesName
    real, intent(inout), dimension(:, :), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank3_real(var, start1, stop1, start2, stop2, start3, stop3, errmsg)

    Allcoate 3-Dimensional array of type: real

    Arguments

    Type IntentOptional AttributesName
    real, intent(inout), dimension(:, :, :), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    integer, intent(in) :: start3

    Starting index of Var array's dimension

    integer, intent(in) :: stop3

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank4_real(var, start1, stop1, start2, stop2, start3, stop3, start4, stop4, errmsg)

    Allcoate 4-Dimensional array of type: real

    Arguments

    Type IntentOptional AttributesName
    real, intent(inout), dimension(:, :, :, :), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    integer, intent(in) :: start3

    Starting index of Var array's dimension

    integer, intent(in) :: stop3

    Last index of Var array's dimension

    integer, intent(in) :: start4

    Starting index of Var array's dimension

    integer, intent(in) :: stop4

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank5_real(var, start1, stop1, start2, stop2, start3, stop3, start4, stop4, start5, stop5, errmsg)

    Allcoate 5-Dimensional array of type: real

    Arguments

    Type IntentOptional AttributesName
    real, intent(inout), dimension(:, :, :, :, :), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    integer, intent(in) :: start3

    Starting index of Var array's dimension

    integer, intent(in) :: stop3

    Last index of Var array's dimension

    integer, intent(in) :: start4

    Starting index of Var array's dimension

    integer, intent(in) :: stop4

    Last index of Var array's dimension

    integer, intent(in) :: start5

    Starting index of Var array's dimension

    integer, intent(in) :: stop5

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank6_real(var, start1, stop1, start2, stop2, start3, stop3, start4, stop4, start5, stop5, start6, stop6, errmsg)

    Allcoate 6-Dimensional array of type: real

    Arguments

    Type IntentOptional AttributesName
    real, intent(inout), dimension(:, :, :, :, :,:), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    integer, intent(in) :: start3

    Starting index of Var array's dimension

    integer, intent(in) :: stop3

    Last index of Var array's dimension

    integer, intent(in) :: start4

    Starting index of Var array's dimension

    integer, intent(in) :: stop4

    Last index of Var array's dimension

    integer, intent(in) :: start5

    Starting index of Var array's dimension

    integer, intent(in) :: stop5

    Last index of Var array's dimension

    integer, intent(in) :: start6

    Starting index of Var array's dimension

    integer, intent(in) :: stop6

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank1_integer(var, start1, stop1, errmsg)

    Allcoate 1-Dimensional array of type: integer

    Arguments

    Type IntentOptional AttributesName
    integer, intent(inout), dimension(:), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank2_integer(var, start1, stop1, start2, stop2, errmsg)

    Allcoate 2-Dimensional array of type: integer

    Arguments

    Type IntentOptional AttributesName
    integer, intent(inout), dimension(:, :), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)

  • private subroutine alloc_rank3_integer(var, start1, stop1, start2, stop2, start3, stop3, errmsg)

    Allcoate 3-Dimensional array of type: integer

    Arguments

    Type IntentOptional AttributesName
    integer, intent(inout), dimension(:, :, :), allocatable:: var

    Variable to which memory is allocated

    integer, intent(in) :: start1

    Starting index of Var array's dimension

    integer, intent(in) :: stop1

    Last index of Var array's dimension

    integer, intent(in) :: start2

    Starting index of Var array's dimension

    integer, intent(in) :: stop2

    Last index of Var array's dimension

    integer, intent(in) :: start3

    Starting index of Var array's dimension

    integer, intent(in) :: stop3

    Last index of Var array's dimension

    character(len=*), intent(in), optional :: errmsg

    Error message to print if mem_stat is not 0(successful)


Subroutines

private subroutine alloc_rank1_real(var, start1, stop1, errmsg)

Allcoate 1-Dimensional array of type: real

Arguments

Type IntentOptional AttributesName
real, intent(inout), dimension(:), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank2_real(var, start1, stop1, start2, stop2, errmsg)

Allcoate 2-Dimensional array of type: real

Arguments

Type IntentOptional AttributesName
real, intent(inout), dimension(:, :), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank3_real(var, start1, stop1, start2, stop2, start3, stop3, errmsg)

Allcoate 3-Dimensional array of type: real

Arguments

Type IntentOptional AttributesName
real, intent(inout), dimension(:, :, :), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

integer, intent(in) :: start3

Starting index of Var array's dimension

integer, intent(in) :: stop3

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank4_real(var, start1, stop1, start2, stop2, start3, stop3, start4, stop4, errmsg)

Allcoate 4-Dimensional array of type: real

Arguments

Type IntentOptional AttributesName
real, intent(inout), dimension(:, :, :, :), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

integer, intent(in) :: start3

Starting index of Var array's dimension

integer, intent(in) :: stop3

Last index of Var array's dimension

integer, intent(in) :: start4

Starting index of Var array's dimension

integer, intent(in) :: stop4

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank5_real(var, start1, stop1, start2, stop2, start3, stop3, start4, stop4, start5, stop5, errmsg)

Allcoate 5-Dimensional array of type: real

Arguments

Type IntentOptional AttributesName
real, intent(inout), dimension(:, :, :, :, :), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

integer, intent(in) :: start3

Starting index of Var array's dimension

integer, intent(in) :: stop3

Last index of Var array's dimension

integer, intent(in) :: start4

Starting index of Var array's dimension

integer, intent(in) :: stop4

Last index of Var array's dimension

integer, intent(in) :: start5

Starting index of Var array's dimension

integer, intent(in) :: stop5

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank6_real(var, start1, stop1, start2, stop2, start3, stop3, start4, stop4, start5, stop5, start6, stop6, errmsg)

Allcoate 6-Dimensional array of type: real

Arguments

Type IntentOptional AttributesName
real, intent(inout), dimension(:, :, :, :, :,:), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

integer, intent(in) :: start3

Starting index of Var array's dimension

integer, intent(in) :: stop3

Last index of Var array's dimension

integer, intent(in) :: start4

Starting index of Var array's dimension

integer, intent(in) :: stop4

Last index of Var array's dimension

integer, intent(in) :: start5

Starting index of Var array's dimension

integer, intent(in) :: stop5

Last index of Var array's dimension

integer, intent(in) :: start6

Starting index of Var array's dimension

integer, intent(in) :: stop6

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank1_integer(var, start1, stop1, errmsg)

Allcoate 1-Dimensional array of type: integer

Arguments

Type IntentOptional AttributesName
integer, intent(inout), dimension(:), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank2_integer(var, start1, stop1, start2, stop2, errmsg)

Allcoate 2-Dimensional array of type: integer

Arguments

Type IntentOptional AttributesName
integer, intent(inout), dimension(:, :), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)

private subroutine alloc_rank3_integer(var, start1, stop1, start2, stop2, start3, stop3, errmsg)

Allcoate 3-Dimensional array of type: integer

Arguments

Type IntentOptional AttributesName
integer, intent(inout), dimension(:, :, :), allocatable:: var

Variable to which memory is allocated

integer, intent(in) :: start1

Starting index of Var array's dimension

integer, intent(in) :: stop1

Last index of Var array's dimension

integer, intent(in) :: start2

Starting index of Var array's dimension

integer, intent(in) :: stop2

Last index of Var array's dimension

integer, intent(in) :: start3

Starting index of Var array's dimension

integer, intent(in) :: stop3

Last index of Var array's dimension

character(len=*), intent(in), optional :: errmsg

Error message to print if mem_stat is not 0(successful)