From fbaaa2c247fe5ca2300a3c408948fd7da62009b0 Mon Sep 17 00:00:00 2001 From: Ger van Diepen <diepen@astron.nl> Date: Fri, 22 Apr 2011 07:21:39 +0000 Subject: [PATCH] bug 1660: Initialize depending on station type --- LCS/ApplCommon/include/ApplCommon/AntField.h | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/LCS/ApplCommon/include/ApplCommon/AntField.h b/LCS/ApplCommon/include/ApplCommon/AntField.h index 53012ed12e4..e2785cc57b0 100644 --- a/LCS/ApplCommon/include/ApplCommon/AntField.h +++ b/LCS/ApplCommon/include/ApplCommon/AntField.h @@ -119,17 +119,6 @@ namespace LOFAR { // Get max nr of fields int maxFields() const; - // Read the arrays from the file. - void readFile (istream& inputStream, const string& fullFilename); - - // Initialize all arrays to zero. - void setZeroes(); - - // Initialize an array to the given shape and fill with zeroes. - void initArray (AntField::AFArray& array, size_t n1); - void initArray (AntField::AFArray& array, size_t n1, size_t n2); - void initArray (AntField::AFArray& array, size_t n1, size_t n2, size_t n3); - // Helper function to read an array in Blitz format. template<int NDIM> static void readBlitzArray(AntField::AFArray& array, istream& is) @@ -171,6 +160,17 @@ namespace LOFAR { AntField(const AntField& that); AntField& operator=(const AntField& that); + // Read the arrays from the file. + void readFile (istream& inputStream, const string& fullFilename); + + // Initialize all arrays to zero. + void setZeroes (const std::string& fileName); + + // Initialize an array to the given shape and fill with zeroes. + void initArray (AntField::AFArray& array, size_t n1); + void initArray (AntField::AFArray& array, size_t n1, size_t n2); + void initArray (AntField::AFArray& array, size_t n1, size_t n2, size_t n3); + // Calculate the length of the RCU vectors. void makeRCULen (int fieldIndex); -- GitLab