Add FastScape documentation to manual and tester - #7209
Conversation
bangerth
left a comment
There was a problem hiding this comment.
This is ok with me, but it means that for those of us who don't have Fastscape installed locally, we definitely can't create the parameter .md files locally any more.
|
I think you could still run However, I do think that is prone to mistakes (e.g. if one just commits all changes instead of adding individual files), and complicated when actual changes to mesh deformation plugins are made. Not having FastScape in the manual is also not ideal. Perhaps we could somehow insert the FastScape part to the manual in the tester if it has gone missing, or not test for it, but that also seems questionable. |
|
Yes, good point about it being the other way around. I approved the PR, so I'm ok with this direction, just wanted to bring up the issue so nobody can be surprised :-) |
fc90cfc to
ce48b63
Compare
|
/rebuild |
|
Alright, this now works. I put in the absolute path ( |
|
/rebuild |
|
Ah, this discrepancy will cause us a lot of headache in the future I think. Most users wont have fastscape installed and will not be able to use What do you think about modifying the mesh_deformation/fastscape class to always exist and declare its input parameters, no matter if Fastscape was detected. Then the class could just throw an assert at run-time if ASPECT was compiled without Fastscape. Then everyone would generate the same parameter documentation indpendent of the Fastscape installation. This seems like a cleaner solution to me, we would only need to make sure that the actual calls to Fastscape functions (and the |
|
The |
Yes, this makes the most sense. @danieldouglas92 we should do the same for Landlab. |
Since FastScape is now included in the tester images, I think it is also time to include the coupling to FastScape in the documentation. This PR updates the .md file with the documentation and includes FS in the tester that checks the documentation.
I need to check if the test workflow is correct, so WIP.
For all pull requests:
If yes, please describe your usage of AI models in the creation of this pull request
For new features/models or changes of existing features: