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

Module FoamOptionParser

source code

Parse options for the PyFoam-Scripts

Classes [hide private]
  FoamHelpFormatter
For description and epilog preserve double newlines as one newline
  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 = {'M4_SYSTEM': '1', 'CMAKE_SYSTEM': '1', 'WM_NCOMPPRO...
  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:
{'M4_SYSTEM': '1', 'CMAKE_SYSTEM': '1', 'WM_NCOMPPROCS': '1', 'WM_MPLI\
B': 'MACPORTOPENMPI', 'METIS_SYSTEM': '1', 'LESS': '-R', 'WM_CXXFLAGS'\
: '-m64 -fPIC', 'WM_COMPILER_ARCH': '', 'HWLOC_SYSTEM': '1', 'DBUS_LAU\
NCHD_SESSION_BUS_SOCKET': '/tmp/launch-YT2LFL/unix_domain_listener', '\
FOAM_LIB': '/Users/bgschaid/foam/foam-extend-3.1/lib', 'SHELL': '/bin/\
zsh', 'WM_ARCH_BASE': 'darwin', 'SECURITYSESSIONID': '186a4', 'WM_OPTI\
ONS': 'darwinIntel64Gcc48DPDebug', 'FLEX_SYSTEM': '1', 'PARMETIS_DIR':\
 '/opt/local', 'FOAM_MPI_LIBBIN': '/Users/bgschaid/foam/foam-extend-3.\
...