MaMiCo
1.2
Loading...
Searching...
No Matches
coupling
filtering
filters
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
8
namespace
coupling
{
9
namespace
filtering
{
10
template
<
unsigned
int
dim>
class
Copy
;
11
}
12
}
// namespace coupling
13
20
21
template
<
unsigned
int
dim>
class
coupling::filtering::Copy
:
public
coupling::filtering::FilterInterfaceReadOnly
<dim> {
22
public
:
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
};
coupling::datastructures::CouplingCell
defines the cell type with cell-averaged quantities only (no linked cells).
Definition
CouplingCell.h:29
coupling::filtering::Copy
Definition
Copy.h:21
coupling::filtering::FilterInterfaceReadOnly
Definition
FilterInterfaceReadOnly.h:22
coupling::filtering
Definition
FilterPipeline.h:21
coupling
everything necessary for coupling operations, is defined in here
Definition
AdditiveMomentumInsertion.h:15
Generated by
1.13.2