Package PyFoam :: Package Applications :: Module Comparator
[hide private]
[frames] | no frames]

Module Comparator

source code

Application class that implements pyFoamComparator

Classes [hide private]
  Comparator
  ComparatorData
The object that holds the actual data
  CommandChain
Abstract base class for a number of commands
  PreparationChain
Chain of Preparation commands
  EvaluationChain
Chain of evaluation commands
  Command
  GenericCommand
Executes a shell command
  DerivedCommand
Derives an additional value
  DictionaryCommand
Returns values from the chains dictionaries
  SetDictionaryCommand
Sets value in the chains dictionaries
  FoamVersionCommand
Changes the used OpenFOAM-version
  SetEnvironmentCommand
Sets an environment variable
  ChangeEnvironmentCommand
Changes Environment variables by executing a script-file
  DecomposeCommand
Decomposes a case and generates the LAM
  ReconstructCommand
Reconstructs a case and deleted the LAM
  FoamCommand
Executes a OpenFOAM-utility
  FoamUtilityCommand
Executes a OpenFOAM-utility and extracts information
  SetterCommand
Common class for commands that operate on dictionaries
  FieldSetterCommand
Common class for commands that set values on fields
  InitialCommand
Sets an initial condition
  BoundaryCommand
Sets a boundary condition
  DictWriteCommand
Writes a value to a dictionary
  LastResultCommand
Copies the result of the last time-step to the resultsd directory
  CopyLogCommand
Copies the log file to the results
  Variation
Represents one variation
Functions [hide private]
 
getNonEmpty(e, name, default=None) source code
 
replaceValues(orig, para)
Replaces all strings enclosed by $$ with the parameters
source code
Function Details [hide private]

replaceValues(orig, para)

source code 

Replaces all strings enclosed by $$ with the parameters

Parameters:
  • orig - the original string
  • para - dictionary with the parameters