Discontinuous Galerkin Library
#include "dg/algorithm.h"

A filter that does nothing. More...

Public Member Functions

template<class ContainerType1 >
void operator() (ContainerType1 &inout) const
 Do nothing. More...
 

Detailed Description

A filter that does nothing.

Member Function Documentation

◆ operator()()

template<class ContainerType1 >
void dg::IdentityFilter::operator() ( ContainerType1 &  inout) const
inline

Do nothing.

Template Parameters
ContainerTypeAny class for which a specialization of TensorTraits exists and which fulfills the requirements of the there defined data and execution policies derived from AnyVectorTag and AnyPolicyTag. Among others
  • dg::HVec (serial), dg::DVec (cuda / omp), dg::MHVec (mpi + serial) or dg::MDVec (mpi + cuda / omp)
  • std::vector<dg::DVec> (vector of shared device vectors), std::array<double, 4> (array of 4 doubles) or std::map < std::string, dg::DVec> ( a map of named vectors)
  • double (scalar) and other primitive types ...
If there are several ContainerTypes in the argument list, then TensorTraits must exist for all of them
See also
See The dg dispatch system for a detailed explanation of our type dispatch system
Parameters
inout(input-output) remains unchanged

The documentation for this struct was generated from the following file: