fortran
Read numbers following a keyword into an array in Fortran 90 from a text file
I have many text files of this format .... <snip> \'FOP\' 0.19 1 24 1 25 7 8/ \'FOP\' 0.18 1 24 1 25 9 11 /[详细]
2023-03-11 22:25 分类:问答using external modules in Fortran
I try to use two external Fortran module which are in same name (in this case mod_param). So, when i try to compile my code, the compiler gives the following error,[详细]
2023-03-11 14:46 分类:问答Calling FORTRAN dll from C# and assigning values to array of structures
I can pass a C# struct into FORTRAN just fine. I can even pass an array of a C# struct as an array of TYPE() in FORTRAN. Where I run into trouble is when I tried to return values back into C#. Here is[详细]
2023-03-11 10:04 分类:问答How to convert RECORD in Fortran to C language?
Does anybody know how to convert RECORD in开发者_如何学Python Fortran to C language? for example in Fortran:[详细]
2023-03-11 04:51 分类:问答OPENMP F90/95 Nested DO loops - problems getting improvement over serial implementation
I\'ve done some searching but couldn\'t find anything that appeared to be related to my question (sorry if my question is redundant!).Anyway, as the title states, I\'m having trouble getting any impro[详细]
2023-03-11 01:26 分类:问答Translating Fortran Code to a Formula
I want to test some parts of my fortran code. I know that there is a command \"FortranForm\" for mathematica[详细]
2023-03-11 00:31 分类:问答Fortran to Python format floats
I\'m writing a front end gui in Python3.2, and part of the final output is based off of a fortran format. I\'ve found a good few exam开发者_运维百科ples, and haven\'t had many problems translating fro[详细]
2023-03-10 02:27 分类:问答fortran debugging problem
I have compiled code but it doesn\'t work properly.My makefile: FC= ifort LD = ifort -align all FCFLAGS = -O0 -g -ipo -traceback -warn noalign[详细]
2023-03-09 23:29 分类:问答Writing multiple output files in Fortran
Dear All, I am writing a code that writes the out put in multiple files named as 1.dat, 2.dat, ..... Here is my code but it gives some unusual output. May you tell me what is wrong in my code please?[详细]
2023-03-09 02:49 分类:问答Is There a Better Double-Precision Assignment in Fortran 90?
In Fortran 90 (using gfortran on Mac OS X) if I assign a value to a double-precision variable without explicitly tacking on a kind, the precision doesn\'t \"take.\"What I mean is, if I run the followi[详细]
2023-03-08 12:42 分类:问答