MESH toolbox  0.1
Matlab/Octave mesh utils
 All Files Functions Groups Pages
RefineMesh.m File Reference

refines the mesh Th by a factor of 4 More...

Go to the source code of this file.

Functions

function [ RefTh ,

MatProj ] = 
RefineMesh (varargin)
 refines the mesh Th by a factor of 4
 

Detailed Description

refines the mesh Th by a factor of 4

Definition in file RefineMesh.m.

Function Documentation

function [ RefTh , MatProj ] = RefineMesh (   varargin)

refines the mesh Th by a factor of 4

Example
  • Original mesh (Th)
    RefineMesh1.png
    figure : Mesh before refinement
  • Refine mesh (Thr1)
       Thr1=RefineMesh(Th); 
    RefineMesh2.png
    figure : Mesh after refinement : sort=false
  • Refine mesh with sort boundaries (Thr2)
       Thr2=RefineMesh(Th,'sort',true); 
    RefineMesh3.png
    figure : Mesh after refinement : sort=true
Parameters
varargin
"sort", sort_value ] )
Required Parameters for varargin:
  • Th mesh structure
Named Parameters for varargin:
  • sort set to true if sort boundaries ( Default: false )

Definition at line 17 of file RefineMesh.m.