diff --git a/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh b/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh index 8c5e6c670238188b8870963878c4d7663419ec1b..eed6d01c693f29cf67e9480d8a7aa2078f512e3a 100644 --- a/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh +++ b/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh @@ -238,7 +238,7 @@ private: scvs_.resize(numScvs); scvfs_.reserve(numScvf); scvfIndicesOfScv_.resize(numScvs); - hasBoundaryScvf_.resize(numScvs, false); + hasBoundaryScvf_.assign(numScvs, false); // Build the scvs and scv faces GridIndexType scvfIdx = 0; @@ -347,7 +347,7 @@ private: } } - // build the connectivity map for an effecient assembly + // build the connectivity map for an efficient assembly connectivityMap_.update(*this); } @@ -531,7 +531,7 @@ private: neighborVolVarIndexSet.reserve(numLocalFaces); // for network grids there might be multiple intersection with the same geometryInInside - // we indentify those by the indexInInside for now (assumes conforming grids at branching facets) + // we identify those by the indexInInside for now (assumes conforming grids at branching facets) std::vector<NeighborVolVarIndices> outsideIndices; if (dim < dimWorld) { @@ -590,7 +590,7 @@ private: neighborVolVarIndices_[eIdx] = neighborVolVarIndexSet; } - // build the connectivity map for an effecient assembly + // build the connectivity map for an efficient assembly connectivityMap_.update(*this); }