Optimized mesh stitching #201

Merged
merged 1 commit into from Feb 19, 2014

Conversation

Projects
None yet
3 participants
Member

danac commented Feb 11, 2014

This improves the SerialMesh::stitching_helper() function by avoiding calls to UnstructuredMesh::find_neighbors(), leading to a 66% stitching time reduction.

The former routine can be restored by passing an extra boolean flag to SerialMesh::stitching_helper().

An example is included in the miscellaneous series which demonstrates how to stitch meshes and validates the solution of a Poisson problem against the unstitched case.

Owner

roystgnr commented Feb 11, 2014

Does the new default handle adapted meshes okay?

Member

danac commented Feb 11, 2014

Yes, it works with AMR too. I updated the example code to test that as well.

Owner

roystgnr commented Feb 11, 2014

Thanks! I don't see any other problems; we'll just need to remember to make a couple tweaks to fix the interactions with pull #200 when both are merged.

Member

dknez commented Feb 15, 2014

Dana: #200 is merged, so could you sync this pull request with master now? Then we should hopefully be good to merge.

Member

danac commented Feb 17, 2014

I squashed/rebased the branch with master (no conflict with #200 whatsoever).

Member

dknez commented Feb 18, 2014

Thanks for rebasing Dana. Is it OK with everyone if I merge this one?

dknez added a commit that referenced this pull request Feb 19, 2014

@dknez dknez merged commit f21bc3f into libMesh:master Feb 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment