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

Function setInstance

src/surfMesh/surfMesh/surfMeshIO.C:31–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
30
31void Foam::surfMesh::setInstance(const fileName& inst)
32{
33 if (debug)
34 {
35 InfoInFunction << "Resetting file instance to " << inst << endl;
36 }
37
38 instance() = inst;
39
40 storedIOPoints().writeOpt() = IOobject::AUTO_WRITE;
41 storedIOPoints().instance() = inst;
42
43 storedIOFaces().writeOpt() = IOobject::AUTO_WRITE;
44 storedIOFaces().instance() = inst;
45
46 storedIOZones().writeOpt() = IOobject::AUTO_WRITE;
47 storedIOZones().instance() = inst;
48}
49
50
51Foam::surfMesh::readUpdateState Foam::surfMesh::readUpdate()

Callers 1

surfMeshIO.CFile · 0.70

Calls 1

writeOptMethod · 0.80

Tested by

no test coverage detected