Commit e31270fc authored by teo's avatar teo
Browse files

We modify the Natural bcfunctionbase.

We add the possibility to impose a Natural boundary condition of type  bcfunction  with the  flag Component.
parent efea9816
......@@ -1251,6 +1251,10 @@ void bcNaturalManage( VectorType& b,
bRepeated[ idDof ] += bdfem.phi( int( idofF - 1 ), iq ) * BCb( t, x, y, z, BCb.component( j ) ) *
bdfem.weightMeas( iq ); // BASEINDEX + 1
break;
case Component:
bRepeated[ idDof ] += bdfem.phi( int( idofF - 1 ), iq ) * BCb( t, x, y, z, BCb.component( j ) ) *
bdfem.weightMeas( iq ); // BASEINDEX + 1
break;
case Normal:
// std::cout << bdfem.normal(int(j), iq) << " ";
bRepeated[ idDof ] += BCb( t, x, y, z, BCb.component( j ) )*
......
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