- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the manual I found:
EXTERNAL FACET CALL BAR(FACET) SUBROUTINE BAR(F) EXTERNAL F CALL F(2)
I would like something as:
SUBROUTINE BAR(F,t,y) EXTERNAL, DIMENSION(1:2) :: F EXTERNAL fun fun = F(1) CALL fun(t,y) fun = F(2) CALL fun(t,y)
and
f(1) = myode f(2) = myresult SUBROUTINE myode(t,y) ! do something END SUBROUTINE myresult(t,y) ! do something END Do you think it is possibile?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look in documentation under "Procedure Pointers as Derived-Type Components".
Jim Dempsey

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page