ENH: filmSubModelBase - added outputTime function

This commit is contained in:
andy
2013-12-10 16:30:09 +00:00
parent c211071a5e
commit 08ab6f9a20
2 changed files with 11 additions and 0 deletions

View File

@ -91,6 +91,14 @@ filmSubModelBase::~filmSubModelBase()
{}
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
bool filmSubModelBase::outputTime() const
{
return active() && owner_.time().outputTime();
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace surfaceFilmModels

View File

@ -100,6 +100,9 @@ public:
// Access
//- Flag to indicate when to write a property
virtual bool outputTime() const;
//- Return the reference to the owner surface film model
inline const surfaceFilmModel& owner() const;