Exemplo n.º 1
0
        /// <summary>
        /// Constructor for cross cell process tracker: Initialises the trackers for individual processes
        /// </summary>
        /// <param name="trackCrossCellProcesses">Whether to track cross-grid-cell ecological processes</param>
        /// <param name="filename">The name of the file to output data to</param>
        /// <param name="outputPath">The path to write the file to</param>
        /// <param name="outputFileSuffix">The suffix to apply to the output filename</param>
        public CrossCellProcessTracker(Boolean trackCrossCellProcesses, string filename, string outputPath, string outputFileSuffix)
        {
            // Initialise cross-cell trackers for ecological processes
            // Note that results go into a single file irrespective of how many cells are being tracked; that is, it automatically adjusts to either specific locations or the whole
            // grid
            _TrackCrossCellProcesses = trackCrossCellProcesses;

            if (_TrackCrossCellProcesses)
            {
                _TrackDispersal = new DispersalTracker(filename, outputPath, outputFileSuffix);
            }
        }
        /// <summary>
        /// Constructor for cross cell process tracker: Initialises the trackers for individual processes
        /// </summary>
        /// <param name="trackCrossCellProcesses">Whether to track cross-grid-cell ecological processes</param>
        /// <param name="filename">The name of the file to output data to</param>
        /// <param name="outputPath">The path to write the file to</param>
        /// <param name="outputFileSuffix">The suffix to apply to the output filename</param>
        public CrossCellProcessTracker(Boolean trackCrossCellProcesses, string filename, string outputPath, string outputFileSuffix)
        {
            // Initialise cross-cell trackers for ecological processes
            // Note that results go into a single file irrespective of how many cells are being tracked; that is, it automatically adjusts to either specific locations or the whole
            // grid
            _TrackCrossCellProcesses = trackCrossCellProcesses;

            if (_TrackCrossCellProcesses)
            {
                _TrackDispersal = new DispersalTracker(filename, outputPath, outputFileSuffix);
            }
        }
Exemplo n.º 3
0
 public void Copy(DispersalTracker existing)
 {
     System.IO.File.Copy(existing.FileName, this.FileName, true);
 }
 public void Copy(DispersalTracker existing)
 {
     System.IO.File.Copy(existing.FileName, this.FileName, true);
 }