MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / writeData

Function writeData

src/finiteVolume/cfdTools/general/MRF/MRFZone.C:571–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569
570
571void 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
592bool Foam::MRFZone::read(const dictionary& dict)

Callers 2

AverageField.CFile · 0.50

Calls 3

writeMethod · 0.45
writeDataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected