Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Development v1.2 #2

Merged
merged 22 commits into from
Jun 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comments
  • Loading branch information
jchristopherson committed May 26, 2021
commit 6a4f77c5ea8349acd8f7098f88c9703a08ee3c4e
16 changes: 16 additions & 0 deletions src/collections.f90
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module collections
public :: dictionary
public :: hash_code
public :: linked_list
public :: table

! ******************************************************************************
! TYPES
Expand Down Expand Up @@ -300,6 +301,21 @@ module collections
procedure, public :: move_to => ll_move_to_matching
end type

! ------------------------------------------------------------------------------
!> @brief Defines a table convenient for storing mixed-type data.
type table
private
!> @brief The data table.
type(container), allocatable, dimension(:,:) :: m_table

! TO DO:
! - Figure out how to access entire columns of data without making
! copies. It would also be nice to access rows in a similar manner,
! but not a hard requirement.
! - Figure out how to efficiently access subtables as well
contains
end type

! ******************************************************************************
! FUNCTION PROTOTYPES
! ------------------------------------------------------------------------------
Expand Down