{# Landing page: filterable/sortable list of systems (see static/javascript/home.js for the client-side search/sort). #} {% extends "base.html" %} {% block title %}PhysikMDB - Home{% endblock %} {% block extra_css %} {% endblock %} {% block javascript %} {% endblock %} {% block header %}

Molecular Orbital Database

{% endblock %} {% block content %}
Reset Filters {% if systems %} {% else %} {% endif %}
{# One header row for both views: they differ only in what a row stands for, so the scope clause is set once instead of duplicating every column. #} {% set scope = 'the best available calculation for this molecule' if systems else 'this calculation' %} {% if systems %} {% for system in systems %} {% set row_url = '/' ~ system.calculation_id ~ ('/exciton' if filters.calculation_type == 'casida' else '') %} {% endfor %} {% else %} {% for calculation in calculations %} {% set row_url = '/' ~ calculation.id ~ ('/exciton' if filters.calculation_type == 'casida' else '') %} {% endfor %} {% endif %}
{{ 'System' if systems else 'Calculation' }} Formula Short Name Full Name XC Basis Charge Spin Gap (eV) IP (eV) EA (eV)
{{ system.id }} {{ system.formula | subscript }} {{ system.short_name }} {{ system.full_name }} {{ system.xc_functional }} {{ system.basis_set }} {{ system.charge }} {{ system.spin }} {{ "%.3f" | format(system.fundamental_gap | hartree_to_ev) }} {{ "%.3f" | format(system.ionisation_potential | hartree_to_ev) }} {{ "%.3f" | format(system.electron_affinity | hartree_to_ev) }}
{{ calculation.id }} {{ calculation.formula | subscript }} {{ calculation.short_name }} {{ calculation.full_name }} {{ calculation.xc_functional }} {{ calculation.basis_set }} {{ calculation.charge }} {{ calculation.spin }} {{ "%.3f" | format(calculation.fundamental_gap | hartree_to_ev) }} {{ "%.3f" | format(calculation.ionisation_potential | hartree_to_ev) }} {{ "%.3f" | format(calculation.electron_affinity | hartree_to_ev) }}
{% endblock %}