Commit 46d30be4 authored by Tomáš Jakubec's avatar Tomáš Jakubec
Browse files

Revert "Merge branch 'refs/heads/Heat_Cond_RKM'"

This reverts commit a6c71d46, reversing
changes made to 0a524e29.
parent a6c71d46
Loading
Loading
Loading
Loading
+840 −221

File changed.

Preview size limit exceeded, changes collapsed.

+6 −6
Original line number Original line Diff line number Diff line
@@ -378,20 +378,20 @@ public:
    void appendBoundaryCell(IndexType cellIndex, IndexType faceIndex){
    void appendBoundaryCell(IndexType cellIndex, IndexType faceIndex){
        Cell c;
        Cell c;
        c.setIndex(cellIndex);
        c.setIndex(cellIndex);
        c.setBoundaryElementIndex(faceIndex);
        c.SetBoundaryElementIndex(faceIndex);
        BoundaryCells.push_back(c);
        BoundaryCells.push_back(c);
    }
    }


    void setupBoundaryCells(){
    void setupBoundaryCells(){
        for (Face& face : getFaces()){
        for (Face& face : getFaces()){
            if (face.getCellLeftIndex() == INVALID_INDEX(IndexType)){
            if (face.GetCellLeftIndex == INVALID_INDEX(IndexType)){
                IndexType cellIndex = BoundaryCells.size() | BOUNDARY_INDEX(IndexType);
                IndexType cellIndex = BoundaryCells.size() | BOUNDARY_INDEX(IndexType);
                face.setCellLeftIndex(cellIndex);
                face.SetCellLeftIndex(cellIndex);
                appendBoundaryCell(cellIndex, face.getIndex());
                appendBoundaryCell(cellIndex, face.getIndex());
            }
            }
            if (face.getCellRightIndex() == INVALID_INDEX(IndexType)){
            if (face.GetCellRightIndex == INVALID_INDEX(IndexType)){
                IndexType cellIndex = BoundaryCells.size() | BOUNDARY_INDEX(IndexType);
                IndexType cellIndex = BoundaryCells.size() | BOUNDARY_INDEX(IndexType);
                face.setCellRightIndex(cellIndex);
                face.SetCellRightIndex(cellIndex);
                appendBoundaryCell(cellIndex, face.getIndex());
                appendBoundaryCell(cellIndex, face.getIndex());
            }
            }
        }
        }
@@ -401,7 +401,7 @@ public:


    void setupBoundaryCellsCenters() {
    void setupBoundaryCellsCenters() {
        for(Cell& cell : BoundaryCells){
        for(Cell& cell : BoundaryCells){
            cell.setCenter(getFaces().at(cell.getBoundaryElementIndex()).getCenter());
            cell.SetCenter(getFaces().at(cell.getBoundaryElementIndex()).GetCenter());
        }
        }
    }
    }