Loading...
Searching...
No Matches
hexRef8Data Class Reference

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

#include <hexRef8Data.H>

Public Member Functions

 hexRef8Data (const hexRef8Data &)=delete
 No copy construct.
void operator= (const hexRef8Data &)=delete
 No copy assignment.
 hexRef8Data (const IOobject &io)
 Construct from IOobject, reading if MUST_READ or LAZY_READ. Use sync() if used in redistributing to different number of ranks.
 hexRef8Data (const IOobject &io, const hexRef8Data &, const labelUList &cellMap, const labelUList &pointMap)
 Construct as subset.
 hexRef8Data (const IOobject &io, const UPtrList< const labelList > &cellMaps, const UPtrList< const labelList > &pointMaps, const UPtrList< const hexRef8Data > &)
 Construct from multiple hexRef8Data.
 ~hexRef8Data ()
 Destructor.
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.
void updateMesh (const mapPolyMesh &)
 Update local numbering for changed mesh.
void distribute (const mapDistributePolyMesh &)
 In-place distribute.
bool write () const
 Write.

Detailed Description

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

Source files

Definition at line 56 of file hexRef8Data.H.

Constructor & Destructor Documentation

◆ hexRef8Data() [1/4]

hexRef8Data ( const hexRef8Data & )
delete

No copy construct.

References hexRef8Data().

Referenced by hexRef8Data(), hexRef8Data(), and operator=().

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

◆ hexRef8Data() [2/4]

hexRef8Data ( const IOobject & io)
explicit

Construct from IOobject, reading if MUST_READ or LAZY_READ. Use sync() if used in redistributing to different number of ranks.

Definition at line 34 of file hexRef8Data.C.

References Foam::endl(), Foam::Info, io, IOobjectOption::LAZY_READ, IOobjectOption::MUST_READ, IOobject::name(), Foam::returnReduceOr(), and IOobject::typeHeaderOk().

Here is the call graph for this function:

◆ hexRef8Data() [3/4]

hexRef8Data ( const IOobject & io,
const hexRef8Data & data,
const labelUList & cellMap,
const labelUList & pointMap )

Construct as subset.

Definition at line 93 of file hexRef8Data.C.

References hexRef8Data(), and io.

Here is the call graph for this function:

◆ hexRef8Data() [4/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 145 of file hexRef8Data.C.

References forAll, io, mesh, name, primitiveMesh::reset(), UPtrList< T >::set(), and UPtrList< T >::size().

Here is the call graph for this function:

◆ ~hexRef8Data()

Destructor.

Definition at line 233 of file hexRef8Data.C.

Member Function Documentation

◆ operator=()

void operator= ( const hexRef8Data & )
delete

No copy assignment.

References hexRef8Data(), and io.

Here is the call graph for this function:

◆ 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 239 of file hexRef8Data.C.

References UPstream::broadcast, Foam::dimLength, io, UPstream::master(), mesh, IOobjectOption::NO_READ, IOobjectOption::readOpt(), Foam::returnReduceOr(), and Foam::Zero.

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh & map)

Update local numbering for changed mesh.

Definition at line 308 of file hexRef8Data.C.

References mapPolyMesh::cellMap(), polyMesh::facesInstance(), forAll, mapPolyMesh::mesh(), newPointi, mapPolyMesh::nOldCells(), mapPolyMesh::nOldPoints(), mapPolyMesh::pointMap(), UList< T >::size(), and List< T >::transfer().

Here is the call graph for this function:

◆ distribute()

void distribute ( const mapDistributePolyMesh & map)

In-place distribute.

Definition at line 379 of file hexRef8Data.C.

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

Here is the call graph for this function:

◆ write()

bool write ( ) const

Write.

Definition at line 399 of file hexRef8Data.C.


The documentation for this class was generated from the following files:
  • src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.H
  • src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C