Blame view

warnings.cpp 608 Bytes
3f56f1f9   dmayerich   initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  #include "warnings.h"
  
  void TestSimulation(nearfieldStruct* nf, microscopeStruct* scope, fileoutStruct* fout)
  {
  /*    //This function tests the simulation input and outputs any warnings or errors
  
  
  	//if the output is a detector image, the type should be intensity or absorbance
  	if(fout->source == fileoutStruct::imageDetector)
  	{
  		if(fout->field != fileoutStruct::fieldIntensity || fout->field != fileoutStruct::fieldAbsorbance)
  		{
  			cout<<"The detector only supports intensity and absorbance measurements.  Defaulting to intensity."<<endl;
  			fout->field = fileoutStruct::fieldIntensity;
  		}
  	}
  
  	*/
  }