OpenFOAM guide/RTS derived class

From OpenFOAMWiki
< OpenFOAM guide
Revision as of 19:26, 30 June 2010 by Marupio (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A runTimeSelection derived class. A class that registers itself to a constructor hash table owned by one of its base classes in order to provide functionality for OpenFOAM's runTimeSelection mechanism. An RTS derived class can be identified by:

  • the presence of an addToRunTimeSelectionTable macro in its .C file; or
  • the presence of an addToRunTimeSelectionTable macro within a macro it calls in its .C file; or
  • the presence of add[name]ConstructorToTable in its .C file.

See also: