array_functions_interface Module

Functionally pure array utilities Because the Fortran standard requires that user-defined operator dummy arguments have the INTENT(IN) attribute, exposing only the operator and not the function names communicates more information in the public interface and in code using this interface.


Uses

  • module~~array_functions_interface~~UsesGraph module~array_functions_interface array_functions_interface module~kind_parameters kind_parameters module~array_functions_interface->module~kind_parameters iso_fortran_env iso_fortran_env module~kind_parameters->iso_fortran_env

Used by

  • module~~array_functions_interface~~UsedByGraph module~array_functions_interface array_functions_interface proc~vtk_output vtk_output proc~vtk_output->module~array_functions_interface module~array_functions_implementation array_functions_implementation module~array_functions_implementation->module~array_functions_interface

Contents


Interfaces

public interface operator(.catcolumns.)

public interface operator(.catrows.)

public interface operator(.columnvectors.)

interface

  • private pure module function column_vectors(vector_field) result(array_of_3d_column_vectors)

    Result is array of 3D column vectors of dimension (space_dim,nxnynz) reshaped from vector-field argument of dimension (nx,ny,nz,space_dim)

    Arguments

    Type IntentOptional AttributesName
    real(kind=r8k), intent(in), dimension(:,:,:,:):: vector_field

    Return Value real(kind=r8k), dimension(:,:), allocatable

interface

  • private pure module function concatenate_columns(a, b) result(concatenated)

    Result contains the concatenation of the columns of argument a with the columns of argument b

    Arguments

    Type IntentOptional AttributesName
    real(kind=r8k), intent(in), dimension(:,:):: a
    real(kind=r8k), intent(in), dimension(:,:):: b

    Return Value real(kind=r8k), dimension(:,:), allocatable

interface

  • private pure module function concatenate_rows(a, b) result(concatenated)

    Result contains the concatenation of the rows of argument a with the rows of argument b

    Arguments

    Type IntentOptional AttributesName
    real(kind=r8k), intent(in), dimension(:,:):: a
    real(kind=r8k), intent(in), dimension(:,:):: b

    Return Value real(kind=r8k), dimension(:,:), allocatable