Skip to content

Commit

Permalink
Add executor only conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
davidscn committed Aug 16, 2023
1 parent 223e2a9 commit 784fe5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/mapping-tester/config-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@

<mapping:{{ mapping.kind }} {{ mapping.options }} constraint="conservative" direction="write" from="A-Mesh" to="B-Mesh" >
{% if mapping.kind.startswith("rbf") %}
{% if mapping.executor %}
<executor:{{ mapping.executor }} {{ mapping.executoroptions }} />
{% endif %}
<basis-function:{{ mapping.basis }} {{ mapping.basisoptions }} />
{% endif %}
</mapping:{{ mapping.kind }} >
Expand All @@ -46,7 +49,9 @@

<mapping:{{ mapping.kind }} {{ mapping.options }} constraint="consistent" direction="read" from="A-Mesh" to="B-Mesh" >
{% if mapping.kind.startswith("rbf") %}
{% if mapping.executor %}
<executor:{{ mapping.executor }} {{ mapping.executoroptions }} />
{% endif %}
<basis-function:{{ mapping.basis }} {{ mapping.basisoptions }} />
{% endif %}
</mapping:{{ mapping.kind }} >
Expand Down

0 comments on commit 784fe5a

Please sign in to comment.