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

Use BibTeX citations in Doxygen #3304

Merged
merged 15 commits into from
Nov 15, 2019
Merged

Use BibTeX citations in Doxygen #3304

merged 15 commits into from
Nov 15, 2019

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Nov 13, 2019

Follow-up to the Summer School developers meeting

Description of changes:

  • replace all hardcoded literature references in the core by BibTeX references (817e59b)
  • backport improvements from 4.1.1: grammar and spell check, copyright years
  • remove unit tests from the doxygen documentation (too much clutter)
  • cleanup doxygen documentation

Move docstrings above the corresponding functions, remove duplicate
docstrings, transform regular comments into docstrings if relevant,
fix typos, remove outdated text, typeset math formula.
The bibliographic styles available to Doxygen do not process the
DOI field of BibTeX files. The DOI field is now used to create the
URL field programmatically.
The citations were obtained from icp.bib.
Doxygen now requires a BibTeX installation.
@codecov
Copy link

codecov bot commented Nov 13, 2019

Codecov Report

Merging #3304 into python will decrease coverage by <1%.
The diff coverage is 83%.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #3304   +/-   ##
======================================
- Coverage      86%     85%   -1%     
======================================
  Files         536     536           
  Lines       25564   25513   -51     
======================================
- Hits        21995   21923   -72     
- Misses       3569    3590   +21
Impacted Files Coverage Δ
src/core/unit_tests/ParticleCache_test.cpp 100% <ø> (ø) ⬆️
src/utils/include/utils/math/quaternion.hpp 100% <ø> (ø) ⬆️
src/core/cuda_init.cpp 0% <ø> (ø) ⬆️
src/core/electrostatics_magnetostatics/p3m.cpp 86% <ø> (-1%) ⬇️
...c/core/unit_tests/ParallelScriptInterface_test.cpp 100% <ø> (ø) ⬆️
src/core/domain_decomposition.hpp 100% <ø> (ø) ⬆️
src/utils/tests/Vector_test.cpp 100% <ø> (ø) ⬆️
src/utils/include/utils/math/AS_erfc_part.hpp 100% <ø> (ø) ⬆️
...rc/core/grid_based_algorithms/lb_interpolation.cpp 95% <ø> (ø) ⬆️
...e/electrostatics_magnetostatics/reaction_field.hpp 100% <ø> (ø) ⬆️
... and 93 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef37a15...20938fe. Read the comment docs.

doc/doxygen/bibliography.bib Outdated Show resolved Hide resolved
doc/doxygen/bibliography.bib Outdated Show resolved Hide resolved
doc/doxygen/bibliography.bib Outdated Show resolved Hide resolved
doc/doxygen/bibliography.bib Outdated Show resolved Hide resolved
doc/doxygen/bibliography.bib Outdated Show resolved Hide resolved
src/core/virtual_sites/lb_inertialess_tracers.cpp Outdated Show resolved Hide resolved
src/core/virtual_sites/lb_inertialess_tracers_cuda.cu Outdated Show resolved Hide resolved
src/core/virtual_sites/lb_inertialess_tracers_cuda.cu Outdated Show resolved Hide resolved
They do not provide any useful information and pollute the
documentation with irrelevant global variables and mocked
structs/classes that have the same name as the corresponding
real structs/classes, making it harder to find the relevant
documentation page.
@@ -163,7 +161,7 @@ void dp3m_deactivate();
* These parameters are stored in the @ref dp3m object.
*
* The function utilizes the analytic expression of the error estimate
* for the dipolar P3M method in the paper of J. J. Cerda et al., JCP 2008 in
* for the dipolar P3M method in the paper of @cite cerda08d in
* order to obtain the rms error in the force for a system of N randomly
* distributed particles in a cubic box.
* For the real space error the estimate of Kolafa/Perram is used.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering, is there a citation for that one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love references with the author name but no year and no journal...

@jngrad
Copy link
Member Author

jngrad commented Nov 14, 2019

@pkreissl I think I got all of them this time. I couldn't deduce the reference for the following 4 citations that have no year information: Krueger and Fedosov, Yeh and Klapp, Schiller, Moshier.

Copy link
Contributor

@pkreissl pkreissl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found another double space in the code documentation, your call.
Otherwise you're good to go.

src/core/electrostatics_magnetostatics/mmm-common.hpp Outdated Show resolved Hide resolved
Remove outdated information, fix typos, remove double whitespaces,
fix broken links, fix doxygen style.
@jngrad jngrad requested a review from fweik November 15, 2019 13:25
@jngrad
Copy link
Member Author

jngrad commented Nov 15, 2019

bors r=fweik

bors bot added a commit that referenced this pull request Nov 15, 2019
3304: Use BibTeX citations in Doxygen r=fweik a=jngrad

Follow-up to the Summer School developers meeting

Description of changes:
- replace all hardcoded literature references in the core by BibTeX references (817e59b)
- backport improvements from 4.1.1: grammar and spell check, copyright years
- remove unit tests from the doxygen documentation (too much clutter)
- cleanup doxygen documentation

Co-authored-by: Jean-Noël Grad <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 15, 2019

Build succeeded

@bors bors bot merged commit 20938fe into espressomd:python Nov 15, 2019
@jngrad jngrad mentioned this pull request Nov 15, 2019
bors bot added a commit that referenced this pull request Nov 15, 2019
3314: Modernize core r=fweik a=jngrad

Follow-up to #3304

Description of changes:
- cherry-pick #3312
- add a `BoxGeometry::volume` method
- use `bool` for true/false flags
- reduce scope of local variables
- remove obsolete comments

Co-authored-by: Christoph Junghans <[email protected]>
Co-authored-by: Jean-Noël Grad <[email protected]>
@jngrad jngrad added this to the Espresso 4.2 milestone Nov 22, 2019
@jngrad jngrad deleted the dox-bibtex branch January 18, 2022 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants