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...
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...
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...
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...
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
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...
Hi maybe the following Makefile help you:
# -------------------------------------
INCLUDE=
FC=gfortran
FFLAG= -g -O3
LFLAG=
LIB_ALL=
#=====================================================================
#******************************
#******* O B J E C T S ********...
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)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.