Skip to content

Nicholaswogan/fortran-cython-examples

Repository files navigation

fortran-cython-examples

Examples for how to wrap fortran with Cython.

Check list

Module variables

  • Scalars
  • Parameters
  • Characters
  • Explicit size arrays
  • Complex numbers (Scalar and parameters)
  • Getting a pointer
  • Getting the value of a pointer
  • Allocatable arrays
  • Derived types
  • Nested derived types
  • Arrays of derived types
  • Functions inside derived types
  • Arrays with dimension (:) (pointer, allocatable) inside derived types
  • Classes
  • Abstract interfaces
  • Common blocks
  • Equivalences
  • Namelists
  • Quad precision variables

Functions/subroutines

  • Basic calling (no arguments)
  • Argument passing (scalars)
  • Argument passing (strings)
  • Argument passing (explicit arrays)
  • Argument passing (assumed size arrays)
  • Argument passing (assumed shape arrays)
  • Argument passing (allocatable arrays)
  • Argument passing (derived types)
  • Argument intents (in, out, inout and none)
  • Passing characters
  • Pointer Arguments
  • Optional arguments
  • Keyword arguments
  • Generic/Elemental functions
  • Functions as an argument

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published