/*******************************************************************************
*
*  McStas, neutron ray-tracing package
*  Copyright(C) 2007 Risoe National Laboratory.
*
* %I
* Written by: Mads Bertelsen
* Date: 20.08.15
* Version: $Revision: 0.1 $
* Origin: University of Copenhagen
*
* Deprecated no-op placeholder, kept for backward compatibility.
*
* %D
* Part of the Union components, a set of components that work together and thus
*  sperates geometry and physics within McStas.
*
* This component used to be required as the LAST component. It pulled in the
*  dispatch switch (union-suffix.c) so it would be compiled after all the
*  process components had defined their PROCESS DETECTOR macros.
*
* That is no longer needed: each process registers its own case with the
*  dispatch in Union_master, whose TRACE code is compiled after every
*  component SHARE section. The Union_init and Union_stop components are
*  therefore optional.
*
* This definition is kept only so that existing instruments that still place a
*  Union_stop component continue to compile. It emits a deprecation warning
*  and has no effect.
*
* %P
* INPUT PARAMETERS:
*
* CALCULATED PARAMETERS:
*
* %L
*
* %E
 ******************************************************************************/

DEFINE COMPONENT Union_stop

SETTING PARAMETERS()


/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */

INITIALIZE
%{
  MPI_MASTER (printf ("WARNING: Union_stop is deprecated; Union components finalize automatically.\n"););
%}

END
