MaMiCo 1.2
Loading...
Searching...
No Matches
Copy.h
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
8namespace coupling {
9namespace filtering {
10template <unsigned int dim> class Copy;
11}
12} // namespace coupling
13
20
21template <unsigned int dim> class coupling::filtering::Copy : public coupling::filtering::FilterInterfaceReadOnly<dim> {
22public:
23 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 : coupling::filtering::FilterInterfaceReadOnly<dim>(inputCellVector, outputCellVector, filteredValues, "COPY") {}
26
27 void operator()() {
28 coupling::filtering::FilterInterfaceReadOnly<dim>::copyInputToOutput();
29 // coupling::filtering::FilterInterface<dim>::DEBUG_PRINT_CELL_VELOCITY("COPY");
30 }
31};
defines the cell type with cell-averaged quantities only (no linked cells).
Definition CouplingCell.h:29
Definition Copy.h:21
Definition FilterInterfaceReadOnly.h:22
Definition FilterPipeline.h:21
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15