(git:374b731)
Loading...
Searching...
No Matches
cp_linked_list_xc_deriv.F File Reference

Go to the source code of this file.

Data Types

interface  cp_linked_list_xc_deriv::cp_create
 
interface  cp_linked_list_xc_deriv::cp_dealloc
 
interface  cp_linked_list_xc_deriv::cp_next
 
interface  cp_linked_list_xc_deriv::cp_get_first_el
 
interface  cp_linked_list_xc_deriv::cp_get_rest
 
interface  cp_linked_list_xc_deriv::cp_get_length
 
interface  cp_linked_list_xc_deriv::cp_get_element_at
 
interface  cp_linked_list_xc_deriv::cp_set_element_at
 
interface  cp_linked_list_xc_deriv::cp_insert
 
interface  cp_linked_list_xc_deriv::cp_remove_el
 
interface  cp_linked_list_xc_deriv::cp_remove_first_el
 
interface  cp_linked_list_xc_deriv::cp_remove_all
 
interface  cp_linked_list_xc_deriv::cp_to_array
 
type  cp_linked_list_xc_deriv::cp_sll_xc_deriv_type
 represent a single linked list that stores pointers to the elements More...
 
type  cp_linked_list_xc_deriv::cp_sll_xc_deriv_p_type
 pointer to a linked list (to make arrays of pointers) More...
 

Modules

module  cp_linked_list_xc_deriv
 

Functions/Subroutines

logical function cp_linked_list_xc_deriv::cp_sll_deriv_less_q (el1, el2)
 private compare function
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_create (sll, first_el, rest)
 allocates and initializes a single linked list
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present!
 
type(xc_derivative_type) function, pointer, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_get_first_el (sll)
 returns the first element stored in the list
 
type(cp_sll_xc_deriv_type) function, pointer, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_get_rest (sll, iter)
 returns the rest of the list
 
integer function, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_get_length (sll)
 returns the length of the list
 
type(xc_derivative_type) function, pointer, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_get_el_at (sll, index)
 returns the element at the given index
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_set_el_at (sll, index, value)
 sets the element at the given index
 
logical function, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_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_linked_list_xc_deriv::cp_sll_xc_deriv_insert_el (sll, el)
 insert an element at the beginning of the list
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_rm_first_el (sll)
 remove the first element of the linked list
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_insert_el_at (sll, el, index)
 inserts the element at the given index
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_rm_el_at (sll, index)
 removes the element at the given index
 
subroutine, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_rm_all_el (sll)
 removes all the elements from the list
 
type(xc_derivative_p_type) function, dimension(:), pointer, public cp_linked_list_xc_deriv::cp_sll_xc_deriv_to_array (sll)
 returns a newly allocated array with the same contents as the linked list