A slightly re-worked version of the Jupyter Notebook with the Cylindrical1D diffusion case.
I have updated the .gitignore and the .gitattributes such that the presence of the Notebook file does not interfere with the pure Python nature of the repository. The ipynb file format is not very convenient in a git context, but Jupyter notebooks are a rapid and convenient way for documenting this kind of examples, especially with GitHub directly rendering the notebook contents.
The size of the ghost cell is always equal to the size of the first (or last) cell within the domain so averaging it directly is fine (with a weight factor of 0.5).
A slightly re-worked version of the Jupyter Notebook with the Cylindrical1D diffusion case.
I have updated the
.gitignore
and the.gitattributes
such that the presence of the Notebook file does not interfere with the pure Python nature of the repository. Theipynb
file format is not very convenient in a git context, but Jupyter notebooks are a rapid and convenient way for documenting this kind of examples, especially with GitHub directly rendering the notebook contents.