-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Only in the module variant of our Fortran bindings, we always need to pass the (exact, or sometimes large enough) size of the strings, e.g. for participant name, data name, names of actions, etc. See, for example, how we create the interface:
| CALL precicef_create(participantName, config, rank, commsize, 50, 50) |
The last two arguments (50, 50) refer to the maximum sizes of participantName and config.
This is not only ugly, but can also be dangerous in some cases.
Compare with the solverdummy using the preCICE-internal fortran bindings:
CALL precicef_create(participantName, config, rank, commsize)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request