Electromagnetic Template Library (EMTL)
Loading...
Searching...
No Matches
emYeeContour Class Reference

Reactangular 4-edged contour used in Yee mesh. More...

#include <yeecnt.h>

Inheritance diagram for emYeeContour:
Collaboration diagram for emYeeContour:

Public Member Functions

int GetFieldType () const
 
Vector_3 GetFieldDir () const
 Get direction code of the output field: 0 = x, 1=y, 2= z.
 
Vector_3 GetCenter () const
 Faster than the standard one.
 
vec_type Area () const
 Faster than the standard one: TODO even faster.
 
vec_type GetControlVolume () const
 
Vector_3 GetControlNormal () const
 
Vector_3 GetBoundingBox (Vector_3 *v1, Vector_3 *v2) const
 Improved version of GetControlBoundingBox().
 
Vector_3 GetControlBoundingBox (Vector_3 *v1, Vector_3 *v2) const
 Gets bounding box for the control region.
 
BoxCreateControlRegion () const
 Creates control region of the contour.
 
Box GetControlRegion () const
 Gets control region of the contour.
 
faceted_t GetControlRegionFacets () const
 Creates faceted representation of the control region.
 

Public Attributes

int ftype
 Type of the field located at the points of the contour and forming rotor, switched between 0 and 1.
 
int dir
 Direction code: 0 = x, 1=y, 2= z.
 
vec_type v
 Control volume (volume spanned by Yee cell of this contour).
 

Friends

class emYeeRectBlock
 

Detailed Description

Reactangular 4-edged contour used in Yee mesh.

Member Function Documentation

◆ GetControlNormal()

Vector_3 emYeeContour::GetControlNormal ( ) const
inline
Returns
the height vector of control volume.
By EMTL convention the normal is pointing inside the surface, i.e. OPPOSITE to the usual right-hand rule of contour

◆ GetControlVolume()

vec_type emYeeContour::GetControlVolume ( ) const
inline
Returns
the contour control volume

◆ GetFieldType()

int emYeeContour::GetFieldType ( ) const
inline
Returns
contour field type: this is input (edge) field.

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