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

This class is used while printing results to text files. More...

#include <analyzer.h>

Inheritance diagram for emDataProjector:
Collaboration diagram for emDataProjector:

Public Member Functions

virtual int SetOutFlag (const std::string &name, int flag=1)
 overriden to allow complex modifiers, used only for E, H and P
 
virtual int SetOutBitFlags (long long flags)
 overriden to allow complex modifiers
 
void SetOutputMode (int cmode_=outMOD)
 sets the output modifiers for complex fields switching the output fileds corrseponding tom complex modifier flags

 
void SetEnergyThreshold (vec_type thr)
 if threshold is greater zero, the points having EM energy less than this threshold are not entering the output files

 
virtual int process (std::vector< vec_type > &vout, const emRecVal &srec, int refnum=0)
 Records results to printed to the text file to vout.
 

Detailed Description

This class is used while printing results to text files.

Member Function Documentation

◆ process()

virtual int emDataProjector::process ( std::vector< vec_type > &  vout,
const emRecVal srec,
int  refnum = 0 
)
virtual

Records results to printed to the text file to vout.

srec contains E and H vout may contain E, H, P, E2, H2, Energy, absorption (which are calculated fom E and H) the complex data processing for P, H2, E2 is performed only if data is complex


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