| MESH toolbox 0.1 Matlab/Octave mesh utils

- Main Page
- Related Pages
- Modules
- Files

- File List
- File Members

All Files Functions Groups Pages
Functions
refine_demo1.m File Reference

demo function using refine mesh tools and mesh plot command. More...

Go to the source code of this file.

## Functions
function | refine_demo1 (varargin)
| demo function using refine mesh tools and mesh plot command.

## Detailed Description

demo function using refine mesh tools and mesh plot command.

Definition in file refine_demo1.m.

## Function Documentation

function refine_demo1 | ( |  | varargin | ) |

demo function using refine mesh tools and mesh plot command.

Examples
  - 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

See Also
  RefineMesh

Parameters

  varargin | refine_demo1 ( [ "save", save_value ] [, "savename", savename_value ] [, "percent", percent_value ] [, "meshfile", meshfile_value ] [, "randlabel", randlabel_value ] ) Named Parameters for varargin: save set to true to save figures in image directory. ( Default: `false` ) savename set save file base name. ( Default: ``RefineMesh`` ) percent set color mesh lines ( Default: `50` ) meshfile set mesh file name ( Default: `[`mesh`,filesep,`disque4-1-3.msh`]` ) randlabel if true, boundaries label set to random values ( Default: `false` )

Definition at line 17 of file refine_demo1.m.