fortran
How to write data to specific line in the file in Fortran?
I have unordered data and I want to write this data to a file with an order. For example, the value\'s order is 70th, then this value is written to 70th line in the file. How can I move file pointer f[详细]
2023-03-28 20:47 分类:问答segmentation fault C and fortran
------ main.c--------- #include <stdio.h> #include <stdlib.h> #include <dlfcn.h> #include <string.h>[详细]
2023-03-28 09:54 分类:问答Negative array indexing and placement in memory (pointing)
In fortran you can declare an array with any suitable (integral) range, for example: real* 8 array(-10:10)[详细]
2023-03-28 08:50 分类:问答Fortran: Array of pointer arrays?
I\'m working with some Fortran code (which I\'d never used until this project...) and have come up against a problem. I need to share some memory space w开发者_StackOverflow社区ith another program. To[详细]
2023-03-27 08:42 分类:问答How can I setup linux to compile FORTRAN code into windows binaries?
I\'m working on a FORTRAN project and I would like to build all of the binaries that I want to maintain on a linux machine that is d开发者_如何转开发edicated for automated builds. I have successfully[详细]
2023-03-26 23:09 分类:问答Meaning of the INTENT of arguments/variables within subroutines and functions in Fortran 90
I have a few questions about the INTENT of variables within a subroutine in Fortran.For example, several weeks ago, I posted a question about a different Fortran topic (In Fortran 90, what is a good w[详细]
2023-03-26 12:32 分类:问答Type marshalling to call a fortran subroutine from C#
I\'m trying to call a FORTRAN77 subroutine from C# code using P/invoke - in case you\'re interested, I\'m trying to wrap some of the functionality offered by the ARPACK library (http://www.caam.rice.e[详细]
2023-03-26 10:17 分类:问答Fortran: Clearing defined array when leaving subroutine
I am doing a sensitivity analysis and thus need to run my program many times with different parameters.[详细]
2023-03-26 08:53 分类:问答Stackoverflow in Fortran subroutine
I do have a main program with a subroutine, which needs to be called many times. The main program looks like:[详细]
2023-03-26 07:32 分类:问答How to create a handle for a structure/array inside a FORTRAN routine?
I need to create an handle for an fairly complicated structure (here replaced with \"real a(2)\") in a subroutine and then only pass back the handle/pointer to the main routine. I also need to be able[详细]
2023-03-26 05:03 分类:问答