Skip to content
ForCADDocumentation

get_array Interface

public interface get_array

Module Procedures

private pure subroutine get_real_vector(input, output, ok)

Copy owned real-vector data or return an allocated empty result.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), allocatable :: input(:)
real(kind=rk), intent(out), allocatable :: output(:)
logical, intent(in) :: ok

private pure subroutine get_real_matrix(input, output, ok)

Copy owned real-matrix data without an intermediate return-value array.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), allocatable :: input(:,:)
real(kind=rk), intent(out), allocatable :: output(:,:)
logical, intent(in) :: ok

private pure subroutine get_integer_matrix(input, output, ok)

Copy owned connectivity or return an allocated empty result.

Arguments

Type IntentOptional Attributes Name
integer, intent(in), allocatable :: input(:,:)
integer, intent(out), allocatable :: output(:,:)
logical, intent(in) :: ok