Skip to content

Fix the sign of vector weighted densities in cartesian and cylindrical geometry#120

Merged
prehner merged 2 commits intomainfrom
fix_vector_weighted_density_sign
Jan 23, 2023
Merged

Fix the sign of vector weighted densities in cartesian and cylindrical geometry#120
prehner merged 2 commits intomainfrom
fix_vector_weighted_density_sign

Conversation

@prehner
Copy link
Copy Markdown
Contributor

@prehner prehner commented Jan 22, 2023

With this change vector weighted densities will have the correct signs in all geometries.

While this is an important validation of the correctness of the transforms in general, the sign of vector weighted densities had no effect on results as they always appear in dot products in the calculation of Helmholtz energies, which cancel out their sign.

Shout out to @RolfStierle and @oivindwi.

@prehner
Copy link
Copy Markdown
Contributor Author

prehner commented Jan 22, 2023

At the moment the calculation is excruciatingly hard to comprehend due to some shortcuts/simplifications that were applied without further explanations. It should be explained in the theory guide.

@prehner prehner merged commit 0cfccdb into main Jan 23, 2023
@prehner prehner deleted the fix_vector_weighted_density_sign branch January 23, 2023 16:08
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