| 569 | |
| 570 | |
| 571 | void Foam::MRFZone::writeData(Ostream& os) const |
| 572 | { |
| 573 | os << nl; |
| 574 | os.write(name_) << nl; |
| 575 | os << token::BEGIN_BLOCK << incrIndent << nl; |
| 576 | os.writeKeyword("active") << active_ << token::END_STATEMENT << nl; |
| 577 | os.writeKeyword("cellZone") << cellZoneName_ << token::END_STATEMENT << nl; |
| 578 | os.writeKeyword("origin") << origin_ << token::END_STATEMENT << nl; |
| 579 | os.writeKeyword("axis") << axis_ << token::END_STATEMENT << nl; |
| 580 | omega_->writeData(os); |
| 581 | |
| 582 | if (excludedPatchNames_.size()) |
| 583 | { |
| 584 | os.writeKeyword("nonRotatingPatches") << excludedPatchNames_ |
| 585 | << token::END_STATEMENT << nl; |
| 586 | } |
| 587 | |
| 588 | os << decrIndent << token::END_BLOCK << nl; |
| 589 | } |
| 590 | |
| 591 | |
| 592 | bool Foam::MRFZone::read(const dictionary& dict) |
no test coverage detected