Package PyFoam :: Package Basics :: Module FoamFileGenerator :: Class FoamFileGenerator
[show private | hide private]
[frames | no frames]

Class FoamFileGenerator


Class that generates a OpenFOAM-compatible representation of a data-structure
Method Summary
  __init__(self, data, header)
  makeString(self)
turns the data into a string
  strDict(self, dic, indent)
  strList(self, lst, indent)
  strTuple(self, lst, indent)

Method Details

__init__(self, data, header=None)
(Constructor)

Parameters:
data - data structure that will be turned into a Foam-compatible file
header - header information that is to be prepended

makeString(self)

turns the data into a string

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net