- DMC McStas simulation working

SKIPPED:
	psi/amorstat.c
	psi/nxamor.c
	psi/pimotor.c
	psi/polterwrite.c
This commit is contained in:
koennecke
2005-07-05 07:06:15 +00:00
parent 9e0447b7dd
commit 96e8cdb2d5
22 changed files with 916 additions and 137 deletions

View File

@ -295,6 +295,7 @@
if(!self->iInit)
{
SCWrite(pCon,"ERROR: histogram memory not initialised",eError);
InvokeCallBack(self->pCall,COUNTEND,NULL);
return COTERM;
}
@ -309,6 +310,7 @@
{
SCWrite(pCon,"ERROR: failed to fix histogram memory problem",eError);
SCSetInterrupt(pCon,eAbortBatch);
InvokeCallBack(self->pCall,COUNTEND,NULL);
return eCt;
}
else
@ -325,7 +327,8 @@
/* force an update of local histogram data with next
GetHistogram
*/
updateHMData(self->pDriv->data);
updateHMData(self->pDriv->data);
InvokeCallBack(self->pCall,COUNTEND,NULL);
}
return eCt;
@ -760,8 +763,6 @@ void HistDirty(pHistMem self)
iRet = 1;
}
/* whatever happened, send a COUNTEND event */
InvokeCallBack(self->pCall,COUNTEND,NULL);
return iRet;