A subset of mesh points. More...
Public Member Functions | |
TypeName ("pointZone") | |
declareRunTimeSelectionTable (autoPtr, pointZone, dictionary,(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm),(name, dict, index, zm)) | |
pointZone (const word &name, const label index, const pointZoneMesh &zm) | |
pointZone (const word &name, const labelUList &addr, const label index, const pointZoneMesh &zm) | |
pointZone (const word &name, labelList &&addr, const label index, const pointZoneMesh &zm) | |
pointZone (const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm) | |
pointZone (const pointZone &origZone, const labelUList &addr, const label index, const pointZoneMesh &zm) | |
pointZone (const pointZone &origZone, labelList &&addr, const label index, const pointZoneMesh &zm) | |
virtual autoPtr< pointZone > | clone (const pointZoneMesh &zm) const |
virtual autoPtr< pointZone > | clone (const pointZoneMesh &zm, const label index, const labelUList &addr) const |
virtual | ~pointZone ()=default |
const pointZoneMesh & | zoneMesh () const noexcept |
label | whichPoint (const label globalPointID) const |
virtual bool | checkDefinition (const bool report=false) const |
virtual bool | checkParallelSync (const bool report=false) const |
virtual void | movePoints (const pointField &) |
virtual void | writeDict (Ostream &os) const |
void | operator= (const pointZone &zn) |
void | operator= (const labelUList &addr) |
void | operator= (labelList &&addr) |
![]() | |
TypeName ("zone") | |
zone () | |
zone (const word &name, const label index) | |
zone (const word &name, const labelUList &addr, const label index) | |
zone (const word &name, labelList &&addr, const label index) | |
zone (const word &name, const dictionary &dict, const word &labelsName, const label index) | |
zone (const zone &origZone, const labelUList &addr, const label index) | |
zone (const zone &origZone, labelList &&addr, const label index) | |
virtual | ~zone () |
const Map< label > & | lookupMap () const |
label | localID (const label globalID) const |
const labelList & | addressing () const noexcept |
virtual void | clearAddressing () |
virtual bool | checkDefinition (const label maxSize, const bool report=false) const |
virtual void | write (Ostream &os) const |
![]() | |
zoneIdentifier (const zoneIdentifier &)=default | |
zoneIdentifier & | operator= (const zoneIdentifier &)=default |
virtual | ~zoneIdentifier ()=default |
zoneIdentifier () | |
zoneIdentifier (const word &name, const label index) | |
zoneIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
zoneIdentifier (const word &name, const dictionary &dict, const label index) | |
zoneIdentifier (const zoneIdentifier &ident, const label index) | |
const word & | name () const noexcept |
word & | name () noexcept |
label | index () const noexcept |
label & | index () noexcept |
const word & | physicalType () const noexcept |
word & | physicalType () noexcept |
const wordList & | inGroups () const noexcept |
wordList & | inGroups () noexcept |
bool | inGroup (const word &name) const |
void | write (Ostream &os) const |
![]() | |
constexpr | List () noexcept |
List (const label len) | |
List (const label len, const T &val) | |
List (const label len, const Foam::zero) | |
List (const Foam::one, const T &val) | |
List (const Foam::one, T &&val) | |
List (const Foam::one, const Foam::zero) | |
List (const List< T > &a) | |
List (const UList< T > &a) | |
List (List< T > &a, bool reuse) | |
List (const UList< T > &list, const labelUList &indices) | |
template<unsigned N> | |
List (const UList< T > &list, const FixedList< label, N > &indices) | |
template<unsigned N> | |
List (const FixedList< T, N > &list) | |
List (const PtrList< T > &list) | |
List (const SLList< T > &list) | |
template<class Addr > | |
List (const IndirectListBase< T, Addr > &list) | |
List (std::initializer_list< T > list) | |
List (List< T > &&list) | |
template<int SizeMin> | |
List (DynamicList< T, SizeMin > &&list) | |
List (SortableList< T > &&list) | |
List (SLList< T > &&list) | |
List (Istream &is) | |
autoPtr< List< T > > | clone () const |
~List () | |
void | clear () |
void | resize (const label len) |
void | resize (const label len, const T &val) |
void | resize_nocopy (const label len) |
void | setSize (const label n) |
void | setSize (const label n, const T &val) |
void | append (const T &val) |
void | append (T &&val) |
void | append (const UList< T > &list) |
template<class Addr > | |
void | append (const IndirectListBase< T, Addr > &list) |
label | appendUniq (const T &val) |
void | transfer (List< T > &list) |
template<int SizeMin> | |
void | transfer (DynamicList< T, SizeMin > &list) |
void | transfer (SortableList< T > &list) |
T & | newElmt (const label i) |
void | operator= (const UList< T > &a) |
void | operator= (const List< T > &list) |
void | operator= (const SLList< T > &list) |
template<class Addr > | |
void | operator= (const IndirectListBase< T, Addr > &list) |
template<unsigned N> | |
void | operator= (const FixedList< T, N > &list) |
void | operator= (std::initializer_list< T > list) |
void | operator= (const T &val) |
void | operator= (const Foam::zero) |
void | operator= (List< T > &&list) |
template<int SizeMin> | |
void | operator= (DynamicList< T, SizeMin > &&list) |
void | operator= (SortableList< T > &&list) |
void | operator= (SLList< T > &&list) |
Istream & | readList (Istream &is) |
void | shallowCopy (const UList< T > &)=delete |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
template<class T > | |
List (const label len) | |
template<class T > | |
List (const label len, const T &val) | |
template<class T > | |
List (const label len, const Foam::zero) | |
template<class T > | |
List (const Foam::one, const T &val) | |
template<class T > | |
List (const Foam::one, T &&val) | |
template<class T > | |
List (const Foam::one, const Foam::zero) | |
template<class T > | |
List (const UList< T > &a) | |
template<class T > | |
List (const List< T > &a) | |
template<class T > | |
List (List< T > &a, bool reuse) | |
template<class T > | |
List (const UList< T > &list, const labelUList &indices) | |
template<class T > | |
List (const PtrList< T > &list) | |
template<class T > | |
List (const SLList< T > &list) | |
template<class T > | |
List (std::initializer_list< T > list) | |
template<class T > | |
List (List< T > &&list) | |
template<class T > | |
List (SortableList< T > &&list) | |
template<class T > | |
List (SLList< T > &&list) | |
template<class T > | |
void | transfer (List< T > &list) |
template<class T > | |
void | transfer (SortableList< T > &list) |
template<class T > | |
void | operator= (const UList< T > &a) |
template<class T > | |
void | operator= (const List< T > &list) |
template<class T > | |
void | operator= (const SLList< T > &list) |
template<class T > | |
void | operator= (std::initializer_list< T > list) |
template<class T > | |
void | operator= (List< T > &&list) |
template<class T > | |
void | operator= (SortableList< T > &&list) |
template<class T > | |
void | operator= (SLList< T > &&list) |
Istream & | readList (Istream &is) |
template<class T > | |
constexpr | List () noexcept |
void | resize (const label newLen) |
template<class T > | |
void | append (const T &val) |
template<class T > | |
void | append (T &&val) |
template<class T > | |
void | append (const UList< T > &list) |
template<class T > | |
void | operator= (const T &val) |
template<class T > | |
void | operator= (const Foam::zero) |
template<class T > | |
List (Istream &is) | |
Istream & | readList (Istream &is) |
Static Public Member Functions | |
static autoPtr< pointZone > | New (const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm) |
![]() | |
static const List< T > & | null () |
Static Public Attributes | |
static const char *const | labelsName = "pointLabels" |
Friends | |
Ostream & | operator<< (Ostream &os, const pointZone &zn) |
Additional Inherited Members | |
![]() | |
typedef SubList< T > | subList |
A subset of mesh points.
The labels of points in the zone can be obtained from the addressing() list.
For quick check whether a point belongs to the zone use the lookup mechanism in pointZoneMesh, where all the zoned points are registered with their zone number.
Definition at line 61 of file pointZone.H.
pointZone | ( | const word & | name, |
const label | index, | ||
const pointZoneMesh & | zm | ||
) |
Definition at line 44 of file pointZone.C.
pointZone | ( | const word & | name, |
const labelUList & | addr, | ||
const label | index, | ||
const pointZoneMesh & | zm | ||
) |
Definition at line 56 of file pointZone.C.
pointZone | ( | const word & | name, |
labelList && | addr, | ||
const label | index, | ||
const pointZoneMesh & | zm | ||
) |
Definition at line 69 of file pointZone.C.
pointZone | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index, | ||
const pointZoneMesh & | zm | ||
) |
Definition at line 82 of file pointZone.C.
pointZone | ( | const pointZone & | origZone, |
const labelUList & | addr, | ||
const label | index, | ||
const pointZoneMesh & | zm | ||
) |
Definition at line 95 of file pointZone.C.
pointZone | ( | const pointZone & | origZone, |
labelList && | addr, | ||
const label | index, | ||
const pointZoneMesh & | zm | ||
) |
Definition at line 108 of file pointZone.C.
|
virtualdefault |
TypeName | ( | "pointZone" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
pointZone | , | ||
dictionary | , | ||
(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm) | , | ||
(name, dict, index, zm) | |||
) |
|
inlinevirtual |
Definition at line 166 of file pointZone.H.
References zoneIdentifier::index(), and autoPtr::New().
|
inlinevirtual |
Definition at line 174 of file pointZone.H.
References zoneIdentifier::index(), and autoPtr::New().
|
static |
Definition at line 28 of file pointZoneNew.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::name().
|
inlinenoexcept |
Definition at line 204 of file pointZone.H.
Foam::label whichPoint | ( | const label | globalPointID | ) | const |
Definition at line 122 of file pointZone.C.
References zone::localID().
Implements zone.
Definition at line 128 of file pointZone.C.
References zone::checkDefinition().
Definition at line 134 of file pointZone.C.
References Foam::endl(), forAll, Foam::Info, Foam::labelMax, mesh, Foam::name(), Foam::nl, primitiveMesh::nPoints(), polyMesh::points(), and syncTools::syncPointList().
|
inlinevirtual |
Reimplemented from zone.
Definition at line 221 of file pointZone.H.
|
virtual |
Implements zone.
Definition at line 188 of file pointZone.C.
References Ostream::beginBlock(), Ostream::endBlock(), Foam::name(), os(), Foam::type(), zoneIdentifier::write(), and Ostream::writeEntry().
void operator= | ( | const pointZone & | zn | ) |
Definition at line 202 of file pointZone.C.
References List::operator=().
void operator= | ( | const labelUList & | addr | ) |
Definition at line 209 of file pointZone.C.
References List::operator=().
void operator= | ( | labelList && | addr | ) |
Definition at line 216 of file pointZone.C.
References List::transfer().
|
static |
Definition at line 83 of file pointZone.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.