LCOV - code coverage report
Current view: top level - coupling/filtering/filters - Copy.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 5 0.0 %
Date: 2025-06-25 11:26:37 Functions: 0 2 0.0 %

          Line data    Source code
       1             : // This file is part of the Mamico project. For conditions of distribution
       2             : // and use, please see the copyright notice in Mamico's main folder, or at
       3             : // www5.in.tum.de/mamico
       4             : 
       5             : #pragma once
       6             : #include "coupling/filtering/interfaces/FilterInterfaceReadOnly.h"
       7             : 
       8             : namespace coupling {
       9             : namespace filtering {
      10             : template <unsigned int dim> class Copy;
      11             : }
      12             : } // namespace coupling
      13             : 
      14             : /**
      15             :  * Simplest practical implementation of FilterInterfaceReadOnly.
      16             :  * Used primarily as a "filler" filter when adding filters at runtime. Check
      17             :  * FilterSequence.h for details.
      18             :  * @author Felix Maurer
      19             :  */
      20             : 
      21             : template <unsigned int dim> class coupling::filtering::Copy : public coupling::filtering::FilterInterfaceReadOnly<dim> {
      22             : public:
      23           0 :   Copy(const std::vector<coupling::datastructures::CouplingCell<dim>*>& inputCellVector,
      24             :        const std::vector<coupling::datastructures::CouplingCell<dim>*>& outputCellVector, const std::array<bool, 7> filteredValues)
      25           0 :       : coupling::filtering::FilterInterfaceReadOnly<dim>(inputCellVector, outputCellVector, filteredValues, "COPY") {}
      26             : 
      27           0 :   void operator()() {
      28           0 :     coupling::filtering::FilterInterfaceReadOnly<dim>::copyInputToOutput();
      29             :     // coupling::filtering::FilterInterface<dim>::DEBUG_PRINT_CELL_VELOCITY("COPY");
      30           0 :   }
      31             : };

Generated by: LCOV version 1.14