Package PyFoam :: Package Basics :: Module FoamOptionParser
[hide private]
[frames] | no frames]

Module FoamOptionParser

source code

Parse options for the PyFoam-Scripts

Classes [hide private]
  FoamOptionParser
Wrapper to the usual OptionParser to honor the conventions of OpenFOAM-utilities
  Subcommand
A subcommand of a root command-line application that may be invoked by a SubcommandOptionParser.
  SubcommandFoamOptionParser
Subclass of the regular option parser that allows setting subcommands Inspired by https://gist.github.com/sampsyo/462717
Variables [hide private]
  __package__ = 'PyFoam.Basics'
  environ = {'WM_MPLIB': 'MACPORTOPENMPI', 'LESS': '-R', 'WM_CXX...
  integer_types = (<type 'int'>, <type 'long'>)
  string_types = (<type 'basestring'>)

Imports: OptionParser, TitledHelpFormatter, changeFoamVersion, deepcopy, error, iteritems, oldApp, path, textwrap, versionString, warning


Variables Details [hide private]

environ

Value:
{'WM_MPLIB': 'MACPORTOPENMPI', 'LESS': '-R', 'WM_CXXFLAGS': '-m64 -fPI\
C', 'DBUS_LAUNCHD_SESSION_BUS_SOCKET': '/tmp/launch-ZlFcTx/unix_domain\
_listener', 'FOAM_LIB': '/Users/bgschaid/OpenFOAM/OpenFOAM-1.7.x/lib',\
 'SHELL': '/bin/zsh', 'WM_ARCH_BASE': 'darwin', 'SECURITYSESSIONID': '\
186a5', 'WM_OPTIONS': 'darwinIntel64Gcc45DPOpt', 'FOAM_MPI_LIBBIN': '/\
Users/bgschaid/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64Gcc45DPOpt/ope\
nmpi-macport', 'MANPATH': '/opt/local/share/man:', 'WM_MACPORT_VERSION\
': '4.5', 'MFLAGS': '', 'WORKON_HOME': '/Users/bgschaid/.virtualenvs',\
...