Difference between revisions of "OpenFOAM guide/RTS derived class"
From OpenFOAMWiki
(Created page with '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|Ope…') |
m (moved RTS derived class to OpenFOAM guide/RTS derived class) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
* the presence of an <tt>addToRunTimeSelectionTable</tt> macro within a macro it calls in its .C file; or | * the presence of an <tt>addToRunTimeSelectionTable</tt> macro within a macro it calls in its .C file; or | ||
* the presence of <tt>add[name]ConstructorToTable</tt> in its .C file. | * the presence of <tt>add[name]ConstructorToTable</tt> in its .C file. | ||
+ | |||
+ | See also: | ||
+ | * [[RTS base class]] | ||
[[Category:OpenFOAM coding guide]] | [[Category:OpenFOAM coding guide]] |
Latest revision as of 19:26, 30 June 2010
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: