Skip to content
Search

fortran.cat

A few bits of Fortran

Menu
  • What is Fortran
  • Resources
  • Fortran-lang
×
  • English, fortran, language, llenguatge
  • Tagged fortran, howto, pointer, remap
  • Leave a Comment on How to use pointers to remap an array
  • How to use pointers to remap an array

    Among several things, pointers can be used to represent an array from a specific shape into another one. It can be useful for certain situations. However, the use of pointers is generally not recommended. This is due to potential memory management risks. For instance, It is important to keep the same size when remapping arrays…

    read more

      Recent Posts

      • Pitfall on allocatable arrays returned by functions
      • How to read arrays on a Namelist
      • Improving Debugging in Fortran: Overcome the WHERE statement
      • Memory alignment for multidimensional arrays
      • Edge cases when implementing scientific equations

      Pàgines

      • Resources
      • What is Fortran

      Archives

      • March 2025
      • February 2025
      • July 2024
      • February 2024
      • November 2023
      • September 2023
      • July 2023
      • May 2023
      • December 2022
      • March 2022
      • February 2022
      • December 2021
      • November 2021
      • October 2021
      • September 2021

      Categories

      • Català
      • cmake
      • compilers
      • Debug
      • English
      • fortran
      • IDE
      • language
      • llenguatge
      • Performance
      • Science
      • Tools
      • valgrind

      Proudly Powered By WordPress