(git:3d5d2e5)
Loading...
Searching...
No Matches
cp_linked_list_pw Module Reference

Data Types

interface  cp_create
interface  cp_dealloc
interface  cp_next
interface  cp_get_first_el
interface  cp_get_rest
interface  cp_get_length
interface  cp_get_element_at
interface  cp_set_element_at
interface  cp_insert
interface  cp_remove_el
interface  cp_remove_first_el
interface  cp_remove_all
interface  cp_to_array
type  cp_sll_3d_r_type
 represent a single linked list that stores pointers to the elements More...
type  cp_sll_3d_c_type
 represent a single linked list that stores pointers to the elements More...
type  cp_sll_1d_r_type
 represent a single linked list that stores pointers to the elements More...
type  cp_sll_1d_c_type
 represent a single linked list that stores pointers to the elements More...
type  cp_sll_rs_type
 represent a single linked list that stores pointers to the elements More...
type  cp_sll_3d_r_p_type
 pointer to a linked list (to make arrays of pointers) More...
type  cp_sll_3d_c_p_type
 pointer to a linked list (to make arrays of pointers) More...
type  cp_sll_1d_r_p_type
 pointer to a linked list (to make arrays of pointers) More...
type  cp_sll_1d_c_p_type
 pointer to a linked list (to make arrays of pointers) More...
type  cp_sll_rs_p_type
 pointer to a linked list (to make arrays of pointers) More...

Functions/Subroutines

subroutine, public cp_sll_3d_r_create (sll, first_el, rest)
 allocates and initializes a single linked list
subroutine, public cp_sll_3d_c_create (sll, first_el, rest)
 allocates and initializes a single linked list
subroutine, public cp_sll_1d_r_create (sll, first_el, rest)
 allocates and initializes a single linked list
subroutine, public cp_sll_1d_c_create (sll, first_el, rest)
 allocates and initializes a single linked list
subroutine, public cp_sll_rs_create (sll, first_el, rest)
 allocates and initializes a single linked list
subroutine, public cp_sll_3d_r_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present!
subroutine, public cp_sll_3d_c_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present!
subroutine, public cp_sll_1d_r_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present!
subroutine, public cp_sll_1d_c_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present!
subroutine, public cp_sll_rs_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present!
real(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_sll_3d_r_get_first_el (sll)
 returns the first element stored in the list
complex(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_sll_3d_c_get_first_el (sll)
 returns the first element stored in the list
real(kind=dp) function, dimension(:), pointer, contiguous, public cp_sll_1d_r_get_first_el (sll)
 returns the first element stored in the list
complex(kind=dp) function, dimension(:), pointer, contiguous, public cp_sll_1d_c_get_first_el (sll)
 returns the first element stored in the list
type(realspace_grid_type) function, pointer, public cp_sll_rs_get_first_el (sll)
 returns the first element stored in the list
type(cp_sll_3d_r_type) function, pointer, public cp_sll_3d_r_get_rest (sll, iter)
 returns the rest of the list
type(cp_sll_3d_c_type) function, pointer, public cp_sll_3d_c_get_rest (sll, iter)
 returns the rest of the list
type(cp_sll_1d_r_type) function, pointer, public cp_sll_1d_r_get_rest (sll, iter)
 returns the rest of the list
type(cp_sll_1d_c_type) function, pointer, public cp_sll_1d_c_get_rest (sll, iter)
 returns the rest of the list
type(cp_sll_rs_type) function, pointer, public cp_sll_rs_get_rest (sll, iter)
 returns the rest of the list
integer function, public cp_sll_3d_r_get_length (sll)
 returns the length of the list
integer function, public cp_sll_3d_c_get_length (sll)
 returns the length of the list
integer function, public cp_sll_1d_r_get_length (sll)
 returns the length of the list
integer function, public cp_sll_1d_c_get_length (sll)
 returns the length of the list
integer function, public cp_sll_rs_get_length (sll)
 returns the length of the list
real(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_sll_3d_r_get_el_at (sll, index)
 returns the element at the given index
complex(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_sll_3d_c_get_el_at (sll, index)
 returns the element at the given index
real(kind=dp) function, dimension(:), pointer, contiguous, public cp_sll_1d_r_get_el_at (sll, index)
 returns the element at the given index
complex(kind=dp) function, dimension(:), pointer, contiguous, public cp_sll_1d_c_get_el_at (sll, index)
 returns the element at the given index
type(realspace_grid_type) function, pointer, public cp_sll_rs_get_el_at (sll, index)
 returns the element at the given index
subroutine, public cp_sll_3d_r_set_el_at (sll, index, value)
 sets the element at the given index
subroutine, public cp_sll_3d_c_set_el_at (sll, index, value)
 sets the element at the given index
subroutine, public cp_sll_1d_r_set_el_at (sll, index, value)
 sets the element at the given index
subroutine, public cp_sll_1d_c_set_el_at (sll, index, value)
 sets the element at the given index
subroutine, public cp_sll_rs_set_el_at (sll, index, value)
 sets the element at the given index
logical function, public cp_sll_3d_r_next (iterator, el_att)
 returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element
logical function, public cp_sll_3d_c_next (iterator, el_att)
 returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element
logical function, public cp_sll_1d_r_next (iterator, el_att)
 returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element
logical function, public cp_sll_1d_c_next (iterator, el_att)
 returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element
logical function, public cp_sll_rs_next (iterator, el_att)
 returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element
subroutine, public cp_sll_3d_r_insert_el (sll, el)
 insert an element at the beginning of the list
subroutine, public cp_sll_3d_c_insert_el (sll, el)
 insert an element at the beginning of the list
subroutine, public cp_sll_1d_r_insert_el (sll, el)
 insert an element at the beginning of the list
subroutine, public cp_sll_1d_c_insert_el (sll, el)
 insert an element at the beginning of the list
subroutine, public cp_sll_rs_insert_el (sll, el)
 insert an element at the beginning of the list
subroutine, public cp_sll_3d_r_rm_first_el (sll)
 remove the first element of the linked list
subroutine, public cp_sll_3d_c_rm_first_el (sll)
 remove the first element of the linked list
subroutine, public cp_sll_1d_r_rm_first_el (sll)
 remove the first element of the linked list
subroutine, public cp_sll_1d_c_rm_first_el (sll)
 remove the first element of the linked list
subroutine, public cp_sll_rs_rm_first_el (sll)
 remove the first element of the linked list
subroutine, public cp_sll_3d_r_insert_el_at (sll, el, index)
 inserts the element at the given index
subroutine, public cp_sll_3d_c_insert_el_at (sll, el, index)
 inserts the element at the given index
subroutine, public cp_sll_1d_r_insert_el_at (sll, el, index)
 inserts the element at the given index
subroutine, public cp_sll_1d_c_insert_el_at (sll, el, index)
 inserts the element at the given index
subroutine, public cp_sll_rs_insert_el_at (sll, el, index)
 inserts the element at the given index
subroutine, public cp_sll_3d_r_rm_el_at (sll, index)
 removes the element at the given index
subroutine, public cp_sll_3d_c_rm_el_at (sll, index)
 removes the element at the given index
subroutine, public cp_sll_1d_r_rm_el_at (sll, index)
 removes the element at the given index
subroutine, public cp_sll_1d_c_rm_el_at (sll, index)
 removes the element at the given index
subroutine, public cp_sll_rs_rm_el_at (sll, index)
 removes the element at the given index
subroutine, public cp_sll_3d_r_rm_all_el (sll)
 removes all the elements from the list
subroutine, public cp_sll_3d_c_rm_all_el (sll)
 removes all the elements from the list
subroutine, public cp_sll_1d_r_rm_all_el (sll)
 removes all the elements from the list
subroutine, public cp_sll_1d_c_rm_all_el (sll)
 removes all the elements from the list
subroutine, public cp_sll_rs_rm_all_el (sll)
 removes all the elements from the list
type(cp_3d_r_cp_type) function, dimension(:), pointer, public cp_sll_3d_r_to_array (sll)
 returns a newly allocated array with the same contents as the linked list
type(cp_3d_c_cp_type) function, dimension(:), pointer, public cp_sll_3d_c_to_array (sll)
 returns a newly allocated array with the same contents as the linked list
type(cp_1d_r_cp_type) function, dimension(:), pointer, public cp_sll_1d_r_to_array (sll)
 returns a newly allocated array with the same contents as the linked list
type(cp_1d_c_cp_type) function, dimension(:), pointer, public cp_sll_1d_c_to_array (sll)
 returns a newly allocated array with the same contents as the linked list
type(realspace_grid_p_type) function, dimension(:), pointer, public cp_sll_rs_to_array (sll)
 returns a newly allocated array with the same contents as the linked list

Function/Subroutine Documentation

◆ cp_sll_3d_r_create()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_create ( type(cp_sll_3d_r_type), pointer sll,
real(kind=dp), dimension(:,:,:), optional, pointer, contiguous first_el,
type(cp_sll_3d_r_type), optional, pointer rest )

allocates and initializes a single linked list

Parameters
sllthe single linked list to initialize
first_elthe first element of this list
restthe following elements (if not given: empty)
History
none
Author
Fawzi Mohamed

Definition at line 417 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_create()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_create ( type(cp_sll_3d_c_type), pointer sll,
complex(kind=dp), dimension(:,:,:), optional, pointer, contiguous first_el,
type(cp_sll_3d_c_type), optional, pointer rest )

allocates and initializes a single linked list

Parameters
sllthe single linked list to initialize
first_elthe first element of this list
restthe following elements (if not given: empty)
History
none
Author
Fawzi Mohamed

Definition at line 442 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_create()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_create ( type(cp_sll_1d_r_type), pointer sll,
real(kind=dp), dimension(:), optional, pointer, contiguous first_el,
type(cp_sll_1d_r_type), optional, pointer rest )

allocates and initializes a single linked list

Parameters
sllthe single linked list to initialize
first_elthe first element of this list
restthe following elements (if not given: empty)
History
none
Author
Fawzi Mohamed

Definition at line 467 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_create()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_create ( type(cp_sll_1d_c_type), pointer sll,
complex(kind=dp), dimension(:), optional, pointer, contiguous first_el,
type(cp_sll_1d_c_type), optional, pointer rest )

allocates and initializes a single linked list

Parameters
sllthe single linked list to initialize
first_elthe first element of this list
restthe following elements (if not given: empty)
History
none
Author
Fawzi Mohamed

Definition at line 492 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_create()

subroutine, public cp_linked_list_pw::cp_sll_rs_create ( type(cp_sll_rs_type), pointer sll,
type(realspace_grid_type), optional, pointer first_el,
type(cp_sll_rs_type), optional, pointer rest )

allocates and initializes a single linked list

Parameters
sllthe single linked list to initialize
first_elthe first element of this list
restthe following elements (if not given: empty)
History
none
Author
Fawzi Mohamed

Definition at line 517 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_dealloc()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_dealloc ( type(cp_sll_3d_r_type), pointer sll)

deallocates the singly linked list starting at sll. Does not work if loops are present!

Parameters
sllthe list to be deallocated
History
none
Author
Fawzi Mohamed
Note
does not deallocate the elements that are stored in the list check more?

Definition at line 545 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_dealloc()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_dealloc ( type(cp_sll_3d_c_type), pointer sll)

deallocates the singly linked list starting at sll. Does not work if loops are present!

Parameters
sllthe list to be deallocated
History
none
Author
Fawzi Mohamed
Note
does not deallocate the elements that are stored in the list check more?

Definition at line 561 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_dealloc()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_dealloc ( type(cp_sll_1d_r_type), pointer sll)

deallocates the singly linked list starting at sll. Does not work if loops are present!

Parameters
sllthe list to be deallocated
History
none
Author
Fawzi Mohamed
Note
does not deallocate the elements that are stored in the list check more?

Definition at line 577 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_dealloc()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_dealloc ( type(cp_sll_1d_c_type), pointer sll)

deallocates the singly linked list starting at sll. Does not work if loops are present!

Parameters
sllthe list to be deallocated
History
none
Author
Fawzi Mohamed
Note
does not deallocate the elements that are stored in the list check more?

Definition at line 593 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_dealloc()

subroutine, public cp_linked_list_pw::cp_sll_rs_dealloc ( type(cp_sll_rs_type), pointer sll)

deallocates the singly linked list starting at sll. Does not work if loops are present!

Parameters
sllthe list to be deallocated
History
none
Author
Fawzi Mohamed
Note
does not deallocate the elements that are stored in the list check more?

Definition at line 609 of file cp_linked_list_pw.F.

◆ cp_sll_3d_r_get_first_el()

real(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_linked_list_pw::cp_sll_3d_r_get_first_el ( type(cp_sll_3d_r_type), pointer sll)

returns the first element stored in the list

Parameters
sllthe single linked list to get the element from
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 688 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_get_first_el()

complex(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_linked_list_pw::cp_sll_3d_c_get_first_el ( type(cp_sll_3d_c_type), pointer sll)

returns the first element stored in the list

Parameters
sllthe single linked list to get the element from
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 702 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_get_first_el()

real(kind=dp) function, dimension(:), pointer, contiguous, public cp_linked_list_pw::cp_sll_1d_r_get_first_el ( type(cp_sll_1d_r_type), pointer sll)

returns the first element stored in the list

Parameters
sllthe single linked list to get the element from
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 716 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_get_first_el()

complex(kind=dp) function, dimension(:), pointer, contiguous, public cp_linked_list_pw::cp_sll_1d_c_get_first_el ( type(cp_sll_1d_c_type), pointer sll)

returns the first element stored in the list

Parameters
sllthe single linked list to get the element from
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 730 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_get_first_el()

type(realspace_grid_type) function, pointer, public cp_linked_list_pw::cp_sll_rs_get_first_el ( type(cp_sll_rs_type), pointer sll)

returns the first element stored in the list

Parameters
sllthe single linked list to get the element from
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 744 of file cp_linked_list_pw.F.

◆ cp_sll_3d_r_get_rest()

type(cp_sll_3d_r_type) function, pointer, public cp_linked_list_pw::cp_sll_3d_r_get_rest ( type(cp_sll_3d_r_type), pointer sll,
integer, optional iter )

returns the rest of the list

Parameters
sllthe single linked list to get the rest from
iterhow many times the call to rest should be iterated, defaults to 1; -1 means till end of the list.
Returns
...
History
none
Author
Fawzi Mohamed
Note
split the case iter=1 to make it more optimized?

Definition at line 763 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_get_rest()

type(cp_sll_3d_c_type) function, pointer, public cp_linked_list_pw::cp_sll_3d_c_get_rest ( type(cp_sll_3d_c_type), pointer sll,
integer, optional iter )

returns the rest of the list

Parameters
sllthe single linked list to get the rest from
iterhow many times the call to rest should be iterated, defaults to 1; -1 means till end of the list.
Returns
...
History
none
Author
Fawzi Mohamed
Note
split the case iter=1 to make it more optimized?

Definition at line 805 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_get_rest()

type(cp_sll_1d_r_type) function, pointer, public cp_linked_list_pw::cp_sll_1d_r_get_rest ( type(cp_sll_1d_r_type), pointer sll,
integer, optional iter )

returns the rest of the list

Parameters
sllthe single linked list to get the rest from
iterhow many times the call to rest should be iterated, defaults to 1; -1 means till end of the list.
Returns
...
History
none
Author
Fawzi Mohamed
Note
split the case iter=1 to make it more optimized?

Definition at line 847 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_get_rest()

type(cp_sll_1d_c_type) function, pointer, public cp_linked_list_pw::cp_sll_1d_c_get_rest ( type(cp_sll_1d_c_type), pointer sll,
integer, optional iter )

returns the rest of the list

Parameters
sllthe single linked list to get the rest from
iterhow many times the call to rest should be iterated, defaults to 1; -1 means till end of the list.
Returns
...
History
none
Author
Fawzi Mohamed
Note
split the case iter=1 to make it more optimized?

Definition at line 889 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_get_rest()

type(cp_sll_rs_type) function, pointer, public cp_linked_list_pw::cp_sll_rs_get_rest ( type(cp_sll_rs_type), pointer sll,
integer, optional iter )

returns the rest of the list

Parameters
sllthe single linked list to get the rest from
iterhow many times the call to rest should be iterated, defaults to 1; -1 means till end of the list.
Returns
...
History
none
Author
Fawzi Mohamed
Note
split the case iter=1 to make it more optimized?

Definition at line 931 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_get_length()

integer function, public cp_linked_list_pw::cp_sll_3d_r_get_length ( type(cp_sll_3d_r_type), pointer sll)

returns the length of the list

Parameters
sllthe list you want to know the length of
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(n))

Definition at line 972 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_get_length()

integer function, public cp_linked_list_pw::cp_sll_3d_c_get_length ( type(cp_sll_3d_c_type), pointer sll)

returns the length of the list

Parameters
sllthe list you want to know the length of
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(n))

Definition at line 999 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_get_length()

integer function, public cp_linked_list_pw::cp_sll_1d_r_get_length ( type(cp_sll_1d_r_type), pointer sll)

returns the length of the list

Parameters
sllthe list you want to know the length of
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(n))

Definition at line 1026 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_get_length()

integer function, public cp_linked_list_pw::cp_sll_1d_c_get_length ( type(cp_sll_1d_c_type), pointer sll)

returns the length of the list

Parameters
sllthe list you want to know the length of
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(n))

Definition at line 1053 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_get_length()

integer function, public cp_linked_list_pw::cp_sll_rs_get_length ( type(cp_sll_rs_type), pointer sll)

returns the length of the list

Parameters
sllthe list you want to know the length of
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(n))

Definition at line 1080 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_get_el_at()

real(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_linked_list_pw::cp_sll_3d_r_get_el_at ( type(cp_sll_3d_r_type), pointer sll,
integer, intent(in) index )

returns the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1109 of file cp_linked_list_pw.F.

◆ cp_sll_3d_c_get_el_at()

complex(kind=dp) function, dimension(:,:,:), pointer, contiguous, public cp_linked_list_pw::cp_sll_3d_c_get_el_at ( type(cp_sll_3d_c_type), pointer sll,
integer, intent(in) index )

returns the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1136 of file cp_linked_list_pw.F.

◆ cp_sll_1d_r_get_el_at()

real(kind=dp) function, dimension(:), pointer, contiguous, public cp_linked_list_pw::cp_sll_1d_r_get_el_at ( type(cp_sll_1d_r_type), pointer sll,
integer, intent(in) index )

returns the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1163 of file cp_linked_list_pw.F.

◆ cp_sll_1d_c_get_el_at()

complex(kind=dp) function, dimension(:), pointer, contiguous, public cp_linked_list_pw::cp_sll_1d_c_get_el_at ( type(cp_sll_1d_c_type), pointer sll,
integer, intent(in) index )

returns the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1190 of file cp_linked_list_pw.F.

◆ cp_sll_rs_get_el_at()

type(realspace_grid_type) function, pointer, public cp_linked_list_pw::cp_sll_rs_get_el_at ( type(cp_sll_rs_type), pointer sll,
integer, intent(in) index )

returns the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
Returns
...
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1217 of file cp_linked_list_pw.F.

◆ cp_sll_3d_r_set_el_at()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_set_el_at ( type(cp_sll_3d_r_type), pointer sll,
integer, intent(in) index,
real(kind=dp), dimension(:,:,:), pointer, contiguous value )

sets the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1) -1 means at the end
valuethe new element
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1246 of file cp_linked_list_pw.F.

◆ cp_sll_3d_c_set_el_at()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_set_el_at ( type(cp_sll_3d_c_type), pointer sll,
integer, intent(in) index,
complex(kind=dp), dimension(:,:,:), pointer, contiguous value )

sets the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1) -1 means at the end
valuethe new element
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1274 of file cp_linked_list_pw.F.

◆ cp_sll_1d_r_set_el_at()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_set_el_at ( type(cp_sll_1d_r_type), pointer sll,
integer, intent(in) index,
real(kind=dp), dimension(:), pointer, contiguous value )

sets the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1) -1 means at the end
valuethe new element
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1302 of file cp_linked_list_pw.F.

◆ cp_sll_1d_c_set_el_at()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_set_el_at ( type(cp_sll_1d_c_type), pointer sll,
integer, intent(in) index,
complex(kind=dp), dimension(:), pointer, contiguous value )

sets the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1) -1 means at the end
valuethe new element
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1330 of file cp_linked_list_pw.F.

◆ cp_sll_rs_set_el_at()

subroutine, public cp_linked_list_pw::cp_sll_rs_set_el_at ( type(cp_sll_rs_type), pointer sll,
integer, intent(in) index,
type(realspace_grid_type), pointer value )

sets the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1) -1 means at the end
valuethe new element
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1358 of file cp_linked_list_pw.F.

◆ cp_sll_3d_r_next()

logical function, public cp_linked_list_pw::cp_sll_3d_r_next ( type(cp_sll_3d_r_type), pointer iterator,
real(kind=dp), dimension(:,:,:), optional, pointer, contiguous el_att )

returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element

Parameters
iteratoriterator that moves along the list
el_attthe actual element (valid only if the function returns true)
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 1387 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_next()

logical function, public cp_linked_list_pw::cp_sll_3d_c_next ( type(cp_sll_3d_c_type), pointer iterator,
complex(kind=dp), dimension(:,:,:), optional, pointer, contiguous el_att )

returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element

Parameters
iteratoriterator that moves along the list
el_attthe actual element (valid only if the function returns true)
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 1410 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_next()

logical function, public cp_linked_list_pw::cp_sll_1d_r_next ( type(cp_sll_1d_r_type), pointer iterator,
real(kind=dp), dimension(:), optional, pointer, contiguous el_att )

returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element

Parameters
iteratoriterator that moves along the list
el_attthe actual element (valid only if the function returns true)
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 1433 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_next()

logical function, public cp_linked_list_pw::cp_sll_1d_c_next ( type(cp_sll_1d_c_type), pointer iterator,
complex(kind=dp), dimension(:), optional, pointer, contiguous el_att )

returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element

Parameters
iteratoriterator that moves along the list
el_attthe actual element (valid only if the function returns true)
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 1456 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_next()

logical function, public cp_linked_list_pw::cp_sll_rs_next ( type(cp_sll_rs_type), pointer iterator,
type(realspace_grid_type), optional, pointer el_att )

returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element

Parameters
iteratoriterator that moves along the list
el_attthe actual element (valid only if the function returns true)
Returns
...
History
none
Author
Fawzi Mohamed

Definition at line 1479 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_insert_el()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_insert_el ( type(cp_sll_3d_r_type), pointer sll,
real(kind=dp), dimension(:,:,:), pointer, contiguous el )

insert an element at the beginning of the list

Parameters
sllthe single linked list point at the beginning of which you want to add the element
elthe element to add
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1506 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_insert_el()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_insert_el ( type(cp_sll_3d_c_type), pointer sll,
complex(kind=dp), dimension(:,:,:), pointer, contiguous el )

insert an element at the beginning of the list

Parameters
sllthe single linked list point at the beginning of which you want to add the element
elthe element to add
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1530 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_insert_el()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_insert_el ( type(cp_sll_1d_r_type), pointer sll,
real(kind=dp), dimension(:), pointer, contiguous el )

insert an element at the beginning of the list

Parameters
sllthe single linked list point at the beginning of which you want to add the element
elthe element to add
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1554 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_insert_el()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_insert_el ( type(cp_sll_1d_c_type), pointer sll,
complex(kind=dp), dimension(:), pointer, contiguous el )

insert an element at the beginning of the list

Parameters
sllthe single linked list point at the beginning of which you want to add the element
elthe element to add
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1578 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_insert_el()

subroutine, public cp_linked_list_pw::cp_sll_rs_insert_el ( type(cp_sll_rs_type), pointer sll,
type(realspace_grid_type), pointer el )

insert an element at the beginning of the list

Parameters
sllthe single linked list point at the beginning of which you want to add the element
elthe element to add
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1602 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_rm_first_el()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_rm_first_el ( type(cp_sll_3d_r_type), pointer sll)

remove the first element of the linked list

Parameters
sllthe list whose first element has to be removed
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1625 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_rm_first_el()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_rm_first_el ( type(cp_sll_3d_c_type), pointer sll)

remove the first element of the linked list

Parameters
sllthe list whose first element has to be removed
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1648 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_rm_first_el()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_rm_first_el ( type(cp_sll_1d_r_type), pointer sll)

remove the first element of the linked list

Parameters
sllthe list whose first element has to be removed
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1671 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_rm_first_el()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_rm_first_el ( type(cp_sll_1d_c_type), pointer sll)

remove the first element of the linked list

Parameters
sllthe list whose first element has to be removed
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1694 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_rm_first_el()

subroutine, public cp_linked_list_pw::cp_sll_rs_rm_first_el ( type(cp_sll_rs_type), pointer sll)

remove the first element of the linked list

Parameters
sllthe list whose first element has to be removed
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 1717 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_insert_el_at()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_insert_el_at ( type(cp_sll_3d_r_type), pointer sll,
real(kind=dp), dimension(:,:,:), pointer, contiguous el,
integer, intent(in) index )

inserts the element at the given index

Parameters
sllthe list you get the element from
elthe new element
indexthe position of the element (stating at 1). If it is -1, it means at end
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1744 of file cp_linked_list_pw.F.

Here is the call graph for this function:

◆ cp_sll_3d_c_insert_el_at()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_insert_el_at ( type(cp_sll_3d_c_type), pointer sll,
complex(kind=dp), dimension(:,:,:), pointer, contiguous el,
integer, intent(in) index )

inserts the element at the given index

Parameters
sllthe list you get the element from
elthe new element
indexthe position of the element (stating at 1). If it is -1, it means at end
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1775 of file cp_linked_list_pw.F.

Here is the call graph for this function:

◆ cp_sll_1d_r_insert_el_at()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_insert_el_at ( type(cp_sll_1d_r_type), pointer sll,
real(kind=dp), dimension(:), pointer, contiguous el,
integer, intent(in) index )

inserts the element at the given index

Parameters
sllthe list you get the element from
elthe new element
indexthe position of the element (stating at 1). If it is -1, it means at end
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1806 of file cp_linked_list_pw.F.

Here is the call graph for this function:

◆ cp_sll_1d_c_insert_el_at()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_insert_el_at ( type(cp_sll_1d_c_type), pointer sll,
complex(kind=dp), dimension(:), pointer, contiguous el,
integer, intent(in) index )

inserts the element at the given index

Parameters
sllthe list you get the element from
elthe new element
indexthe position of the element (stating at 1). If it is -1, it means at end
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1837 of file cp_linked_list_pw.F.

Here is the call graph for this function:

◆ cp_sll_rs_insert_el_at()

subroutine, public cp_linked_list_pw::cp_sll_rs_insert_el_at ( type(cp_sll_rs_type), pointer sll,
type(realspace_grid_type), pointer el,
integer, intent(in) index )

inserts the element at the given index

Parameters
sllthe list you get the element from
elthe new element
indexthe position of the element (stating at 1). If it is -1, it means at end
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1868 of file cp_linked_list_pw.F.

Here is the call graph for this function:

◆ cp_sll_3d_r_rm_el_at()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_rm_el_at ( type(cp_sll_3d_r_type), pointer sll,
integer, intent(in) index )

removes the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1898 of file cp_linked_list_pw.F.

◆ cp_sll_3d_c_rm_el_at()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_rm_el_at ( type(cp_sll_3d_c_type), pointer sll,
integer, intent(in) index )

removes the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1926 of file cp_linked_list_pw.F.

◆ cp_sll_1d_r_rm_el_at()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_rm_el_at ( type(cp_sll_1d_r_type), pointer sll,
integer, intent(in) index )

removes the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1954 of file cp_linked_list_pw.F.

◆ cp_sll_1d_c_rm_el_at()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_rm_el_at ( type(cp_sll_1d_c_type), pointer sll,
integer, intent(in) index )

removes the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 1982 of file cp_linked_list_pw.F.

◆ cp_sll_rs_rm_el_at()

subroutine, public cp_linked_list_pw::cp_sll_rs_rm_el_at ( type(cp_sll_rs_type), pointer sll,
integer, intent(in) index )

removes the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 2010 of file cp_linked_list_pw.F.

◆ cp_sll_3d_r_rm_all_el()

subroutine, public cp_linked_list_pw::cp_sll_3d_r_rm_all_el ( type(cp_sll_3d_r_type), pointer sll)

removes all the elements from the list

Parameters
sllthe list that should be removed
History
none
Author
Fawzi Mohamed
Note
check more?

Definition at line 2038 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_c_rm_all_el()

subroutine, public cp_linked_list_pw::cp_sll_3d_c_rm_all_el ( type(cp_sll_3d_c_type), pointer sll)

removes all the elements from the list

Parameters
sllthe list that should be removed
History
none
Author
Fawzi Mohamed
Note
check more?

Definition at line 2061 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_r_rm_all_el()

subroutine, public cp_linked_list_pw::cp_sll_1d_r_rm_all_el ( type(cp_sll_1d_r_type), pointer sll)

removes all the elements from the list

Parameters
sllthe list that should be removed
History
none
Author
Fawzi Mohamed
Note
check more?

Definition at line 2084 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_1d_c_rm_all_el()

subroutine, public cp_linked_list_pw::cp_sll_1d_c_rm_all_el ( type(cp_sll_1d_c_type), pointer sll)

removes all the elements from the list

Parameters
sllthe list that should be removed
History
none
Author
Fawzi Mohamed
Note
check more?

Definition at line 2107 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_rs_rm_all_el()

subroutine, public cp_linked_list_pw::cp_sll_rs_rm_all_el ( type(cp_sll_rs_type), pointer sll)

removes all the elements from the list

Parameters
sllthe list that should be removed
History
none
Author
Fawzi Mohamed
Note
check more?

Definition at line 2130 of file cp_linked_list_pw.F.

Here is the caller graph for this function:

◆ cp_sll_3d_r_to_array()

type(cp_3d_r_cp_type) function, dimension(:), pointer, public cp_linked_list_pw::cp_sll_3d_r_to_array ( type(cp_sll_3d_r_type), pointer sll)

returns a newly allocated array with the same contents as the linked list

Parameters
sllthe list to transform in array
Returns
...
History
07.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 2154 of file cp_linked_list_pw.F.

◆ cp_sll_3d_c_to_array()

type(cp_3d_c_cp_type) function, dimension(:), pointer, public cp_linked_list_pw::cp_sll_3d_c_to_array ( type(cp_sll_3d_c_type), pointer sll)

returns a newly allocated array with the same contents as the linked list

Parameters
sllthe list to transform in array
Returns
...
History
07.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 2180 of file cp_linked_list_pw.F.

◆ cp_sll_1d_r_to_array()

type(cp_1d_r_cp_type) function, dimension(:), pointer, public cp_linked_list_pw::cp_sll_1d_r_to_array ( type(cp_sll_1d_r_type), pointer sll)

returns a newly allocated array with the same contents as the linked list

Parameters
sllthe list to transform in array
Returns
...
History
07.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 2206 of file cp_linked_list_pw.F.

◆ cp_sll_1d_c_to_array()

type(cp_1d_c_cp_type) function, dimension(:), pointer, public cp_linked_list_pw::cp_sll_1d_c_to_array ( type(cp_sll_1d_c_type), pointer sll)

returns a newly allocated array with the same contents as the linked list

Parameters
sllthe list to transform in array
Returns
...
History
07.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 2232 of file cp_linked_list_pw.F.

◆ cp_sll_rs_to_array()

type(realspace_grid_p_type) function, dimension(:), pointer, public cp_linked_list_pw::cp_sll_rs_to_array ( type(cp_sll_rs_type), pointer sll)

returns a newly allocated array with the same contents as the linked list

Parameters
sllthe list to transform in array
Returns
...
History
07.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 2258 of file cp_linked_list_pw.F.