Skip to content

Commit b96ddbb

Browse files
committed
naming
1 parent 87e4c4e commit b96ddbb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flopy4/mf6/templates/blocks.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ END {{ block_name.upper() }}
99
{% endfor %}
1010

1111
{% for block_name, block_ in (dfn|list_blocks).items() -%}
12-
{{ macros.list(block_name, block_, transient=block_name == "period") }}
12+
{{ macros.list(block_name, block_, stress=block_name == "period") }}
1313
{%- endfor%}

flopy4/mf6/templates/macros.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ OPEN/CLOSE {{ value }}
5050
{% endif %}
5151
{% endmacro %}
5252

53-
{% macro list(block_name, block, transient=False) %}
53+
{% macro list(block_name, block, stress=False) %}
5454
{#
5555
from mf6's perspective, a list block (e.g. period data)
5656
always has just one variable, whose elements might be
@@ -66,7 +66,7 @@ an array. we need to expand this into a block for
6666
each stress period.
6767
#}
6868
{% set d = data[block_name] %}
69-
{% if transient %}
69+
{% if stress %}
7070
{% for kper, value in d.items() %}
7171
BEGIN {{ block_name.upper() }} {{ kper }}
7272
{% for line in value %}

0 commit comments

Comments
 (0)