Foam::pointBoundaryMesh. More...
#include <OpenFOAM/pointBoundaryMesh.H>
Definition at line 54 of file pointBoundaryMesh.H.
Public Member Functions | |
pointBoundaryMesh (const pointMesh &, const polyBoundaryMesh &) | |
Construct from polyBoundaryMesh. | |
const pointMesh & | mesh () const |
Return the mesh reference. | |
const globalPointPatch & | globalPatch () const |
Return reference to globalPointPatch. | |
void | movePoints (const pointField &) |
Correct polyBoundaryMesh after moving points. | |
void | updateMesh () |
Correct polyBoundaryMesh after topology update. | |
![]() | |
PtrList () | |
Null Constructor. | |
PtrList (const label) | |
Construct with length specified. | |
PtrList (const PtrList< T > &) | |
Copy constructor. | |
template<class CloneArg > | |
PtrList (const PtrList< T > &, const CloneArg &) | |
Copy constructor with additional argument for clone. | |
PtrList (const Xfer< PtrList< T > > &) | |
Construct by transferring the parameter contents. | |
PtrList (PtrList< T > &, bool reUse) | |
Construct as copy or re-use as specified. | |
PtrList (const SLPtrList< T > &) | |
Construct as copy of SLPtrList<T> | |
template<class INew > | |
PtrList (Istream &, const INew &) | |
Construct from Istream using given Istream constructor class. | |
PtrList (Istream &) | |
Construct from Istream using default Istream constructor class. | |
~PtrList () | |
label | size () const |
Return the number of elements in the PtrList. | |
bool | empty () const |
Return true if the PtrList is empty (ie, size() is zero). | |
void | setSize (const label) |
Reset size of PtrList. This can only be used to set the size. | |
void | resize (const label) |
Reset size of PtrList. This can only be used to set the size. | |
void | clear () |
Clear the PtrList, i.e. set size to zero deleting all the. | |
void | transfer (PtrList< T > &) |
Transfer the contents of the argument PtrList into this PtrList. | |
Xfer< PtrList< T > > | xfer () |
Transfer contents to the Xfer container. | |
bool | set (const label) const |
Is element set. | |
autoPtr< T > | set (const label, T *) |
Set element. Return old element (can be NULL). | |
autoPtr< T > | set (const label, const autoPtr< T > &) |
autoPtr< T > | set (const label, const tmp< T > &) |
void | reorder (const UList< label > &) |
Reorders elements. Ordering does not have to be done in. | |
const T & | operator[] (const label) const |
Return element const reference. | |
T & | operator[] (const label) |
Return element reference. | |
const T * | operator() (const label) const |
Return element const pointer. | |
PtrList< T > & | operator= (const PtrList< T > &) |
Assignment. | |
iterator | begin () |
Return an iterator to begin traversing the PtrList. | |
iterator | end () |
Return an iterator to end traversing the PtrList. |
Friends | |
class | pointMesh |
Declare friendship with pointMesh. |
Additional Inherited Members | |
![]() | |
typedef T | value_type |
Type of values the PtrList contains. | |
typedef T & | reference |
Type that can be used for storing into PtrList::value_type objects. | |
typedef const T & | const_reference |
Type that can be used for storing into constant PtrList::value_type. | |
![]() | |
template<class INew > | |
void | read (Istream &, const INew &inewt) |
Read from Istream using given Istream constructor class. |
pointBoundaryMesh | ( | const pointMesh & | m, |
const polyBoundaryMesh & | basicBdry | ||
) |
Construct from polyBoundaryMesh.
Definition at line 34 of file pointBoundaryMesh.C.
References forAll, and PtrList< T >::set().
|
inline |
Return the mesh reference.
Definition at line 95 of file pointBoundaryMesh.H.
Referenced by globalPointPatch::globalPointSize(), globalPointPatch::meshPoints(), and globalPointPatch::sharedPointAddr().
const Foam::globalPointPatch & globalPatch | ( | ) | const |
Return reference to globalPointPatch.
Definition at line 73 of file pointBoundaryMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, and patches.
void movePoints | ( | const pointField & | p | ) |
Correct polyBoundaryMesh after moving points.
Definition at line 97 of file pointBoundaryMesh.C.
void updateMesh | ( | ) |
Correct polyBoundaryMesh after topology update.
Definition at line 113 of file pointBoundaryMesh.C.
|
friend |
Declare friendship with pointMesh.
Definition at line 79 of file pointBoundaryMesh.H.