-
Notifications
You must be signed in to change notification settings - Fork 19
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
Inconsistent input validation (.xinp files) regarding the "value"-attribute #101
Comments
The two latter examples above are malformed. Then I can say that in general both of these variants are supported, and the nGauss is an exception here, where utl::getValue is not used (and therefore a |
Yes, you are quite right. Updated OP to the correct version now.
Whoops, my bad. The correct order of preference when all 4 versions is supported is 4,2,3,1 as you said. The reason I brought this up was because I wanted a discussion around what is supported and what is recommended
But I do get that it is annoying to have to write
|
The |
The thing is that I started to write an XML schema, or
It was during this process that I discovered that multiple ways of writing the same thing is hideously complex from an xml point of view. While I can accomplish point 2 in the 3-point list above, there is no way that the same file can be useful for point 1 and 3. I think I should be able to conjure up an xsd-file which only allows the As an added bonus, I think this will generate a lot nicer input-files all across the board, seeing as the current work-flow for many scientists is to copy-paste an existing |
Just noticed that AdvectionDiffusion is using Since we are getting attention from users I think this would be a good time to look into standardizing and increasing the user-friendliness of the framework. |
There are essentially 4 ways of specifying parameters, here illustrated with the "mode" parameter to the "eigensolver" tag.
and run this with the commandline parameter
<myProgram> <myInputFile> -eig 4
. The current ordering is that commandline takes precedence over.xinp
-file parameters, and then it goes in decreasing order 3,2 and finallymode="1"
which has the lowest priority. There is however varied support for this structure. For instanceonly supports version 3 while
only supports version 2 and 3.
I'm trying to generate some .xinp-files (file generator) and was wondering what is "best practice" and what is the officially supported variants that we want to support. At the very least, I think the
<nGauss>
-case above should suffice as a bug, since I think version 2 should be supported.The text was updated successfully, but these errors were encountered: