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

Module TemplateFile

source code

Classes [hide private]
  EvalPseudoSandboxWithMath
Add mathematical functions to the valid functons
  EvalPseudoSandboxWithMathWithImport
Class that allows the import of packages
  PyratempPreprocessor
This class preprocesses the input that is give to it in such a way that the old format (using $$ at the line beginnings and $ ..
  RendererWithFilename
Usual renderer but report a filename
  TemplateFile
Works on template files.
  TemplateFileOldFormat
Works on template files.
  TolerantRenderer
Variant of the renderer that doesn't choke on problems with evaluations
Variables [hide private]
  __package__ = 'PyFoam.Basics'
  __warningregistry__ = {('Not importing directory \'/Volumes/Fo...
  e = 2.71828182846
  execIdString = 'this is meant to be executed:'
  pi = 3.14159265359
  substituteIdString = 'substitute current values into this stri...

Imports: EvalPseudoSandbox, PyratempRenderer, PyratempTemplate, TemplateRenderError, acos, acosh, asin, asinh, atan, atan2, atanh, ceil, copysign, cos, cosh, degrees, erf, erfc, error, exec_, exp, expm1, fabs, factorial, floor, fmod, frexp, fsum, gamma, hypot, isinf, isnan, iteritems, ldexp, lgamma, log, log10, log1p, modf, pow, print_, radians, re, sin, sinh, sqrt, sys, tan, tanh, trunc, warning


Variables Details [hide private]

__warningregistry__

Value:
{('Not importing directory \'/Volumes/Foam/Subversion/OpenFOAM/Python/\
PyFoam/PyFoam/ThirdParty/pyratemp\': missing __init__.py',
  <type 'exceptions.ImportWarning'>,
  8): True}

substituteIdString

Value:
'substitute current values into this string:'