Commit 203aae19 authored by crosetto's avatar crosetto
Browse files

fixing a bug when calling bcFluxManageMatrix with more than one flux

parent 90e611fb
......@@ -286,7 +286,7 @@ void bcManageMatrix( MatrixType& A,
bcMixteManageMatrix( A, mesh, dof, BCh[ i ], bdfem, t, BCh.offset() );
break;
case Flux: // Mixte boundary conditions (Robin)
bcFluxManageMatrix( A, mesh, dof, BCh[ i ], bdfem, t, BCh.offset() );
bcFluxManageMatrix( A, mesh, dof, BCh[ i ], bdfem, t, BCh.offset()+BCh[i].offset());
break;
default:
ERROR_MSG( "This BC type is not yet implemented" );
......
Supports Markdown
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