Source
if (dbg) cerr << " at " << __FILE__ << " " << __func__ << " " << __LINE__ << " " << __LINE__ << out_flagrow(ir) << endl;
//# RFFlagCube.cc: this defines RFFlagCube
//# Copyright (C) 2000,2001,2002
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//# $Id$
using namespace std;
using namespace casacore;
namespace casa { //# NAMESPACE CASA - BEGIN
const Bool dbg=false;
const Bool mdbg=false;
const Bool verbose=false;
RFCubeLattice<RFlagWord> RFFlagCube::flag; // global flag lattice
Cube<Bool> RFFlagCube::in_flags; //global flag array (kiss mode)
int RFFlagCube::in_flags_time;
bool RFFlagCube::in_flags_flushed;
FlagMatrix RFFlagCube::flagrow; // this data type supports only up to 32 agents (bad design)
Matrix<vector<bool> > RFFlagCube::flagrow_kiss; // in kiss mode, support more agents
Int RFFlagCube::pos_get_flag=-1,RFFlagCube::pos_set_flag=-1;
RFlagWord RFFlagCube::base_flagmask=1,
RFFlagCube::full_corrmask;
Int RFFlagCube::agent_count=0, RFFlagCube::num_inst=0;
Vector<RFlagWord> RFFlagCube::corr_flagmask;
//This is a map from a set of correlations to a set of agents, i.e.
// which agents deal with any of the given correlations