diff --git a/LCS/ApplCommon/include/ApplCommon/AntField.h b/LCS/ApplCommon/include/ApplCommon/AntField.h index 53012ed12e4baf220caa2939a3350b66d83ab4af..e2785cc57b05bf65a75ee3b2bf7716457ce0f7de 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);