Append a suffix to the output filename (e.g., for multi-molecule mode) Example: suffix=”_mol1” -> “output_multi_structure_mol1.json”
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | suffix |
subroutine set_molecule_suffix(suffix) !! Append a suffix to the output filename (e.g., for multi-molecule mode) !! Example: suffix="_mol1" -> "output_multi_structure_mol1.json" character(len=*), intent(in) :: suffix if (len_trim(current_basename) > 0) then output_json_filename = "output_"//trim(current_basename)//trim(suffix)//".json" end if end subroutine set_molecule_suffix