LCOV - code coverage report
Current view: top level - synthesis/ImagerObjects - SerialPartitionMixin.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 3 0.0 %
Date: 2024-10-04 18:58:15 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /* -*- mode: c++ -*- */
       2             : //# SerialPartitionMixin.h: Parallel imaging framework data partitioning for
       3             : //#                         serial imaging
       4             : //# Copyright (C) 2016
       5             : //# Associated Universities, Inc. Washington DC, USA.
       6             : //#
       7             : //# This library is free software; you can redistribute it and/or modify it
       8             : //# under the terms of the GNU Library General Public License as published by
       9             : //# the Free Software Foundation; either version 2 of the License, or (at your
      10             : //# option) any later version.
      11             : //#
      12             : //# This library is distributed in the hope that it will be useful, but WITHOUT
      13             : //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
      14             : //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
      15             : //# License for more details.
      16             : //#
      17             : //# You should have received a copy of the GNU Library General Public License
      18             : //# along with this library; if not, write to the Free Software Foundation,
      19             : //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
      20             : //#
      21             : //# Correspondence concerning AIPS++ should be addressed as follows:
      22             : //#        Internet email: casa-feedback@nrao.edu.
      23             : //#        Postal address: AIPS++ Project Office
      24             : //#                        National Radio Astronomy Observatory
      25             : //#                        520 Edgemont Road
      26             : //#                        Charlottesville, VA 22903-2475 USA
      27             : //#
      28             : #ifndef SERIAL_PARTITION_MIXIN_H_
      29             : #define SERIAL_PARTITION_MIXIN_H_
      30             : 
      31             : #include <synthesis/ImagerObjects/ParallelImagerParams.h>
      32             : #include <synthesis/ImagerObjects/MPIGlue.h>
      33             : #include <string>
      34             : 
      35             : namespace casa {
      36             : 
      37             : /**
      38             :  * Parameter and input data partitioning for serial imaging (in
      39             :  * ParallelImagerMixin).
      40             :  */
      41             : template <class T>
      42             : class SerialPartitionMixin
      43             :         : public T {
      44             : 
      45             : public:
      46           0 :         void concat_images(const std::string &type __attribute__((unused))) {};
      47             : 
      48             : protected:
      49             :         ParallelImagerParams
      50           0 :         get_params(MPI_Comm worker_comm __attribute__((unused)),
      51             :                    ParallelImagerParams &initial) {
      52           0 :                 return initial;
      53             :         }
      54             : };
      55             : 
      56             : } // namespace casa
      57             : 
      58             : #endif // SERIAL_PARTITION_MIXIN_H_

Generated by: LCOV version 1.16