Public Member Functions | Private Member Functions | Private Attributes
hexRef8Data Class Reference

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

Collaboration diagram for hexRef8Data:
Collaboration graph
[legend]

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 ()
 Destructor. More...
 
void sync (const IOobject &io)
 Parallel synchronise. This enforces valid objects on all processors. More...
 
void distribute (const mapDistributePolyMesh &)
 In-place distribute. More...
 
bool write () const
 Write. More...
 
 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 ()
 Destructor. More...
 
void sync (const IOobject &io)
 Parallel synchronise. This enforces valid objects on all processors. More...
 
void distribute (const mapDistributePolyMesh &)
 In-place distribute. More...
 
bool write () const
 Write. More...
 

Private Member Functions

 hexRef8Data (const hexRef8Data &)
 Disallow default bitwise copy construct. More...
 
void operator= (const hexRef8Data &)
 Disallow default bitwise assignment. More...
 
 hexRef8Data (const hexRef8Data &)
 Disallow default bitwise copy construct. More...
 
void operator= (const hexRef8Data &)
 Disallow default bitwise assignment. More...
 

Private Attributes

autoPtr< labelIOListcellLevelPtr_
 
autoPtr< labelIOListpointLevelPtr_
 
autoPtr< uniformDimensionedScalarFieldlevel0EdgePtr_
 
autoPtr< refinementHistoryrefHistoryPtr_
 

Detailed Description

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

Source files

Source files

Definition at line 57 of file hexRef4Data.H.

Constructor & Destructor Documentation

◆ hexRef8Data() [1/8]

hexRef8Data ( const hexRef8Data )
private

Disallow default bitwise copy construct.

◆ hexRef8Data() [2/8]

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 39 of file hexRef4Data.C.

References hexRef8Data::cellLevelPtr_, Foam::endl(), IOobject::headerOk(), Foam::Info, hexRef8Data::level0EdgePtr_, IOobject::name(), hexRef8Data::pointLevelPtr_, IOobject::READ_IF_PRESENT, IOobject::readOpt(), Foam::reduce(), hexRef8Data::refHistoryPtr_, IOobject::rename(), and Foam::returnReduce().

Here is the call graph for this function:

◆ hexRef8Data() [3/8]

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

Construct as subset.

Definition at line 93 of file hexRef4Data.C.

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

Here is the call graph for this function:

◆ hexRef8Data() [4/8]

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 149 of file hexRef4Data.C.

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

Here is the call graph for this function:

◆ ~hexRef8Data() [1/2]

Destructor.

Definition at line 240 of file hexRef4Data.C.

◆ hexRef8Data() [5/8]

hexRef8Data ( const hexRef8Data )
private

Disallow default bitwise copy construct.

◆ hexRef8Data() [6/8]

hexRef8Data ( const IOobject io)

Construct read. Has special provision for only some processors.

having the files so can be used in redistribution.

◆ hexRef8Data() [7/8]

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

Construct as subset.

◆ hexRef8Data() [8/8]

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

Construct from multiple hexRef8Data.

◆ ~hexRef8Data() [2/2]

Destructor.

Member Function Documentation

◆ operator=() [1/2]

void operator= ( const hexRef8Data )
private

Disallow default bitwise assignment.

◆ sync() [1/2]

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 246 of file hexRef4Data.C.

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

Referenced by redistributeAndWrite().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ distribute() [1/2]

void distribute ( const mapDistributePolyMesh map)

In-place distribute.

Definition at line 304 of file hexRef4Data.C.

References mapDistributePolyMesh::cellMap(), mapDistribute::distribute(), and mapDistributePolyMesh::pointMap().

Referenced by redistributeAndWrite().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [1/2]

bool write ( ) const

Write.

Definition at line 324 of file hexRef4Data.C.

Referenced by main(), redistributeAndWrite(), and domainDecomposition::writeDecomposition().

Here is the caller graph for this function:

◆ operator=() [2/2]

void operator= ( const hexRef8Data )
private

Disallow default bitwise assignment.

◆ sync() [2/2]

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.

◆ distribute() [2/2]

void distribute ( const mapDistributePolyMesh )

In-place distribute.

◆ write() [2/2]

bool write ( ) const

Write.

Field Documentation

◆ cellLevelPtr_

autoPtr< labelIOList > cellLevelPtr_
private

Definition at line 64 of file hexRef4Data.H.

Referenced by hexRef8Data::hexRef8Data().

◆ pointLevelPtr_

autoPtr< labelIOList > pointLevelPtr_
private

Definition at line 66 of file hexRef4Data.H.

Referenced by hexRef8Data::hexRef8Data().

◆ level0EdgePtr_

autoPtr< uniformDimensionedScalarField > level0EdgePtr_
private

Definition at line 68 of file hexRef4Data.H.

Referenced by hexRef8Data::hexRef8Data().

◆ refHistoryPtr_

autoPtr< refinementHistory > refHistoryPtr_
private

Definition at line 70 of file hexRef4Data.H.

Referenced by hexRef8Data::hexRef8Data().


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