-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt Robin / Neumann boundary conditions to user needs. #2710
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good!
Someone please check the ctests.
d2de516
to
852f43c
Compare
Rebased and changed tolerances in ctests. |
Please review. |
852f43c
to
f67759b
Compare
Rebased again. Please a second reviewer! |
double integral_measure = 1.0; | ||
if (_data.integral_measure) | ||
{ | ||
integral_measure = (*_data.integral_measure)(t, position)[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
integral_measure = (*_data.integral_measure)(t, position)[0]; | |
const double integral_measure = (_data.integral_measure) ? (*_data.integral_measure)(t, position)[0] : 1.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't declare/define the variable integral_measure
only in the scope of the branch of the if condition since it is used below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⏩
ip_data.weight; | ||
if (_data.integral_measure) | ||
{ | ||
integral_measure = (*_data.integral_measure)(t, position)[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
integral_measure = (*_data.integral_measure)(t, position)[0]; | |
const double integral_measure = (_data.integral_measure) ? (*_data.integral_measure)(t, position)[0] : 1.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this doesn't work. See the argument in the RobinBoundaryConditionLocalAssembler case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.
ParameterLib::SpatialPosition position; | ||
position.setElementID(Base::_element.getID()); | ||
|
||
double integral_measure = 1.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove it if the following suggestion (fro lines 82-84) is taken .
@TomFischer Something is consistently wrong with the parallel tests:
I restarted the parallel jenkins job yesterday with same result... |
I'd think that the |
f517b47
to
96979f7
Compare
Relax the test tolerances for the parallel TracerSimulation benchmark.
96979f7
to
fc21689
Compare
OpenGeoSys development has been moved to GitLab. |
Add possibility to specify 'lower' dimensional Robin/Neumann boundary conditions.