| MESH toolbox 0.1 Matlab/Octave mesh utils

- Main Page
- Related Pages
- Modules
- Files

- File List
- File Members

All Files Functions Groups Pages
Functions
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)
    figure : Mesh before refinement
  - Refine mesh (Thr1)

           Thr1=RefineMesh(Th);

    figure : Mesh after refinement : sort=false
  - Refine mesh with sort boundaries (Thr2)

           Thr2=RefineMesh(Th,'sort',true);

    figure : Mesh after refinement : sort=true

Parameters

  varargin | RefineMesh ( Th, "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.