add comment about pml coords
This commit is contained in:
parent
c2e5c94e14
commit
b2043ce841
@ -92,7 +92,7 @@ if ( s{{r}} > {{r}} && {{r}} >= s{{r}} - pml_{{r ~ p}}_thickness ) {
|
|||||||
const size_t ip = {{v}} + {{u}} * s{{v}} + ir * s{{v}} * s{{u}}; // linear index into Psi
|
const size_t ip = {{v}} + {{u}} * s{{v}} + ir * s{{v}} * s{{u}}; // linear index into Psi
|
||||||
dH{{v ~ r}} *= p{{r}}2e{{p}}[ir];
|
dH{{v ~ r}} *= p{{r}}2e{{p}}[ir];
|
||||||
dH{{u ~ r}} *= p{{r}}2e{{p}}[ir];
|
dH{{u ~ r}} *= p{{r}}2e{{p}}[ir];
|
||||||
{{psi ~ u}}[ip] = p{{r}}0e{{p}}[ir] * {{psi ~ u}}[ip] + p{{r}}1e{{p}}[ir] * dH{{v ~ r}};
|
{{psi ~ u}}[ip] = p{{r}}0e{{p}}[ir] * {{psi ~ u}}[ip] + p{{r}}1e{{p}}[ir] * dH{{v ~ r}}; //note u uses v
|
||||||
{{psi ~ v}}[ip] = p{{r}}0e{{p}}[ir] * {{psi ~ v}}[ip] + p{{r}}1e{{p}}[ir] * dH{{u ~ r}};
|
{{psi ~ v}}[ip] = p{{r}}0e{{p}}[ir] * {{psi ~ v}}[ip] + p{{r}}1e{{p}}[ir] * dH{{u ~ r}};
|
||||||
pE{{u}}i {{se}}= {{psi ~ u}}[ip];
|
pE{{u}}i {{se}}= {{psi ~ u}}[ip];
|
||||||
pE{{v}}i {{sh}}= {{psi ~ v}}[ip];
|
pE{{v}}i {{sh}}= {{psi ~ v}}[ip];
|
||||||
|
Loading…
Reference in New Issue
Block a user