Commit d2f643c1 authored by Martin Alkämper's avatar Martin Alkämper

[!67] Bugfix/conforming backup restore

Merge branch 'bugfix/conforming-backup-restore' into 'master'

ref:extensions/dune-alugrid This fixes issue [#51] by disabling splitGhost for
conforming refinement.

See merge request [!67]

  [#51]: gitlab.dune-project.org/NoneNone/issues/51
  [!67]: gitlab.dune-project.org/extensions/dune-alugrid/merge_requests/67


Closes #51
parents 141908e1 4aa5d188
Pipeline #17639 passed with stage
in 18 minutes and 32 seconds
......@@ -408,6 +408,9 @@ namespace ALUGrid
{
//the neighbour may have changed
neighbour_t neigh = ( twist < 0 ) ? this->nb.front () : this->nb.rear() ;
//refine neighbour as long as it is leaf.
//We are at the refinement face, so the neighbour of the refined element
//has to be refined too
while(neigh.first->nbLeaf())
{
neigh.first->refineBalance (r, neigh.second);
......@@ -545,8 +548,10 @@ namespace ALUGrid
typedef typename Gitter::GhostChildrenInfo GhostChildrenInfo;
GhostChildrenInfo ghostInfo;
// ghostInfo is filled by splitGhost, see gitter_tetra_top_pll.h
this->splitGhost( ghostInfo );
if( this->myhface(0)-> myvertex( 0 )->myGrid()->ghostCellsEnabled() )
{
this->splitGhost( ghostInfo );
}
//int gFace = this->getGhost().second ;
innerbndseg_t * b0 = new innerbndseg_t (l, subface (0,0), twist (0), this , _bt, ghostInfo.child(0), ghostInfo.face(0) ) ;
......
......@@ -91,11 +91,11 @@ try
check< Dune::ALUGrid< 2, 2, Dune::cube, Dune::nonconforming > >();
check< Dune::ALUGrid< 2, 2, Dune::simplex, Dune::nonconforming > >();
//check< Dune::ALUGrid< 2, 2, Dune::simplex, Dune::conforming > >();
check< Dune::ALUGrid< 2, 2, Dune::simplex, Dune::conforming > >();
check< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >();
check< Dune::ALUGrid< 3, 3, Dune::simplex, Dune::nonconforming > >();
//check< Dune::ALUGrid< 3, 3, Dune::simplex, Dune::conforming > >();
check< Dune::ALUGrid< 3, 3, Dune::simplex, Dune::conforming > >();
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment