-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update theory.rst #664
Update theory.rst #664
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #664 +/- ##
=======================================
Coverage 98.91% 98.91%
=======================================
Files 57 57
Lines 2128 2128
=======================================
Hits 2105 2105
Misses 23 23 ☔ View full report in Codecov by Sentry. |
Another point to discuss concerns splitting of this single file into several separate. Possibly, something like that can be done:
|
@gabriele-ferrero @SamueleMeschini feel free to make suggestions! You can see the compiled documentation by ReadTheDocs in the "checks" ok this PR |
If you really think the file is too long then we can split it in two. However, I would also like to keep the unique page for the Theory (where users can just scroll down instead of navigating to other pages).
Yes we need to detail this approximation in the documentation too. |
One page is good
Ok |
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
If we have a lot of references, is it worth using a proper bibliography management system like this? |
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 noticed we never define what's an Arrhenius law. Maybe we can add something
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
docs/source/theory.rst
Outdated
trapping and a detrapping rate :math:`k_i` and :math:`p_i`, respectively, as well | ||
as a trap density :math:`n_i`. |
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.
@RemDelaporteMathurin, possibly, we can add here something about the Arrhenius form, namely:
The diffusivity is usually assumed to follow the Arrhenius law of temperature [Reference?]:
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.
we could have something more general since it applies not only to the diffusivity but also to trapping rates, solubilities....
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.
Therefore, a separate subsection somewhere? The first mention is in the Heat transfer section.
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.
Possibly, this paper is appropriate for a reference. Original works of Arrhenius are in deutish as 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.
Yes maybe a separate subsection, no need for a reference
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.
@RemDelaporteMathurin, I made an attempt
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.
Really nice work getting the bibliography to work @KulaginVladimir !! It's perfect!
I noticed the ToC (Table of Contents) has been flushed at the bottom of the page
It is supposed to be at the top right
I'll investigate this but I suspect it's somehow linked to the bibliography.
EDIT: maybe it's due to the size of the image... does this disappear if you reduce the size of the image using the width flag?
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 we don't need the abstracts here
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.
@KulaginVladimir I still see the same behaviour in the ReadTheDocs compiled docs... do you see it too? https://festim--664.org.readthedocs.build/en/664/theory.html |
Yes, unfortunately, I see it. By local doc build, I meant the html files that I build locally before submitting commits. |
I've openened an issue executablebooks/sphinx-book-theme#792 to track the bibliography problem |
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 awesome @KulaginVladimir and had been needed for a very long time!
We'll also need this change in the fenicsx
branch btw (without the conservation of chemical potential since it'll be handled differently).
We couldn't get rid of the bug of the ToC but it seems that once sphinx7 is supported by sphinx-book-theme then this will be fixed.
In the meantime, would you mind opening an issue here to remind us to have a look at this in a little while?
Proposed changes
This PR attempts to fill the
Theory
doc page, following #510. @RemDelaporteMathurin, @jhdark what do you think?Types of changes
What types of changes does your code introduce to FESTIM?
Checklist