-
Notifications
You must be signed in to change notification settings - Fork 230
PEC_Insulator cleanup #6426
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
PEC_Insulator cleanup #6426
Conversation
| * \param[in] set_Fx_lo the flags for the field along x at the lower boundary | ||
| * \param[in] set_Fy_lo the flags for the field along y at the lower boundary | ||
| * \param[in] set_Fz_lo the flags for the field along z at the lower boundary | ||
| * \param[in] set_Fx_hi the flags for the field along x at the upper boundary | ||
| * \param[in] set_Fy_hi the flags for the field along y at the upper boundary | ||
| * \param[in] set_Fz_hi the flags for the field along z at the upper boundary |
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.
Maybe make the description consistent with changes from your previous PR?
e.g., the flags for the x-field at the lower boundaries
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.
This is fixed with a merge of development
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.
Is it? Looks like it is still the old way.
|
Hi Dave, Do think that you could use this new functionality in the ImplicitSolver::convertFieldBCToLinOpBC() routine in /FieldSolver/ImplicitSolvers/ImplicitSolver.cpp ? The idea is to modify the below lines to use |
On second thought, this can be implemented in a future PR. |
JustinRayAngus
left a comment
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.
Thanks Dave!
Only one minor thing left. I think the comments in header file still need to be adjusted to match those in the cpp file.
This cleans up the variable names used in the PEC_Insulator class to increase clarity and readability. It also adds accessors allowing checks of whether there are E or B fields being set by the boundary condition.