rdwr.pl parses generated cctk_Arguments header for information

Issue #2360 closed
Roland Haas created an issue

Currently, in order to create DECLARE_CCTK_ARGUMENTS_Foo for Fortran code, the rdwr.pl script that is part of CST, parses the previously generated (Fortran / CPP) header file that is behind cctk_Arguments.h to obtain information on the variables and their types that need to be declared.

Since this seems to be very fragile and hard to maintain, it would not seem to be code of sufficient quality to be included in the Einstein Toolkit. Instead it would seem much better if the same Perl data that was used to initially generate DECLARE_CCTK_ARGUMENTS was also used to generate DECLARE_CCTK_ARGUMENTS_Foo.