-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed from .f03 to .f90 to facilitate use (from Beliavsky recommend…
…ation in ffadrique/XFunit)
- Loading branch information
Fran Martinez Fadrique
committed
Feb 5, 2022
1 parent
6eed74a
commit d83ffda
Showing
37 changed files
with
5,214 additions
and
5,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,49 @@ | ||
module m_eop_list | ||
|
||
! Use statements | ||
use m_eop_vector_ftl | ||
use m_leap_list_ftl | ||
|
||
|
||
! Container object declarations | ||
type(t_eop_vector_ftl) :: eop_object | ||
type(t_leap_list_ftl) :: leap_object | ||
|
||
! Contained object declarations wit the intent attribute | ||
class(t_eop_vector_ftl), pointer, intent(in) :: eop_object | ||
class(t_leap_list_ftl), allocatable, dimension(:), intent(out) :: leap_object | ||
|
||
|
||
! Iterator decalrations | ||
type(t_eop_vector_ftl_iterator) :: eop_object | ||
type(t_leap_list_ftl_iterator) :: leap_object | ||
|
||
|
||
! Inheritance of a container | ||
type, extends(eop_vector_ftl) :: t_eop_list | ||
type, extends(leap_list_ftl), abstract :: t_leap_list | ||
|
||
|
||
! Type selection (class or type) | ||
select type( x ) | ||
type is(t_eop_vector_ftl) | ||
|
||
class is(t_leap_list_ftl) | ||
|
||
end select | ||
|
||
|
||
! Reference to the parent in a type derived by inheritance | ||
x = object%t_eop_vector_ftl%get_param() | ||
y = object%t_leap_list_ftl%get_param() | ||
|
||
|
||
! Constructor | ||
x = eop_vector_ftl() | ||
y = leap_list_ftl( a, b ) | ||
|
||
|
||
end module m_eop_list | ||
|
||
! 2022-02-01T00:46:47 | ||
module m_eop_list | ||
|
||
! Use statements | ||
use m_eop_vector_ftl | ||
use m_leap_list_ftl | ||
|
||
|
||
! Container object declarations | ||
type(t_eop_vector_ftl) :: eop_object | ||
type(t_leap_list_ftl) :: leap_object | ||
|
||
|
||
! Contained object declarations wit the intent attribute | ||
class(t_eop_vector_ftl), pointer, intent(in) :: eop_object | ||
class(t_leap_list_ftl), allocatable, dimension(:), intent(out) :: leap_object | ||
|
||
|
||
! Iterator declarations | ||
type(t_eop_vector_ftl_iterator) :: eop_object | ||
type(t_leap_list_ftl_iterator) :: leap_object | ||
|
||
|
||
! Inheritance of a container | ||
type, extends(t_eop_vector_ftl) :: t_eop_list | ||
type, extends(t_leap_list_ftl), abstract :: t_leap_list | ||
|
||
|
||
! Type selection (class or type) | ||
select type( x ) | ||
type is(t_eop_vector_ftl) | ||
|
||
class is(t_leap_list_ftl) | ||
|
||
end select | ||
|
||
|
||
! Reference to the parent in a type derived by inheritance | ||
x = object%t_eop_vector_ftl%get_param() | ||
y = object%t_leap_list_ftl%get_param() | ||
|
||
|
||
! Constructor | ||
x = eop_vector_ftl() | ||
y = leap_list_ftl( a, b ) | ||
|
||
|
||
end module m_eop_list | ||
|
||
! 2022-02-05T22:12:26 |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.