hexRef8Data Class Reference

Various for reading/decomposing/reconstructing/distributing refinement data. More...

Public Member Functions

 hexRef8Data (const IOobject &io)
 Construct read. Has special provision for only some processors. More...
 
 hexRef8Data (const IOobject &io, const hexRef8Data &, const labelList &cellMap, const labelList &pointMap)
 Construct as subset. More...
 
 hexRef8Data (const IOobject &io, const UPtrList< const labelList > &cellMaps, const UPtrList< const labelList > &pointMaps, const UPtrList< const hexRef8Data > &)
 Construct from multiple hexRef8Data. More...
 
 hexRef8Data (const hexRef8Data &)=delete
 Disallow default bitwise copy construction. More...
 
 ~hexRef8Data ()
 Destructor. More...
 
void sync (const IOobject &io)
 Parallel synchronise. This enforces valid objects on all processors. More...
 
void topoChange (const polyTopoChangeMap &)
 In-place update for topology changes. More...
 
void distribute (const polyDistributionMap &)
 In-place distribute. More...
 
bool write () const
 Write. More...
 
void operator= (const hexRef8Data &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

Various for reading/decomposing/reconstructing/distributing refinement data.

Source files

Definition at line 57 of file hexRef8Data.H.

Constructor & Destructor Documentation

◆ hexRef8Data() [1/4]

hexRef8Data ( const IOobject io)

Construct read. Has special provision for only some processors.

having the files so can be used in redistribution.

Definition at line 40 of file hexRef8Data.C.

References Foam::endl(), typeIOobject< Type >::headerOk(), Foam::Info, IOobject::name(), IOobject::rename(), and Foam::returnReduce().

Here is the call graph for this function:

◆ hexRef8Data() [2/4]

hexRef8Data ( const IOobject io,
const hexRef8Data data,
const labelList cellMap,
const labelList pointMap 
)

Construct as subset.

Definition at line 117 of file hexRef8Data.C.

References dictionary::clone(), IOobject::name(), and IOobject::rename().

Here is the call graph for this function:

◆ hexRef8Data() [3/4]

hexRef8Data ( const IOobject io,
const UPtrList< const labelList > &  cellMaps,
const UPtrList< const labelList > &  pointMaps,
const UPtrList< const hexRef8Data > &  procDatas 
)

Construct from multiple hexRef8Data.

Definition at line 173 of file hexRef8Data.C.

References IOobject::db(), forAll, Foam::name(), primitiveMesh::nCells(), primitiveMesh::nPoints(), IOobject::rename(), UPtrList< T >::set(), and UPtrList< T >::size().

Here is the call graph for this function:

◆ hexRef8Data() [4/4]

hexRef8Data ( const hexRef8Data )
delete

Disallow default bitwise copy construction.

◆ ~hexRef8Data()

Destructor.

Definition at line 265 of file hexRef8Data.C.

Member Function Documentation

◆ sync()

void sync ( const IOobject io)

Parallel synchronise. This enforces valid objects on all processors.

(even if they don't have a mesh). Used by redistributePar.

Definition at line 271 of file hexRef8Data.C.

References IOobject::db(), Foam::dimLength, primitiveMesh::nCells(), IOobject::NO_READ, primitiveMesh::nPoints(), IOobject::readOpt(), IOobject::rename(), Foam::returnReduce(), and Pstream::scatter().

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)

In-place update for topology changes.

Definition at line 329 of file hexRef8Data.C.

References polyTopoChangeMap::cellMap(), polyMesh::facesInstance(), polyTopoChangeMap::mesh(), and polyTopoChangeMap::pointMap().

Here is the call graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap map)

In-place distribute.

Definition at line 352 of file hexRef8Data.C.

References polyDistributionMap::cellMap(), distributionMap::distribute(), and polyDistributionMap::pointMap().

Here is the call graph for this function:

◆ write()

bool write ( ) const

Write.

Definition at line 372 of file hexRef8Data.C.

Referenced by domainDecomposition::writeComplete(), and domainDecomposition::writeProcs().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const hexRef8Data )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: