| 30 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 31 | |
| 32 | void Foam::polyMesh::setInstance(const fileName& inst) |
| 33 | { |
| 34 | if (debug) |
| 35 | { |
| 36 | InfoInFunction << "Resetting file instance to " << inst << endl; |
| 37 | } |
| 38 | |
| 39 | points_.writeOpt() = IOobject::AUTO_WRITE; |
| 40 | points_.instance() = inst; |
| 41 | |
| 42 | faces_.writeOpt() = IOobject::AUTO_WRITE; |
| 43 | faces_.instance() = inst; |
| 44 | |
| 45 | owner_.writeOpt() = IOobject::AUTO_WRITE; |
| 46 | owner_.instance() = inst; |
| 47 | |
| 48 | neighbour_.writeOpt() = IOobject::AUTO_WRITE; |
| 49 | neighbour_.instance() = inst; |
| 50 | |
| 51 | boundary_.writeOpt() = IOobject::AUTO_WRITE; |
| 52 | boundary_.instance() = inst; |
| 53 | |
| 54 | pointZones_.writeOpt() = IOobject::AUTO_WRITE; |
| 55 | pointZones_.instance() = inst; |
| 56 | |
| 57 | faceZones_.writeOpt() = IOobject::AUTO_WRITE; |
| 58 | faceZones_.instance() = inst; |
| 59 | |
| 60 | cellZones_.writeOpt() = IOobject::AUTO_WRITE; |
| 61 | cellZones_.instance() = inst; |
| 62 | |
| 63 | if (tetBasePtIsPtr_.valid()) |
| 64 | { |
| 65 | tetBasePtIsPtr_->writeOpt() = IOobject::AUTO_WRITE; |
| 66 | tetBasePtIsPtr_->instance() = inst; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | |
| 71 | Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate() |
no test coverage detected