View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Thu May 15, 2008 9:52 am Post subject: User's Examples |
|
|
topic to the index of this forum with the users codes is suggested to add to this site which will demonstrate what is possible to do with Salford fortran |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Wed Nov 04, 2009 11:48 am Post subject: |
|
|
Until now there was at all no respond to this. This is actaully a very good idea Learning by example is always a good start. One thing that I still cannot understand is why the examples in the FTN install directory is nowhere mentioned. If this could come to the fore it will be easy to convince anyone to use (maybe) Fortran for his application.
Recently I atended a meeting where guys demand JAVA for numerical calculations becaues of some irreproducible arguments. It is important to mention that these guys:
a) do not know how data are (or can be ) transferred between programs;
b) have nothing good to say about Open Source and in the next sentence demand the use of JAVA for numerical applications and
c) want to port 10 thousands of code to JAVA without any good arguments.
What can say: do'nt drink and drive. |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Sun Dec 13, 2009 6:14 pm Post subject: |
|
|
Unfortunate Silverfrost does not respond (directly) to this. It would be interesting to know why.
Anyway, SIMDEM and SIMFIT might be the first attempt to fill this gap! I have taken a look at the stuff (and still continues to) - impressive. Many of the available functions offered I usually did with Matlab. And generating eps format for the graphics is fantasitc for any LaTeX user Even the source of the documentation is available - great stuff.
Thanks to Bill Bardsley! |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Wed Dec 16, 2009 3:23 pm Post subject: |
|
|
FTN95 examples could be the most expiring ever any Fortran compiler on the earth produced. But even worse, you can not find existing poor examples folder easily...I am now searching for it for 20 min (despite i even have asked here before where they moved to and know that it is in some "Documents and Settings" folder but i have 6 Windows installations and 10 users in each, some have no access)
Last edited by DanRRight on Wed Dec 16, 2009 4:45 pm; edited 1 time in total |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7932 Location: Salford, UK
|
Posted: Wed Dec 16, 2009 4:41 pm Post subject: |
|
|
Trying searching for demo95.f90. It is in the root of the examples section. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Thu Dec 17, 2009 6:17 am Post subject: |
|
|
This pointed me into older installation in the win32app folder...Fun is i still could not find newer ones with multithreading example which showed how to make WRITE(*,*) FOO not to cause code to crash if function FOO performs the write itself ? BTW, is it possible to do only in multithreaded code ? |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Fri Jan 01, 2010 10:43 am Post subject: |
|
|
DanRRight wrote: | BTW, I have sent a year or two ago such and some other snippet examples to Silverfrosts Andrew when he asked here for user examples contributions . Did not heard since that how this idea was evolving |
@Andrew, I would be pleased if you could give some comments on the user examples topic. As you probably know, the best way to program is to find some example which does what you like in some way and then change it. |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Thu Jan 07, 2010 9:00 am Post subject: |
|
|
Unfortunately the progress on this issue is somewhat slow. A pitty I must admit, and especially because it was initiated by Silverfrost: http://forums.silverfrost.com/viewtopic.php?t=1082
I got some example code from Dan (by email) which uses both opengl and Clearwin. Really impressive. Now if this does not impress someone that considers to use FTN95, I am in the wrong movie.
Solar Kingdom is a good and impressive as well. Since the code is not available, it does not motivate me to use FTN95. Anyone that wants to use FTN95 would like to choose some example that does more or less what he has in mind - and then change it. Is this not the way to program nowadays? Cut, paste and compile. Whether or not this is a good trend I cannot judge. Fact is, that is in demand. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Thu Jan 14, 2010 2:05 am Post subject: |
|
|
If interested i can email them to anyone.
I have couple OpenGL and Clearwin examples of visualisation of 2D and 3D meshes, pie chart, global time routine, photo editing program (resize, change perspective) which do things like in this link http://forums.silverfrost.com/viewtopic.php?t=1499
Last edited by DanRRight on Thu Feb 04, 2010 11:48 pm; edited 4 times in total |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Mon Jan 18, 2010 7:14 pm Post subject: |
|
|
I see images which were hosted by imageshack are gone. Seems they do not like to pay for excessive traffic LOL. Any suggestions where we can place them instead? |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Tue Jan 19, 2010 2:46 pm Post subject: |
|
|
Hi Dan,
I really enjoy and learn from your examples! And I am sure that others can learn as well! What I do not understand is why Silverfrost does not respond to this. It must be in the interest of Silverfrost to promote their ClearWin+ product. And if it are user examples it means that ClearWin is in use out there.
Since I am new in using (or learning) ClearWin I think an example that
1.) get some user information;
2.) perorm some calculation and
3.) then display the result
will also be very interesting. My background in using Fortran until now is only numerical calculations. We use Visual Basic/JAVA/C++ to write GUI's to collect the model parameters and write this in some text/XML file. Afterwords the Fortran program is called and the results file display in a window. Do you perhaps have something in this direction, i.e. collect and display the results using ClearWin+?
I really hope that Silverfrost would respond to the user examples idea! By the way, how do you get the images in the forum? |
|
Back to top |
|
|
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Tue Jan 19, 2010 3:15 pm Post subject: |
|
|
The biggest problem here is that, when the examples were requested, only a very small number came through. We are looking at a new release soon, and while these new examples may not make that release, they will be looked at for inclusion. |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Tue Jan 19, 2010 3:18 pm Post subject: |
|
|
Hi Andrew,
thank you for your reply. If I understood it correctly, you would like to include the examples wih the new release. What about making them available directly on the Silverfrost website? |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Wed Jan 20, 2010 1:58 am Post subject: |
|
|
jjgermis,
As i said all these examples are prototypes, all of them were modified, made as a subroutines and used in large numerical code for visualization of simulation data in real time and/or post-processing. It is a lot of work (or almost impossible) to make universal visualization program for all cases, so just take the idea and modify it for your needs. The PIE and MESH programs as an example can load your own data files for visualization, so it is really easy to do all the work after that. And all is in Fortran and in the same compiler, which can help you find even many errors in Clearwin code.
What can be done else? When object oriented Fortran will finally appear, create truly Visual Clearwin with user expandable library of visual task forms-images AND math tasks like fluid dynamics, ODE, linear algebra and 10000th of others and do not program anything, only drag and drop last ones into predefined visual library of forms which will self-assemble the code for you. But that's all probably will be available in a year 2100. |
|
Back to top |
|
|
|