24#ifndef SUPER_CONST_2D_H
25#define SUPER_CONST_2D_H
46template <
typename T,
typename W = T>
49 const std::vector<W>
_c;
62 template <
unsigned Size>
66 bool operator() (W output[],
const int input[])
override;
Functor returning a constant vector for all inputs.
const std::vector< W > _c
bool operator()(W output[], const int input[]) override
SuperConst2D(SuperStructure< T, 2 > &superStructure, Vector< W, Size > v)
Constructor template accepting vectors.
SuperConst2D(SuperStructure< T, 2 > &superStructure, std::vector< W > v)
Constructor accepting std::vector.
represents all functors that operate on a SuperStructure<T,2> in general
Top level namespace for all of OpenLB.
constexpr std::vector< T > toStdVector(const ScalarVector< T, D, IMPL > &a)
Copies data into a standard vector.
efficient implementation of a vector class