pointer_view Interface

public interface pointer_view

Contents


Module Procedures

private function pointer_view_s(original, lb, ub) result(view)

Returns a pointer with different bounds.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_4), DIMENSION(:), POINTER:: original

original data pointer new pointer

integer, intent(in) :: lb

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

integer, intent(in) :: ub

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

Return Value real(kind=real_4),DIMENSION(:), POINTER

original data pointer new pointer

private function pointer_view_d(original, lb, ub) result(view)

Returns a pointer with different bounds.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_8), DIMENSION(:), POINTER:: original

original data pointer new pointer

integer, intent(in) :: lb

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

integer, intent(in) :: ub

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

Return Value real(kind=real_8),DIMENSION(:), POINTER

original data pointer new pointer

private function pointer_view_c(original, lb, ub) result(view)

Returns a pointer with different bounds.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_4), DIMENSION(:), POINTER:: original

original data pointer new pointer

integer, intent(in) :: lb

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

integer, intent(in) :: ub

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

Return Value complex(kind=real_4),DIMENSION(:), POINTER

original data pointer new pointer

private function pointer_view_z(original, lb, ub) result(view)

Returns a pointer with different bounds.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_8), DIMENSION(:), POINTER:: original

original data pointer new pointer

integer, intent(in) :: lb

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

integer, intent(in) :: ub

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

Return Value complex(kind=real_8),DIMENSION(:), POINTER

original data pointer new pointer

private function pointer_view_i(original, lb, ub) result(view)

Returns a pointer with different bounds.

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_4), DIMENSION(:), POINTER:: original

original data pointer new pointer

integer, intent(in) :: lb

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

integer, intent(in) :: ub

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

Return Value integer(kind=int_4),DIMENSION(:), POINTER

original data pointer new pointer

private function pointer_view_l(original, lb, ub) result(view)

Returns a pointer with different bounds.

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_8), DIMENSION(:), POINTER:: original

original data pointer new pointer

integer, intent(in) :: lb

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

integer, intent(in) :: ub

lower and upper bound for the new pointer view lower and upper bound for the new pointer view

Return Value integer(kind=int_8),DIMENSION(:), POINTER

original data pointer new pointer

private function pointer_view_a(new_area, area, offset, len) result(narea2)

Repoints a pointer into a part of a data area

Arguments

TypeIntentOptionalAttributesName
type(dbcsr_data_obj), intent(inout) :: new_area

repoints this encapsulated pointer

type(dbcsr_data_obj), intent(in) :: area

area to point into

integer, intent(in) :: offset

point to this offset in area

integer, intent(in), optional :: len

length of data area to point to

Return Value type(dbcsr_data_obj)

copy of new_area