|
| OligoWavelengthGrid (SimulationItem *parent, const vector< double > &wavelengths) |
|
int | bin (double lambda) const override |
|
vector< int > | bins (double lambda) const override |
|
const Array & | dlambdav () const |
|
double | effectiveWidth (int ell) const override |
|
Array | extdlambdav () const |
|
Array | extlambdav () const |
|
const Array & | lambdav () const |
|
double | leftBorder (int ell) const override |
|
int | numBins () const override |
|
double | rightBorder (int ell) const override |
|
double | transmission (int ell, double lambda) const override |
|
double | wavelength (int ell) const override |
|
virtual int | bin (double lambda) const =0 |
|
virtual vector< int > | bins (double lambda) const =0 |
|
virtual double | effectiveWidth (int ell) const =0 |
|
virtual double | leftBorder (int ell) const =0 |
|
virtual int | numBins () const =0 |
|
virtual double | rightBorder (int ell) const =0 |
|
virtual double | transmission (int ell, double lambda) const =0 |
|
virtual double | wavelength (int ell) const =0 |
|
Range | wavelengthRange () const |
|
template<class T > |
T * | find (bool setup=true) const |
|
template<class T > |
T * | interface (int levels=-999999, bool setup=true) const |
|
virtual string | itemName () const |
|
void | setup () |
|
string | typeAndName () const |
|
| Item (const Item &)=delete |
|
virtual | ~Item () |
|
void | addChild (Item *child) |
|
const vector< Item * > & | children () const |
|
virtual void | clearItemListProperty (const PropertyDef *property) |
|
void | destroyChild (Item *child) |
|
virtual bool | getBoolProperty (const PropertyDef *property) const |
|
virtual vector< double > | getDoubleListProperty (const PropertyDef *property) const |
|
virtual double | getDoubleProperty (const PropertyDef *property) const |
|
virtual string | getEnumProperty (const PropertyDef *property) const |
|
virtual int | getIntProperty (const PropertyDef *property) const |
|
virtual vector< Item * > | getItemListProperty (const PropertyDef *property) const |
|
virtual Item * | getItemProperty (const PropertyDef *property) const |
|
virtual string | getStringProperty (const PropertyDef *property) const |
|
int | getUtilityProperty (string name) const |
|
virtual void | insertIntoItemListProperty (const PropertyDef *property, int index, Item *item) |
|
Item & | operator= (const Item &)=delete |
|
Item * | parent () const |
|
virtual void | removeFromItemListProperty (const PropertyDef *property, int index) |
|
virtual void | setBoolProperty (const PropertyDef *property, bool value) |
|
virtual void | setDoubleListProperty (const PropertyDef *property, vector< double > value) |
|
virtual void | setDoubleProperty (const PropertyDef *property, double value) |
|
virtual void | setEnumProperty (const PropertyDef *property, string value) |
|
virtual void | setIntProperty (const PropertyDef *property, int value) |
|
virtual void | setItemProperty (const PropertyDef *property, Item *item) |
|
virtual void | setStringProperty (const PropertyDef *property, string value) |
|
void | setUtilityProperty (string name, int value) |
|
virtual string | type () const |
|
OligoWavelengthGrid is a subclass of the DisjointWavelengthGrid class representing the wavelength grid in an oligochromatic simulation. The class constructs a set of distinct nonadjacent wavelength bins with a half bin width given by 1/1000 of the shortest wavelength in the list. Refer to the DisjointWavelengthGrid class for more details.
The list of wavelengths is specified through the constructor, because the oligo wavelength grid is created programmatically rather than directly configured by the user. The order of the specified wavelengths is not important; they will be sorted anyway.