fortran90
Can I have a pointer to an item in an allocatable array component?
I have a user-defined type vector. In another type, I have an allocatable array of vectors. I want to have a pointer to a single vector from this allocatable array. So I thought I would do this:[详细]
2023-01-20 09:26 分类:问答Fortran 90 compiling issue: undefined reference to <modulename>
I\'m having trouble trying to compile a simple fortran program which uses a module in the same directory.[详细]
2023-01-19 17:27 分类:问答Error: Unexpected end of format string in format string in Fortran
Getting this error while trying to compile a copied code from a Fortran 77 program. code: 900 FORMAT(1H0,2X,\'ABSOLUTE GRID LIMITS FOR DATA RETENTION FOR RADAR\',I3,\' XMIN-XMAX \',2F8.3,\' YMIN-YM[详细]
2023-01-19 03:22 分类:问答Value read from file is stored as a different value in Fortran
I have an input file and the first line contains the following decimal. 0.5053102074297753开发者_运维技巧[详细]
2023-01-17 06:22 分类:问答How to initialize two-dimensional arrays in Fortran
In C you can easily initialize an array using the curly开发者_开发技巧 braces syntax, if I remember correctly:[详细]
2023-01-16 06:08 分类:问答Looping variable names in fortran 90
I have a large amount of arrays of different dimensions. However, I name them with a sequential order, say var1, var2, and so on. In order to read them, I would be interested in looping over them in s[详细]
2023-01-15 08:53 分类:问答What flags do you set for your GFORTRAN debugger/compiler to catch faulty code?
I think I won\'t find that in any textbook, because answering this takes experience. I am currently in the stage of testing/validating my code / hunting bugs to get it into production state and any e[详细]
2023-01-15 05:25 分类:问答Stack output concept
I am new FORTRAN user. I want to write the output in stack way without deleting the previous one. Suppose we have three outputs A,B,C for one one one \"ELECTRON1\". When we run the code for another \"[详细]
2023-01-14 07:11 分类:问答Force explicit variable declaration with gfortran
I am linking some fortran code (f90) from matlab using mex and I am having matlab freeze occasionally.[详细]
2023-01-13 11:06 分类:问答Fortran debugging print statement affects program flow
I have a program which iterates over an array, deterministically making new row-vectors which it then appends to the array.[详细]
2023-01-11 12:21 分类:问答