Skip to content
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

Rename scalar constant variables to ascalar and bscalar in linear solvers to avoid confusion #3644

Conversation

eebasso
Copy link
Contributor

@eebasso eebasso commented Nov 29, 2023

Summary

The PR renames the scalar constant variables towards the convention neutral names ascalar and bscalar as opposed to either A and B or alpha and beta.

Additional background

Precedence for using the names ascalar and bscalar can be found in MLABecLaplacian.H, MLALaplacian.H, MLEBABecLap.H and various MyTest.H files. This naming scheme compliments that of the coefficients, often of the form acoeffs, a_coeffs, etc., as well as the functions named setAScalar(), setACoeffs, etc. For example, look at the usage of acf and bcf in MLNodeABecLap_3D_K.H.

Hopefully this change can be considered independently of whether the A \alpha or \alpha A convention is preferred in the future. This is related to PR #3640.

@eebasso eebasso changed the title Name scalar constant variables in linear solvers to ascalar and bscalar instead of alpha and beta to avoid confusion Rename scalar constant variables to ascalar and bscalar in linear solvers to avoid confusion Nov 29, 2023
…to linear-solvers-rename-alpha-beta-scalars
@WeiqunZhang
Copy link
Member

Let's not worry about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants