Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. archimedes80

    Object Oriented Fortran/read a file and set Variables

    yes that's true, I told that if you read above
  2. archimedes80

    Object Oriented Fortran/read a file and set Variables

    why i don't have syntax highlighting on the code above?
  3. archimedes80

    Object Oriented Fortran/read a file and set Variables

    Hello and I'm sorry for the late answer. I was thinking again about this problem and yesterday i wrote the following, which could be coupled with the subroutine mikrom gave to me. It works with gfortran, ftn but not with g95: MODULE module_filehand IMPLICIT NONE TYPE :: filehand_t...
  4. archimedes80

    Object Oriented Fortran/read a file and set Variables

    Yes! That's true mikrom and I try to rewrite this in an other way. It's not a homework FJacq but i'll try to do what you've suggested me. I'm one of those people who believes that the new Fortran Standard is light years in advance than other Languages (see Co Arrays), so I do training myself...
  5. archimedes80

    Object Oriented Fortran/read a file and set Variables

    You are right and i'm sorry for this misunderstanding. I know it is easy to read, that's no my problem. Let me reexamine the question. Is there a technique in fortran to read that file, or eventually many other similar files with the use of one Derived Type in one Module? I hope that time the...
  6. archimedes80

    Object Oriented Fortran/read a file and set Variables

    Hello All, is there a possibility to read the following in Object Oriented manner? SOLVER: Iterative Method (GAUSS-SEIDEL/JACOBI) : JACOBI Iterations : 300 Dynamic Breakcriteria (yes/no) : yes Absolute Breakcriteria...
  7. archimedes80

    read a control file

    thank you very much! it's a good idea and i learned thinks i didn't know like "adjustl". i will modify it and i'll tell you about it in the future! thanks again
  8. archimedes80

    read a control file

    ohh i'm sorry that i haven't specified it. i would like to read the file and save for example the flag "transient" in a logical variable. It should be used like a switcher for the main program. Furthermore, the number of iterations for example should be saved in an integer for example. i just...
  9. archimedes80

    fortran 77 code

    aaa sorry... the clean line should be: rm $(EXEC) $(SCR_OBJECTS) *.o
  10. archimedes80

    fortran 77 code

    Hi maybe the following Makefile help you: # ------------------------------------- INCLUDE= FC=gfortran FFLAG= -g -O3 LFLAG= LIB_ALL= #===================================================================== #****************************** #******* O B J E C T S ********...
  11. archimedes80

    read a control file

    Hello, i'm interesting in read in the following "control file" for my program that solves sparse matrices, penta or hepta diagonal matrices: SOLVER: Iterative Method (GMRES/GAUSS-SEIDEL/JACOBI): JACOBI Iterations : 300 Dynamic Breakcriteria (yes/no)...

Part and Inventory Search

Back
Top