fix typo
This commit is contained in:
parent
6bd756c3d3
commit
9772f47a34
1 changed files with 2 additions and 2 deletions
|
|
@ -54,12 +54,12 @@ pml_{{r ~ p}}_thickness = {{pml['thickness']}};
|
|||
|
||||
{%- if p == 'n' %}
|
||||
|
||||
if ( {{r}} < pml_{{r ~ p}_thickness ) {
|
||||
if ( {{r}} < pml_{{r ~ p}}_thickness ) {
|
||||
const size_t ir = {{r}}; // index into pml parameters
|
||||
|
||||
{%- elif p == 'p' %}
|
||||
|
||||
if ( s{{r}} > {{r}} && {{r}} >= s{{r}} - pml_{{r ~ p}_thickness ) {
|
||||
if ( s{{r}} > {{r}} && {{r}} >= s{{r}} - pml_{{r ~ p}}_thickness ) {
|
||||
const size_t ir = (s{{r}} - 1) - {{r}}; // index into pml parameters
|
||||
|
||||
{%- endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue