warnings.cpp 608 Bytes
#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;
		}
	}

	*/
}