Conversation
Improved gravity
…need the connectivity array (or CoRect TopologyType)
…rs are encountered
scientific notation for floating point number
Added Kelvin-Helmholtz instability setup
improve script for dimensions, file handling and mhd field if existing
correct grid limits outputs
…i_validity__improve_last_ini multi restart, check ini validit, improve last ini
…e a lot) fix typo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
J'ai adapté le xdmf pour les readers Xdmf3 de paraview, mais quand j'ai voulu ajouté les main.xmf je me suis aperçu que
<!ENTITY>ne marche pas avec<xi:include>. Il fallait donc que je modifie en profondeur le xdmf. J'en ai profiter pour réécrire le IOManager et tester des concepts c++ que j'avais jamais essayé. J'ai simplifié l'ajout de output_variables.Pour faire marcher les reader xdmf3, on ne peut plus utiliser les
JOINpour créer des vecteurs. J'ai gardé les vecteurs, ils sont accessible via le datafieldvelocity, mais on ne peut plus accéder indépendamment àuetv. Avec la liste des output_variables au début deIOManager.h, c'est très facile de faire le changement inverse. Mais si on gardevelocity, il faudra adapter les code python. Aussi les scalaires sont dans des tableaux de taille 1, c'était plus simple à écrire comme ça et ça marche tout aussi bien dans paraview que dans python après un rescale.Ca simplifie beaucoup l'ajout de champs pour déboguer le code. Pour ça, on peut augmenter la taille du tableau Q, tout en gardant
Nfieldsidentique. Ca n’interfère pas avec le reste du code car les boucles sont indexé par Nfields.Par exemple :