convert_common_to_module
Extracts legacy COMMON blocks and generates modern Fortran modules, automatically replacing the COMMON statement with matching module imports.
Instructions
Extracts a legacy COMMON block and generates an encapsulated modern Fortran module. Comments out the legacy COMMON statement and inserts matching module imports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| block_name | Yes | ||
| module_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |