34bool Foam::functionObjects::ensightWrite::updateSubset
36 fvMeshSubset& subsetter
39 if (selection_.empty())
49 subsetter.reset(selectedCells);
55bool Foam::functionObjects::ensightWrite::update()
64 if (meshSubset_.hasSubMesh())
75 updateSubset(meshSubset_);
79 ensMesh_.reset(
new ensightMesh(meshSubset_.mesh(), writeOpts_));
81 else if (ensMesh_->needsUpdate())
93bool Foam::functionObjects::ensightWrite::readSelection(
const dictionary&
dict)
101 selectFields_.clear();
102 dict.readEntry(
"fields", selectFields_);
103 selectFields_.uniq();
106 selection_ =
dict.subOrEmptyDict(
"selection");
static bitSet select(const polyMesh &mesh, const dictionary &dict, const bool verbosity=false)
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void movePoints()
Update for new mesh geometry.
void updateMesh()
Update for new mesh topology.
Mesh consisting of general polyhedral cells.