diff --git a/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh b/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh index 6ad04912928a0ba2d1821cade8ab7de2af3a3850..a82d46434b4604f09ad39f4f8b8f5329371c90b9 100644 --- a/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh +++ b/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh @@ -172,31 +172,40 @@ public: } //! The center of the sub control volume - const GlobalPosition& center() const { return center_; } + const GlobalPosition& center() const + { return center_; } //! The volume of the sub control volume - Scalar volume() const { return volume_; } + Scalar volume() const + { return volume_; } //! The element-local vertex index this scv is connected to - LocalIndexType localDofIndex() const { return vIdxLocal_; } + LocalIndexType localDofIndex() const + { return vIdxLocal_; } //! The element-local index of this scv - LocalIndexType indexInElement() const { return elemLocalScvIdx_; } + LocalIndexType indexInElement() const + { return elemLocalScvIdx_; } //! The element-local facet index for which a fracture scv was created - LocalIndexType facetIndexInElement() const { assert(isFractureScv_); return facetIdx_; } + LocalIndexType facetIndexInElement() const + { assert(isFractureScv_); return facetIdx_; } //! The index of the dof this scv is embedded in - GridIndexType dofIndex() const { return dofIndex_; } + GridIndexType dofIndex() const + { return dofIndex_; } // The position of the dof this scv is embedded in (list is defined such that first entry is vertex itself) - const GlobalPosition& dofPosition() const { return corners_[0]; } + const GlobalPosition& dofPosition() const + { return corners_[0]; } //! The global index of the element this scv is embedded in - GridIndexType elementIndex() const { return elementIndex_; } + GridIndexType elementIndex() const + { return elementIndex_; } //! Return true if this scv is part of the fracture domain - bool isOnFracture() const { return isFractureScv_; } + bool isOnFracture() const + { return isFractureScv_; } //! The geometry of the sub control volume // e.g. for integration diff --git a/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh b/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh index 16760c8d01d1bc2c0e84be9bac3bddd1cfa93c6a..0acc5b42bf4135ab614c4edad9b26e17234ab585 100644 --- a/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh +++ b/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh @@ -196,34 +196,44 @@ public: } //! The center of the sub control volume face - const GlobalPosition& center() const { return center_; } + const GlobalPosition& center() const + { return center_; } //! The integration point for flux evaluations in global coordinates - const GlobalPosition& ipGlobal() const { return center_; } + const GlobalPosition& ipGlobal() const + { return center_; } //! The area of the sub control volume face - Scalar area() const { return area_; } + Scalar area() const + { return area_; } //! returns bolean if the sub control volume face is on the boundary - bool boundary() const { return boundary_; } + bool boundary() const + { return boundary_; } //! returns the unit normal vector pointing outwards - const GlobalPosition& unitOuterNormal() const { return unitOuterNormal_; } + const GlobalPosition& unitOuterNormal() const + { return unitOuterNormal_; } //! The global index of this sub control volume face - GridIndexType index() const { return scvfIndex_; } + GridIndexType index() const + { return scvfIndex_; } //! Return if this is a fracture scvf - bool isOnFracture() const { return isFractureScvf_; } + bool isOnFracture() const + { return isFractureScvf_; } //! The element-local facet index for which a fracture scv was created - LocalIndexType facetIndexInElement() const { assert(isFractureScvf_); return facetIdx_; } + LocalIndexType facetIndexInElement() const + { assert(isFractureScvf_); return facetIdx_; } //! Return the boundary flag - typename BoundaryFlag::value_type boundaryFlag() const { return boundaryFlag_.get(); } + typename BoundaryFlag::value_type boundaryFlag() const + { return boundaryFlag_.get(); } //! index of the inside sub control volume for spatial param evaluation - LocalIndexType insideScvIdx() const { return scvIndices_[0]; } + LocalIndexType insideScvIdx() const + { return scvIndices_[0]; } //! index of the outside sub control volume for spatial param evaluation // This results in undefined behaviour if boundary is true