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

box-shape PML More...

#include <pml.h>

Inheritance diagram for emPMLBox:
Collaboration diagram for emPMLBox:

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

Box B
 PML box.
 
int sides
 which sides of the box are confined with PML
 
mngptr< emPMLFunctionsigmakappa [3]
 functions for 3 perpendicualar directions
 

Detailed Description

box-shape PML

Member Function Documentation

◆ test_pml()

int emPMLBox::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: