ivutils
Loading...
Searching...
No Matches
data_flags.h File Reference

Some usefull bit flags. More...

This graph shows which files directly or indirectly include this file:

Enumerations

enum  argTYPE {
  argt =0x1 , argf =0x1 , argx =0x2 , argy =0x4 ,
  argz =0x8 , argr =argx|argy|argz , argAll =argt|argx|argy|argz , argwv =0x10
}
 Bit flags to specify which field argument values are needed in output. More...
 
enum  outCOMPLEX_MODIFIERS { outMOD =0x1 , outRE =0x2 , outIM =0x4 }
 Bit modifiers to specify which part of the value is needed in case of complex number. More...
 
enum  outSWEEP { outMERGE =0 , outR =0x1 , outT =0x2 }
 Specify change of what argument changes the sequence number of field output file for a set of space points (detector set) More...
 
enum  emArgChangeOrders { ORD_TX =0 , ORD_FX =0 , ORD_XF =1 , ORD_XT =1 , ORD_RANDOM =2 }
 Argument change orders. More...
 
enum  FFTdir
 Argument (time or space) and direction of FFT.
 
enum  BOX_SIDES
 Box side descriptors.
 
enum  TABLE_LOG {
  TABLE_TAB =0x1 , TABLE_HORIZONTAL =0x2 , TABLE_HEADER =0x4 , TABLE_COMMENT =0x8 ,
  TABLE_APPEND =0x10
}
 Format flags for tabular text files. More...
 
enum  DATAFILE_BIN_FORMAT {
  BIN_RAW = 0x0 , BIN_QPLT =0x1 , BIN_TEXTURE = 0x2 , BIN_SINGLE = 0x4|0x8 ,
  BIN_FLUSH = 0x8
}
 Format bit flags for binary output in detector.h. More...
 

Detailed Description

Some usefull bit flags.

Enumeration Type Documentation

◆ argTYPE

enum argTYPE

Bit flags to specify which field argument values are needed in output.

Enumerator
argt 

output time or frequency

argf 

same as above

argx 

output x coordinate

argy 

output y coordinate

argz 

output z coordinate

argr 

output all coordinates

argAll 

output all

argwv 

use wavelength instead of frequency

◆ DATAFILE_BIN_FORMAT

Format bit flags for binary output in detector.h.

Enumerator
BIN_RAW 

simple binary format

BIN_QPLT 

3D grid .msh format readable by qplt tool from aiwlib (https://github.com/aivn/aiwlib)

BIN_TEXTURE 

add texture to fields to display medium in 3D mesh (for visualisation only!)

BIN_SINGLE 

update only a single (2nd) frame in binary file (for runtime visualisation only!), includes BIN_FLUSH

BIN_FLUSH 

flushes the file after each frame is written (useful for runtime visualisation)

◆ emArgChangeOrders

Argument change orders.

Enumerator
ORD_TX 

time/frequency coordinate t(f) changes first

ORD_FX 

the same

ORD_XF 

space coordinate changes first: component ordering depend on the set, usually the order is (zyx)

◆ outCOMPLEX_MODIFIERS

Bit modifiers to specify which part of the value is needed in case of complex number.

Enumerator
outMOD 

output absolute value

outRE 

output real part

outIM 

output imaginary part

◆ outSWEEP

enum outSWEEP

Specify change of what argument changes the sequence number of field output file for a set of space points (detector set)

Enumerator
outMERGE 

use one file for all data

outR 

files numbered according to space points of the set

outT 

files numbered according to time (frequency) values

◆ TABLE_LOG

enum TABLE_LOG

Format flags for tabular text files.

Enumerator
TABLE_TAB 

separate columns by tab (otherwise space)

TABLE_HORIZONTAL 

print rows as a columns and columns as a rows

TABLE_HEADER 

print header with column names at the first line

TABLE_COMMENT 

comment header by '#'

TABLE_APPEND 

append to the file