-
Notifications
You must be signed in to change notification settings - Fork 9
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
Checklist about HQMTool #16
Comments
The last one is the standard way options are done in C frameworks, using binary add to add options together. Makes it easy from the user end just to add numbers together to combine features. |
The word unwieldy was not the best to use. What I meant is that these constants are not exported currently so in the demos we can write |
Great tool! I haven't looked at the PR in detail, but I watched another nice demo of @andrewwinters5000 today. You could think about renaming some functions to be in accordance with interfaces from Base. For example, |
Hi @ranocha. You are assuming that the users will be Julia programmers. Presumably the users could be complete non-programmers, or programmers from other languages who just want to generate a mesh, so terms like push! and pop! have no meaning. User facing routines should be descriptive, usually with a verb plus noun like addCurve, etc. I did push^H^H^H^H add generics (since at the moment there are no good GUI frameworks as far as I can tell) so that a more familiar user could avoid typing so much. But ultimately, all (user facing) commands should be "guessable" and "rememberable". |
👍 |
This serves as a meta issue on the interactive HQMTool capabilities and implementation. It follows the "make it work, make it nice" philosophy. The phrase "make it nice" can be interpreted as make the implementation more Julian.
Make it work:
docs
now that boundary curves are labeled in a different way.recipe
scripts to the examples folders so it is easy for others to try out the new featuresMake it nice:
export
and only send out the necessary functionsinclude
statements as some are now redundantgetBackgroundGridSize
becomesget_background_grid_size
docs
consistent with all these updates Update documentation with HQMTool #17@error
such that way we can use@ test_throws ErrorException
for testing or (ii) proper warnings with@warning
remove!
command to encompass more routinesprojectView
struct such that theProject
manages the model / curves inprojectDictionary
and the plotting is all managed viaprojectView
curvePoints(crvDict, N)
to remove theif
logicExported directoryexamples_dir()
will clash with Trixi if a user wants to use the Trixi and HOHQMesh packagesexamples_dir()
is no longer exported.Minor stuff:
MODEL
andREFINEMENTS
inViz/VizProject.jl
little unwieldy.Is there a better way?Now exported for easy user access.The text was updated successfully, but these errors were encountered: