mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: objectRegistry - added thisDb() helper function
This commit is contained in:
@ -161,6 +161,12 @@ public:
|
|||||||
|
|
||||||
// Access
|
// Access
|
||||||
|
|
||||||
|
//- Return the object registry
|
||||||
|
const objectRegistry& thisDb() const
|
||||||
|
{
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
//- Return time
|
//- Return time
|
||||||
const Time& time() const
|
const Time& time() const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user