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

The table of general contour analysis: contains important pararameters of the contour, obtainable from the mesh. More...

#include <emtypes.h>

Collaboration diagram for emContourTable:

Classes

struct  edescr_t
 Edge descriptor. More...
 
struct  pdescr_t
 Point descriptor. More...
 

Public Member Functions

template<class block_t , class contour_it >
int fill (int ind_offset, block_t *block, contour_it &it, int flag=0xffff)
 Fills the contour analysis table.

 
template<class block_t , class contour_it >
void get_coefficients (block_t *block, contour_it &it, int flag=0xffff)
 Fills countour update coefficients for the table.
 
void phys2coeffs (valtype dt)
 Converts permittivity and loss into mesh update coefficients Ca, Cb.
 
void coeffs2phys (valtype dt)
 Converts coefficients Ca, Cb into permittivity and loss. Uses the first Cb only.
 

Public Attributes

bool update_defined
 true if some of the methods has established field update algorithm for the contour.
 
bool coeffs_set
 true if the coefficients for this contour are already transferred to mesh.
 
int coefs
 Form in which coefficients are stored 0 = (perm,loss) 1 = coefs as is: ca*E_old + cb*rot(H)
 
emtype c1
 center coeff
 
int fixpack_count
 Counts fixes updated synchronously.
 
Vector_3 im_shift
 Shift vector that relates original destiation contour positions and source table positions.
 

Detailed Description

The table of general contour analysis: contains important pararameters of the contour, obtainable from the mesh.

These prameters are put in the table by fill() function and other analysis functions on the stage of contour analysis to be reused by various methods. The general bulk update form is E_new = ca*E_old + cb*rot(H)

Member Function Documentation

◆ get_coefficients()

template<class block_t , class contour_it >
void emContourTable::get_coefficients ( block_t *  block,
contour_it &  it,
int  flag = 0xffff 
)
inline

Fills countour update coefficients for the table.

Must be called after proper range definition and calls of put_media_coeffs/put_media_type for the contour.

Member Data Documentation

◆ coeffs_set

bool emContourTable::coeffs_set

true if the coefficients for this contour are already transferred to mesh.

Vector meshes require that the coefficients are set only once. This flag is checked when an attempt to reset coefficient is made.

◆ update_defined

bool emContourTable::update_defined

true if some of the methods has established field update algorithm for the contour.

Must be honored by lower priority methods.


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