openacoustics.bem.GMsh2D Class Reference

List of all members.

Public Member Functions

def viewGeo
def loadGeo
def contour
def getNodes
def getPoints
def getTriangles
def getLines
def getElements


Detailed Description

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.bem.GMsh2D.viewGeo (   self,
  geo 
)

visualize geometory by using gmsh

def openacoustics.bem.GMsh2D.loadGeo (   self,
  geo,
  clscale 
)

load 2-dimensional geometry file to instance

def openacoustics.bem.GMsh2D.contour (   self,
  idxs,
  x,
  y,
  z,
  title,
  xlabel,
  ylabel 
)

visualize contour of triangular meshes by using gmsh.
The cordinates of vertices are x, y, z arrays and the vertices are indexed by idxs array.

def openacoustics.bem.GMsh2D.getNodes (   self  ) 

read nodes from loaded geo file.

def openacoustics.bem.GMsh2D.getPoints (   self,
  physname 
)

read point elements with elmtype(int) and physname(str)

def openacoustics.bem.GMsh2D.getTriangles (   self,
  physname 
)

read triangle elements with elmtype(int) and physname(str)

def openacoustics.bem.GMsh2D.getLines (   self,
  physname 
)

read line elements with elmtype(int) and physname(str)

def openacoustics.bem.GMsh2D.getElements (   self,
  elmtype,
  physname 
)

called internally. read elements with elmtype(int) and physname(str)


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

Generated on Sat Dec 20 17:20:20 2008 for OpenAcoustics by  doxygen 1.5.5