def gen_atomic_section(non_substr_atoms):
    """
    Generates the atomic charge section for Jaguar ESP calculations.

    Returns
    -------
    list of strings
    """
    lines = []
    lines.append('&atomic')
    lines.append('atom esp')
    for atom in non_substr_atoms:
        lines.append(' {}{} {}'.format(
                atom.element, atom.index, atom.partial_charge))
    lines.append('&')
    return lines