BUG: injectors: positions are a global quantity.

This commit is contained in:
mattijs
2016-01-28 09:00:04 +00:00
parent 70525fe75e
commit 0af509c22d
13 changed files with 75 additions and 22 deletions

View File

@ -159,6 +159,19 @@ public:
// Member Functions
//- Is object global
virtual bool global() const
{
return true;
}
//- Return complete path + object name if the file exists
// either in the case/processor or case otherwise null
virtual fileName filePath() const
{
return globalFilePath();
}
//- Return const reference to boundBox
const boundBox& bounds() const
{
@ -371,6 +384,14 @@ public:
};
//- Template function for obtaining global status
template<>
inline bool typeGlobal<searchableSurface>()
{
return true;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam