diff --git a/dune/foamgrid/foamgrid/foamgridfactory.hh b/dune/foamgrid/foamgrid/foamgridfactory.hh index dc8fe728446174945e9d6a3e816ef2772f99d91d..3ebe78494db5964b3a8b519953949df2bb0fc03a 100644 --- a/dune/foamgrid/foamgrid/foamgridfactory.hh +++ b/dune/foamgrid/foamgrid/foamgridfactory.hh @@ -168,9 +168,9 @@ template <int dimworld, class ct> const std::vector<unsigned int>& vertices) override { assert(type.isLine()); FoamGridEntityImp<1, dimgrid, dimworld, ctype> newElement(this->vertexArray_[vertices[0]], - this->vertexArray_[vertices[1]], - 0, - this->grid_->getNextFreeId()); + this->vertexArray_[vertices[1]], + 0, + this->grid_->getNextFreeId()); std::get<1>(this->grid_->entityImps_[0]).push_back(newElement); @@ -187,9 +187,9 @@ template <int dimworld, class ct> { assert(type.isLine()); FoamGridEntityImp<1, dimgrid, dimworld, ctype> newElement(this->vertexArray_[vertices[0]], - this->vertexArray_[vertices[1]], - 0, - this->grid_->getNextFreeId()); + this->vertexArray_[vertices[1]], + 0, + this->grid_->getNextFreeId()); // save the pointer to the element parametrization newElement.elementParametrization_ = elementParametrization; @@ -277,7 +277,7 @@ template <int dimworld, class ct> GridFactory() {} GridFactory(FoamGrid<2, dimworld, ctype>* grid): - GridFactoryBase<2,dimworld,ctype>(grid) + GridFactoryBase<2, dimworld, ctype>(grid) {} /** \brief Insert a boundary segment.