bool Foam::OutputFilterFunctionObject<OutputFilter>::execute ( const bool forceWrite ) { if (active()) { if (!storeFilter_ && !allocateFilter()) { return false; } if (evaluateControl_.output()) { ptr_->execute(); } if (forceWrite || outputControl_.output()) { ptr_->write(); } if (!storeFilter_) { destroyFilter(); } } return true; }
bool Foam::OutputFilterFunctionObject<OutputFilter>::execute ( const bool forceWrite ) { if (enabled_) { if (!storeFilter_) { allocateFilter(); } ptr_->execute(); if (forceWrite || outputControl_.output()) { ptr_->write(); } if (!storeFilter_) { destroyFilter(); } } return true; }
bool Foam::OutputFilterFunctionObject<OutputFilter>::end() { Dbug << this->name() << " OutputFilterFunctionObject::end()" << endl; if (enabled_) { if (!storeFilter_) { allocateFilter(); } ptr_->end(); if (outputControl_.output()) { ptr_->write(); } if (!storeFilter_) { destroyFilter(); } } return true; }
bool Foam::OutputFilterFunctionObject<OutputFilter>::execute ( const bool forceWrite ) { Dbug << this->name() << " OutputFilterFunctionObject::execute() forceWrite: " << forceWrite << endl; if (active()) { if (!storeFilter_) { allocateFilter(); } if (evaluateControl_.output()) { ptr_->execute(); } if (forceWrite || outputControl_.output()) { ptr_->write(); } if (!storeFilter_) { destroyFilter(); } } return true; }
bool Foam::OutputFilterFunctionObject<OutputFilter>::start() { readDict(); if (enabled_&&storeFilter_) { allocateFilter(); } return true; }
bool Foam::OutputFilterFunctionObject<OutputFilter>::start() { Dbug << this->name() << " OutputFilterFunctionObject::start()" << endl; readDict(); if (enabled_ && storeFilter_) { allocateFilter(); } Dbug << this->name() << " OutputFilterFunctionObject::start() - end" << endl; return true; }
bool Foam::OutputFilterFunctionObject<OutputFilter>::end() { if (active()) { if (!storeFilter_) { allocateFilter(); } ptr_->end(); if (outputControl_.output()) { ptr_->write(); } if (!storeFilter_) { destroyFilter(); } } return true; }