GBTOlib: library for evaluation of molecular integrals in mixed Gaussian / B-spline basis 111
Loading...
Searching...
No Matches
utils_gbl::reserve_space Interface Reference

Public Member Functions

subroutine reserve_space_cfp (a, n)
 Extend array if too short.
subroutine reserve_space_int (a, n)

Member Function/Subroutine Documentation

◆ reserve_space_cfp()

subroutine utils_gbl::reserve_space::reserve_space_cfp ( real(cfp), dimension(:), intent(inout), allocatable a,
integer, intent(in) n )

Extend array if too short.

Authors
J Benda
Date
2019

Given an array A and a size parameter n, check that the array can store at least n elements. If not, reallocate the array to the length of twice n. The newly added elements are left uninitialized. The input array does not need to be allocated.

◆ reserve_space_int()

subroutine utils_gbl::reserve_space::reserve_space_int ( integer, dimension(:), intent(inout), allocatable a,
integer, intent(in) n )

The documentation for this interface was generated from the following file: