openacoustics.gmsh.GMsh2D Class Reference

for handling 2-dimensinal geometry and nodes More...

Inheritance diagram for openacoustics.gmsh.GMsh2D:

Inheritance graph
[legend]
Collaboration diagram for openacoustics.gmsh.GMsh2D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def contour
 visualize contour of triagnel meshes by using gmsh.


Detailed Description

for handling 2-dimensinal geometry and nodes

A simple gmsh wrapper class for parsing 2-dimensional geo file.
This class only treat 2-dimensinoal nodes and points, lines and triangular elements.

Member Function Documentation

def openacoustics.gmsh.GMsh2D.contour (   self,
  idxs,
  x,
  y,
  z,
  title,
  xlabel,
  ylabel,
  order = 1,
  file = "" 
)

visualize contour of triagnel meshes by using gmsh.

The cordinates of vertices are x, y, z arrays and the vertices are indexed by idxs array.

Parameters:
self The object pointer.
idxs index array of x,y,z
vertices of x
vertices of y
vertices of z
title title of graph
xlabel label of x axis
ylabel label of y axis
order order of element
visualize contour of triagnel meshes by using gmsh.
The cordinates of vertices are x, y, z arrays and the vertices are indexed by idxs array.


The documentation for this class was generated from the following file:

Generated on Wed Dec 24 13:58:46 2008 for OpenAcoustics by  doxygen 1.5.5