Electromagnetic Template Library (EMTL)
Loading...
Searching...
No Matches
emPMLPeriodic Struct Reference

PML in two opposite sides of box-type calculated volume (used when periodical boundary conditions are applied at other sides) More...

#include <pml.h>

Inheritance diagram for emPMLPeriodic:
Collaboration diagram for emPMLPeriodic:

Public Member Functions

int test_pml (int ftype, const Vector_3 &center, const emMedium &ext_medium, Vector_3 &sigma, Vector_3 &kappa, Vector_3 &a, const bool test)
 return 1 if point (given by ftype, pos, ext_medium) is inside PML.
 
- Public Member Functions inherited from emComponent
emDump * GetEmDumper ()
 This function insures that the returned dumper is of true emDumper type.
 

Public Attributes

int dir
 direction which is confined with PML
 

Detailed Description

PML in two opposite sides of box-type calculated volume (used when periodical boundary conditions are applied at other sides)

Member Function Documentation

◆ test_pml()

int emPMLPeriodic::test_pml ( int  ftype,
const Vector_3 &  pos,
const emMedium &  ext_medium,
Vector_3 &  sigma,
Vector_3 &  kappa,
Vector_3 &  a,
const bool  test 
)
virtual

return 1 if point (given by ftype, pos, ext_medium) is inside PML.

if test=false, then record sigma, kappa and a

Implements emPMLRegion.


The documentation for this struct was generated from the following file: