Edges generation
by Jan Valdman
03 Dec 2008
(Updated 06 May 2009)
Algorithm generates edges of a conforming 2D/3D triangulation.
|
Watch this File
|
| File Information |
| Description |
Given a conforming triangulation as as matrix of vertices numbers corresponding to each triangular element , the algorithm generates and numbers edges of triangulation, so that edges shared by two elements are counted only once. It also generates list of edges belonging to each triangle a list of elements sharing the same edge.
Knowledge of edges is useful e.g. for the implementation of adaptive mesh refinements and edge-based finite elements such as Raviart-Thomas, Crouzeix-Raviart or Nedelec elements.
To test the functionality of the algorithm, run "test.m".
Performance of my notebook:
2D triangulation: 524288 elements, 263169 nodes --> 787456 edges numbered. Time= 1.23 seconds.
3D triangulation: 196608 elements, 35937 nodes --> 238688 edges numbered. Time= 1.12 seconds.
|
| Acknowledgements |
This file inspired
Double Porosity Model.
|
| Required Products |
MATLAB Compiler
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 04 Dec 2008 |
updated description |
| 05 Dec 2008 |
better description, difference to other methods |
| 05 Dec 2008 |
description |
| 06 Dec 2008 |
function entryInWhichRows added |
| 06 Dec 2008 |
better description |
| 06 May 2009 |
Extended to 3D (many thanks to John D'Errico for his speed up advice) |
|
Contact us