Commit 27d0f367 authored by Robert K's avatar Robert K

Merge branch 'fix/gridptr-resize-boundary-params' into 'master'

[gridptr] resize boundary id and parameter vectors after load balance

See merge request !277

(cherry picked from commit ba24548e)

4aaa971b [gridptr] resize boundary id and parameter vectors after load balance
parent 83bffe11
Pipeline #8180 passed with stage
in 58 minutes and 26 seconds
......@@ -486,6 +486,9 @@ namespace Dune
gridPtr_.elParam_.resize( indexSet.size( 0 ) );
if( gridPtr_.nofVtxParam_ > 0 )
gridPtr_.vtxParam_.resize( indexSet.size( dimension ) );
gridPtr_.bndId_.resize( indexSet.size( 1 ) );
if( gridPtr_.haveBndParam_ )
gridPtr_.bndParam_.resize( gridPtr_->numBoundarySegments() );
for( const auto &element : elements( gridView, Partitions::all ) )
{
......
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