#pragma once #include namespace AMDiS { /// Flat data vector to be used in assembling as element vector template > class FlatVector : public std::vector { public: using std::vector::vector; /// Assign value `s` to all entries of the vector FlatVector& operator=(T s) { this->assign(this->size(), s); return *this; } }; } // end namespace AMDiS