LCC  1. 0. 0.
Crystal cutting code
Functions/Subroutines
lcc_allocation_mod Module Reference

Module for allocation operations. More...

Functions/Subroutines

subroutine, public lcc_reallocate_realvect (vect, ndim)
 To reallocate a real vector. More...
 
subroutine, public lcc_reallocate_realmat (mat, mdim, ndim)
 To reallocate a real mxn matrix. More...
 
subroutine, public lcc_reallocate_intvect (vect, ndim)
 To reallocate a real vector. More...
 
subroutine, public lcc_reallocate_intmat (mat, mdim, ndim)
 To reallocate an integer mxn matrix. More...
 
subroutine, public lcc_reallocate_char2vect (vect, ndim)
 To reallocate a character vector. More...
 
subroutine, public lcc_reallocate_char3vect (vect, ndim)
 To reallocate a character vector. More...
 

Detailed Description

Module for allocation operations.

Function/Subroutine Documentation

◆ lcc_reallocate_char2vect()

subroutine, public lcc_allocation_mod::lcc_reallocate_char2vect ( character(2), dimension(:), intent(inout), allocatable  vect,
integer, intent(in)  ndim 
)

To reallocate a character vector.

This will reallocate a character len=2 vector If it is already allocated, a deallocation will first happen.

Parameters
vectCharacter(2) 1D array.
ndimDimension to reallocate the vector to.

◆ lcc_reallocate_char3vect()

subroutine, public lcc_allocation_mod::lcc_reallocate_char3vect ( character(3), dimension(:), intent(inout), allocatable  vect,
integer, intent(in)  ndim 
)

To reallocate a character vector.

This will reallocate a character len=3 vector. If it is already allocated, a deallocation will first happen.

Parameters
vectCharacter(3) 1D array.
ndimDimension to reallocate the vector to.

◆ lcc_reallocate_intmat()

subroutine, public lcc_allocation_mod::lcc_reallocate_intmat ( integer, dimension(:,:), intent(inout), allocatable  mat,
integer, intent(in)  mdim,
integer, intent(in)  ndim 
)

To reallocate an integer mxn matrix.

This will reallocate a matrix. If it is already allocated, a deallocation will first happen.

Parameters
matInteger 2D array.
mnimFirst dimension to realocate the matrix to.
ndimSecond dimension to reallocate the matrix to.

◆ lcc_reallocate_intvect()

subroutine, public lcc_allocation_mod::lcc_reallocate_intvect ( integer, dimension(:), intent(inout), allocatable  vect,
integer, intent(in)  ndim 
)

To reallocate a real vector.

This will reallocate a vector If it is already allocated, a deallocation will first happen.

Parameters
vectInteger 1D array.
ndimDimension to reallocate the vector to.

◆ lcc_reallocate_realmat()

subroutine, public lcc_allocation_mod::lcc_reallocate_realmat ( real(dp), dimension(:,:), intent(inout), allocatable  mat,
integer, intent(in)  mdim,
integer, intent(in)  ndim 
)

To reallocate a real mxn matrix.

This will reallocate a matrix If it is already allocated, a deallocation will first happen.

Parameters
matReal 2D array.
mnimFirst dimension to realocate the matrix to.
ndimSecond dimension to reallocate the matrix to.

◆ lcc_reallocate_realvect()

subroutine, public lcc_allocation_mod::lcc_reallocate_realvect ( real(dp), dimension(:), intent(inout), allocatable  vect,
integer, intent(in)  ndim 
)

To reallocate a real vector.

This will reallocate a vector If it is already allocated, a deallocation will first happen.

Parameters
vectReal 1D array.
ndimDimension to reallocate the vector to.