diff --git a/AMR_tidy/dynamicRefineFvMeshNew/multiCritRefinement.C b/AMR_tidy/dynamicRefineFvMeshNew/multiCritRefinement.C index 556763c1..9ac82af2 100644 --- a/AMR_tidy/dynamicRefineFvMeshNew/multiCritRefinement.C +++ b/AMR_tidy/dynamicRefineFvMeshNew/multiCritRefinement.C @@ -317,7 +317,7 @@ void Foam::multiCritRefinement::updateRefinementField() IOobject::NO_WRITE, false ) - ).subDict("dynamicRefineFvMeshCoeffs") + ).subDict("dynamicRefineFvMeshNewCoeffs") ); scalar globalMaxRefLevel = readScalar(refineDict.lookup("maxRefinement")); diff --git a/AMR_tidy/hexRef/hexRef2/hexRef2.C b/AMR_tidy/hexRef/hexRef2/hexRef2.C index fbcc9ea2..c1aaef5a 100644 --- a/AMR_tidy/hexRef/hexRef2/hexRef2.C +++ b/AMR_tidy/hexRef/hexRef2/hexRef2.C @@ -336,23 +336,6 @@ Foam::labelListList Foam::hexRef2::setRefinement isDivisibleEdge[edgeI] = false; } - // for (label facei = mesh_.nInternalFaces(); facei < mesh_.nFaces(); facei++) - // { - // const label & patchID = mesh_.boundaryMesh().whichPatch(facei); - - // if (mesh_.boundaryMesh()[patchID].type() != "empty") - // { - // isDivisibleFace[facei] = false; - // const labelList& fEdges = mesh_.faceEdges(facei); - - // forAll(fEdges, i) - // { - // label edgeI = fEdges[i]; - // isDivisibleEdge[edgeI] = false; - // } - // } - // } - for (label facei = 0; facei < mesh_.nInternalFaces(); facei++) { isDivisibleFace[facei] = false; @@ -898,11 +881,13 @@ Foam::labelListList Foam::hexRef2::setRefinement face newFace(2); // maybe need to adjust the point order - DynamicList