Skip to content

Commit

Permalink
update with a horrible fzf
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebenelli committed Jun 13, 2024
1 parent c079243 commit d00f5da
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
18 changes: 18 additions & 0 deletions app/main.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
program main
use forsus, only: Substance
use forsus__available, only: show_available

type(Substance) :: sus
character(len=50) :: nam

call show_available(nam)
sus = Substance(nam)


print *, nam
print *, sus%critical%critical_temperature%name, sus%critical%critical_temperature%value

print *, "UNIFAC-VLE"
print *, sus%unifac_vle%ids
print *, sus%unifac_vle%counts
end program
3 changes: 2 additions & 1 deletion src/forsus.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module forsus
use forsus_constants
use forsus_properties
use forsus_substance
use forsus__available

character(len=*), parameter :: version = VERSION
end module
end module
4 changes: 4 additions & 0 deletions test/test_available.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
program main
use forsus__available, only: show_available
call show_available
end program

0 comments on commit d00f5da

Please sign in to comment.