24#ifndef SUPER_CONST_3D_HH
25#define SUPER_CONST_3D_HH
33template <
typename T,
typename W>
35 :
SuperF3D<T,W>(superStructure, v.size()),
38 this->
getName() =
"const(" + std::to_string(
_c.size()) +
")";
41template <
typename T,
typename W>
43 :
SuperConst3D(superStructure, std::vector<W>(1, scalar))
46template <
typename T,
typename W>
49 for (
int i = 0; i < this->getTargetDim(); ++i) {
std::string & getName()
read and write access to name
Functor returning a constant vector for all inputs.
SuperConst3D(SuperStructure< T, 3 > &superStructure, std::vector< W > v)
Constructor accepting std::vector.
const std::vector< W > _c
bool operator()(W output[], const int input[]) override
represents all functors that operate on a SuperStructure<T,3> in general
Top level namespace for all of OpenLB.