35void Foam::processorFaMeshes::read()
39 meshes_.set(proci,
new faMesh(fvMeshes_[proci]));
48 meshes_[proci].thisDb(),
53 const auto&
runTime = meshes_[proci].thisDb().time();
54 const auto& meshDir = meshes_[proci].meshDir();
57 ioAddr.rename(
"pointProcAddressing");
59 pointProcAddressing_.set(proci,
new labelIOList(ioAddr));
62 ioAddr.rename(
"edgeProcAddressing");
64 edgeProcAddressing_.set(proci,
new labelIOList(ioAddr));
67 ioAddr.rename(
"faceProcAddressing");
69 faceProcAddressing_.set(proci,
new labelIOList(ioAddr));
72 ioAddr.rename(
"boundaryProcAddressing");
74 boundaryProcAddressing_.set(proci,
new labelIOList(ioAddr));
86 fvMeshes_(procFvMeshes),
87 meshes_(procFvMeshes.size()),
88 pointProcAddressing_(meshes_.size()),
89 edgeProcAddressing_(meshes_.size()),
90 faceProcAddressing_(meshes_.size()),
91 boundaryProcAddressing_(meshes_.size())
116 ioAddr.
rename(
"pointProcAddressing");
120 ioAddr.
rename(
"edgeProcAddressing");
124 ioAddr.
rename(
"faceProcAddressing");
128 ioAddr.
rename(
"boundaryProcAddressing");
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual void rename(const word &newName)
Rename the object.
fileName objectPath() const
The complete path + object name.
word findInstance(const fileName &dir, const word &name=word::null, const IOobject::readOption rOpt=IOobject::MUST_READ, const word &stopInstance=word::null) const
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
void removeFiles() const
Remove all files from mesh instance()
static word meshSubDir
The mesh sub-directory name (usually "faMesh")
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
const fileName & facesInstance() const
Return the current instance directory for faces.
Container for finite-area processor mesh addressing.
bool rm(const fileName &file)
Remove a file (or its gz equivalent), returning true if successful.
IOList< label > labelIOList
Label container classes.
#define forAll(list, i)
Loop across all elements in list.