Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CG3 triangle mesh support and VTK visualization of CG2 and CG3 meshes…
…/functions (#532) * Added vtkfile to python layer * Added high order VTK-write support for triangles, still tons of work to do to make this robust * More flake8 fixes * Some tmp fixes in c++ to compile without warnings * Hopefully last warning fix of the day. Not smart to work while tired * Debatable CPP demo fix Loads of similar code with slight variations, since the dolfin::generation::xxxMesh is initialized in a very different way than meshes from points * Added demo to toctree and made headline * Added visualization of third order cg trianglemeshes * Flake8fix * Added high order VTK-write support for triangles, still tons of work to do to make this robust * Some tmp fixes in c++ to compile without warnings * Hopefully last warning fix of the day. Not smart to work while tired * Add a partitioning to python interface and some tests (#510) * test read mesh data * add partition functions to python layer * add distributed mesh test * parametrize subset_comm in test * use enum for graph partitioners * some small fix and docstring improvement * reorder parameters for consistency * use type hint for return * Changes using existing infrastructure for cell coordinates * Fixed remainder of rebase * Bigger rewrite of VTK writer, and mesh initialization Moved all vtk permutations to separate function. Changing how the file writers (also xdmf and hdf5) access the perturbation map. Moved mesh degree determination to separate function * Some minor changes after looking at diff * Removed unused variable * Fixed visualization for quad mesh, and higher order triangle mesh * Removed unused variable * More work on CG-3. Single cell works, demo does not. Unsure why * Revert change caused by order in vtk::mapping being wrong initially * Changed test as I mean that this is the wrong orientation * Added unit test for cg2 and cg3 meshes * Added some documentation to the demo * Revert ordering of quads to lexiographic from counter-clockwise. Added note for future PR, and cleanup before PR of this branch * Changed cross product in compute_quadrilateral as the old implementation assumed that the permutation was (0,1,2,3) in Mesh.cpp, while the vtk_mapping was (0,1,3,2) (Due to lexiographic ordering in quads). Removing the duplication of mappings caused this change * Skip parallel testing of higher order meshes * VTK writer can now write functions for higher order meshes * Removed demo * Actually removing file * Removed demo from docs * Fix typo * Some clang-format fixes and other requests by Garth * More clang-format * Removed unused import and added missing space * Removed unusedd c++ variable * Re-expose VTKFile and add some additional notes on how support differs from XDMF and VTk * MIssed something in merge conflict * More remainders of merge * New attempt on getting clang-format to work
- Loading branch information
1 parent
8feb3f1
commit 8337aff
Showing
13 changed files
with
331 additions
and
82 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.