OpenFOAM guide/RTS derived class

From OpenFOAMWiki

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: