Exodus Mesh, boundary condition, and block data transfer functionality implementation. #11
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.
A PR to add all of the exodus transfer stuff I've done.To try and make this a bit cleaner, instead of rebasing my current exodus transfer branch I have just made a copy of the current master branch and just put all my changes in there. I know this is sinful as it will remove the commit history from the meshing work I've done, but rebasing was causing big headaches and this way it ensures everything is the same as the master, apart from the changes needed for the meshing.
I have tried to sufficiently comment the
createMFEMMesh()
method in CoupledMFEMMesh.C to make it a bit more readable. It is still a bit ugly but some of that might just be inherent as creating all these data structures that are only really needed for mesh creation is a bit wordy for lack of a better word. I have added an example input file and exodus mesh to the examples/MFEM/rod directory, which does the joule rod problem just with an exodus mesh as the input and translating that to the MFEM mesh. I have done the tiniest bit of benchmarking, using the hypervapotron mesh thecreateMFEMMesh()
took approx 700 ms to run. Don't currently have anything to compare to so I don't know if this is good or bad, but in completely qualitative terms, for a 75000 element mesh, that seems alright (I think?). Quicker than writing out VTK's anyway ;)