OptFEM2D  0.1
Matlab optimized FEM2D
 All Files Functions Groups Pages
SquareMesh.m File Reference

Initialization of the Mesh structure for the square domain $[0,1]\times[0,1]$. This mesh have 4 boundaries label : More...

Go to the source code of this file.

Functions

function Th = SquareMesh (N)
 Initialization of the Mesh structure for the square domain $[0,1]\times[0,1]$. This mesh have 4 boundaries label :
 

Detailed Description

Initialization of the Mesh structure for the square domain $[0,1]\times[0,1]$. This mesh have 4 boundaries label :

  • label 1 : boundary $y=0$
  • label 2 : boundary $x=1$
  • label 3 : boundary $y=1$
  • label 4 : boundary $x=0$ There is N+1 points on each boundary

Definition in file SquareMesh.m.

Function Documentation

function Th = SquareMesh (   N)

Initialization of the Mesh structure for the square domain $[0,1]\times[0,1]$. This mesh have 4 boundaries label :

  • label 1 : boundary $y=0$
  • label 2 : boundary $x=1$
  • label 3 : boundary $y=1$
  • label 4 : boundary $x=0$ There is N+1 points on each boundary
Parameters
Ninteger
Return values
Thmesh structure

Definition at line 17 of file SquareMesh.m.