|
Electromagnetic Template Library (EMTL)
|
Fix class for UPML. More...
#include <pml.h>


Classes | |
| class | iterator |
| iterator for sequence of recorded data More... | |
Public Member Functions | |
| void | allocate (int N_) |
| allocate memory array for field D | |
| void | ClearMesh () |
| fill memory array for D with zero | |
| int | step_before (const iterator &data, emtype *out) |
| UPML algorithm applied before basic update procedure (see description in fix.h) | |
| int | step_after (const iterator &data, emtype *out) |
| UPML algorithm applied after basic update procedure (see description in fix.h) | |
Protected Attributes | |
| valtype | CDn |
| coefficients in discretized equation for UPML | |
| emtype * | D |
| memory array for field D | |
| size_t | N |
| size of memory array for D (number of UPML mesh points) | |
Fix class for UPML.
Work with this class assumes 3 stages: