Mentions légales du service

Skip to content

avoid fixed size array declarations in Fortran pointer/allocatable

Michael Vossbeck requested to merge vossbeck01 into develop
modified/cleanup:
-> BlockDifferentiator::buildDiffVarDeclarationTree
   - no more need to peel out fixed array sizes from Fortran pointer
     declarations,
     as consequence routine 'deferMultiDirSize' could be removed.

fixed/modified:
-> set11/mvo03/example.f90 was not standard-conform Fortran code
   (must not have 'use m' and formal argument with same identifier!)
   -> derivative codes updated accordingly,
      multi-dimensional forward derivative code now with correct
declaration of allocatable (without nbdirsmax)

fixed:
-> PointerTypeSpec::differentiateTypeSpec
   - must not have fixed dimension bounds in Fortran declarations here!

-> ArrayDim::toString

  • extended output (always reporting the 'tree')

Merge request reports