Electromagnetic Template Library (EMTL)
Loading...
Searching...
No Matches
uiexp.h File Reference

User interface to perform FDTD calculations. More...

#include <vector>
#include <map>
#include <string>
#include "emtl.h"
#include "emtypes.h"
#include "medium.h"
#include "impforms.h"
#include "pml_function.h"
#include "mesh_ui.h"
#include "analyzer_ui.h"
#include "opt_data.h"
#include "liouville.h"
#include "emcomponent.h"
#include "dump.h"
#include "facetedsurf.h"
Include dependency graph for uiexp.h:
This graph shows which files directly or indirectly include this file:

Classes

class  uiExperiment
 User interface class to perform FDTD calculations. More...
 
struct  uiExperiment::srcdescr_t
 For storing plane wave/dipole data. More...
 
struct  uiExperiment::tfdescr_t
 TF region descriptor
More...
 
struct  uiExperiment::vtkconf_t
 VTK configuration struct for conoids. More...
 
class  uiDetector
 User interface class to store information about detectors. More...
 

Enumerations

enum  DET_TYPES {
  DET_FIELD , DET_FLUX_BOX , DET_RTA , DET_NEAR_TO_FAR ,
  DET_VTK_TYPE
}
 Types of detectors. More...
 
enum  DET_FIELD_TYPES {
  DET_TSTEP =0x1 , DET_FSTEP = 0x1 , DET_F =0x2 , DET_K =0x4 ,
  DET_SRC =0x8 , DET_INTERM_AN =0x10 , DET_BIN_ONLY =0x20 , DET_SRCB = 0x40
}
 Used for DET_FIELD and DET_NEAR_TO_FAR. More...
 
enum  DET_RTA_TYPES { DET_NRM =0x1 , DET_NO_INC =0x2 , DET_BRAGG_LIM =0x4 , DET_OPT_MODULE =0x8 }
 Used for DET_RTA. More...
 

Functions

int calculate_MAPD (const char *fmapd, const char *dir, const char *flight, int jlight, const char *fabs, int jabs, valtype minwv, valtype maxwv)
 calculate MAPD (A/m^2, or 0.1mA/cm^2) and record it to file *fmapd dir/flight - file with solar spectrum (first column wavelength, nm; jlight column - intensity, W/m^2/nm) fabs - file with absorption (first column frequency, 1/um; second column - absorption) bg - bandgap in eV minwv, maxwv - minimal and maximal wavelengths in um
 

Detailed Description

User interface to perform FDTD calculations.

Enumeration Type Documentation

◆ DET_FIELD_TYPES

Used for DET_FIELD and DET_NEAR_TO_FAR.

Enumerator
DET_TSTEP 

Creates files per each time (frequency). If this flag is turned off, creates files per each point.

DET_FSTEP 

Creates files per each time (frequency). If this flag is turned off, creates files per each point.

DET_F 

Get field in frequency representation.

DET_K 

Get field in k-representation (not supported).

DET_SRC 

Record fields from analytic signal in vacuum instead of calculated space.

DET_INTERM_AN 

Perform intermediate analysis of this detector.

DET_BIN_ONLY 

Produce binary output only (no projection/analysis).

DET_SRCB 

Record fields from analytic signal in vacuum instead of calculated space and record the binary file (.bin or .msh) for this signal.

◆ DET_RTA_TYPES

Used for DET_RTA.

Enumerator
DET_NRM 

to normalize reflected and transmitted waves on incident wave

DET_NO_INC 

To use if there is no incident wave, only flux back (like reflected waves) and forward (like transmitted waves) are measured used for dipoles in periodic case.


DET_BRAGG_LIM 

calculate evanescent Bragg waves

◆ DET_TYPES

enum DET_TYPES

Types of detectors.

Enumerator
DET_FIELD 

field at chosen point

DET_FLUX_BOX 

flux through sides of box

DET_RTA 

reflectance / transmittance calculation

DET_NEAR_TO_FAR 

near-to-far transformation to calculate field in far points

DET_VTK_TYPE 

VTK formatted output.