cli_args_destroy Subroutine

private subroutine cli_args_destroy(this)

Clean up CLI args

Type Bound

cli_args_type

Arguments

Type IntentOptional Attributes Name
class(cli_args_type), intent(inout) :: this

Source Code

   subroutine cli_args_destroy(this)
      class(cli_args_type), intent(inout) :: this
      if (allocated(this%xyz_file)) deallocate (this%xyz_file)
      if (allocated(this%basis_name)) deallocate (this%basis_name)
   end subroutine cli_args_destroy