begin options
{%- if print_flows is defined %}    print_flows{%- endif -%}
{%- if first_order_decay is defined %}
  first_order_decay{% endif %}
{%- if zero_order_decay is defined %}
  zero_order_decay{% endif %}
{%- if sorption is defined %}
  sorption {{sorption}}{% endif %}
end options

begin griddata
  porosity{% if porosity_layered %} layered{% endif %}
{% for x in porosity %}    {{x}}{% endfor %}{%- if decay is defined %}
  decay{% if decay_layered %} layered{% endif %}
{% for x in decay %}    {{x}}{% endfor %}
{%- endif %}{%- if decay_sorbed is defined %}
  decay_sorbed{% if decay_sorbed_layered %} layered{% endif %}
{% for x in decay_sorbed %}    {{x}}{% endfor %}
{%- endif %}{%- if bulk_density is defined %}
  bulk_density{% if bulk_density_layered %} layered{% endif %}
{% for x in bulk_density %}    {{x}}{% endfor %}
{%- endif %}{%- if distcoef is defined %}
  distcoef{% if distcoef_layered %} layered{% endif %}
{% for x in distcoef %}    {{x}}{% endfor %}
{%- endif %}{%- if sp2 is defined %}
  sp2{% if sp2_layered %} layered{% endif %}
{% for x in sp2 %}    {{x}}{% endfor %}
{%- endif %}
end griddata