I'm trying to make doxygen generates automatic links in method's arguments description to Fortran classes that are in another module of the code.
For instance
is the html documentation for a class subroutine that takes its own class and another one defined in another module as arguments.
The link to the class InnerProducts is correctly and automatically created while the one for the class ModelConfiguration is not, and I have to add a link manually in the description.
Here is the header of the init_inner_products routine for which the html documentation is shown in the link above:
!> Initialization routine for the inner products functions.
!> @param[in,out] inner_products Inner products global object to initialize
!> @param[in] model_config Global model configuration (params::modelconfiguration) object to initialize the inner products with
SUBROUTINE init_inner_products(inner_products, model_config)
CLASS(InnerProducts), INTENT(INOUT), TARGET :: inner_products
CLASS(ModelConfiguration), INTENT(IN), TARGET :: model_config
I would prefer to avoid making manual links so how can I force/configure doxygen to try to link to class in external modules?
Edit
Finally, I've not found any name conflicts. I thought it was a possible explanation but it is not. What is even weirder is that all the other classes are well linked in the documentation. On the picture below showing the details of an object using various other classes, one can see that the problem happens only with the class ModelConfiguration, and I don't know why.
Here is the definition of the said class:
!> The general class holding the model configuration.
TYPE, PUBLIC :: ModelConfiguration
TYPE(PhysicsConfiguration) :: physics
TYPE(ModesConfiguration) :: modes
TYPE(IntegrationParameters) :: integration
LOGICAL :: initialized = .FALSE.
CONTAINS
PROCEDURE :: init => init_model_config !< Model configuration initialization routine
PROCEDURE :: clean => clean_model_config !< Model configuration cleaning routine
END TYPE ModelConfiguration
which is quite basic.



OPTIMIZE_FOR_FORTRAN = YES? - Pierre de Buyl