Showing posts with label Fortran. Show all posts
Showing posts with label Fortran. Show all posts

Wednesday, 20 May 2009

Dynamic memory allocation inside a subroutine...

main program内においてallocatableで宣言した動的配列をsubroutine内で確保することが可能か?
これが可能になるとコードの視認性が良くなると思われるが...

pointerを使えばできるようなことがどこかに書いてあった.要チェックや.