Commit 74732d87 authored by Cristiano Malossi's avatar Cristiano Malossi
Browse files

Changing the methods for the bc of 0D solver.

parent a167c9d4
......@@ -239,13 +239,19 @@ MultiscaleModelWindkessel0D::checkSolution() const
void
MultiscaleModelWindkessel0D::imposeBoundaryFlowRate ( const multiscaleID_Type& boundaryID, const function_Type& function )
{
M_bc->handler()->setBC ( boundaryFlag ( boundaryID ), Current, boost::bind ( function, _1, _1, _1, _1, _1 ) );
ZeroDimensionalFunction base;
base.setFunction ( boost::bind ( function, _1, _1, _1, _1, _1 ) );
M_bc->handler()->setBC ( boundaryFlag ( boundaryID ), Current, base );
}
void
MultiscaleModelWindkessel0D::imposeBoundaryMeanNormalStress ( const multiscaleID_Type& boundaryID, const function_Type& function )
{
M_bc->handler()->setBC ( boundaryFlag ( boundaryID ), Voltage, boost::bind ( function, _1, _1, _1, _1, _1 ) );
ZeroDimensionalFunction base;
base.setFunction ( boost::bind ( function, _1, _1, _1, _1, _1 ) );
M_bc->handler()->setBC ( boundaryFlag ( boundaryID ), Voltage, base );
}
Real
......
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