{# The Info tab's pane: what this calculation and this system are. Identical on every page that shows one calculation. A page with something more to say about what it is showing passes `extra_info_tab` (a {group, label, title} for the strip) and `extra_info_groups` (a template to include after this one), the same way _panel_controls.html takes its extra group. Without them there is no strip at all: one pane needs no tabs to choose between. #} {# Info Tab #}
Calculation
XC Functional {{ calculation.xc_functional }}
Basis Set {{ calculation.basis_set }}
Charge {{ calculation.charge if calculation.charge is not none else "—" | safe }}
Spin {{ calculation.spin if calculation.spin is not none else "—" | safe }}
Total Energy [eV] {# 2 decimals matches ENERGY_UNITS.eV, which controls.js rewrites this to on load - a different precision here shows as a flicker. #} {# total_energy is nullable: a calculation whose output did not state one must show that, never a fabricated 0.00. #} {{ "%.2f" | format(calculation.total_energy | hartree_to_ev) if calculation.total_energy is not none else "—" | safe }}
Code {{ calculation.code }} {{ calculation.code_version }}
Author {{ calculation.author }}
Date {{ calculation.date }}
Added {{ calculation.created_at }}
Legacy ID {{ calculation.legacy_id }}
System
Full Name {{ system.full_name }}
Short Name {{ system.short_name }}
Formula {{ system.formula | subscript }}
Mass {% if system.molecular_mass %}{{ "%.1f" | format(system.molecular_mass) }} u{% endif %}
Point Group {{ system.point_group | point_group_subscript }}
Orientation {{ calculation.orientation }}
{# Absent, not empty, when the system has no references. The offline viewer renders this template with no database and so no `papers`. #} {% if papers %}Further Reading
{% endif %}