After construction is a list of <refineCell> of cells within a certain distance to the wall and with the wall normal direction. More...
Public Member Functions | |
| ClassName ("wallLayerCells") | |
| Runtime type information. More... | |
| wallLayerCells (const polyMesh &mesh, const List< word > &patchNames, const label nLayers) | |
| Construct from components. More... | |
Public Member Functions inherited from edgeVertex | |
| edgeVertex (const polyMesh &mesh) | |
| Construct from mesh. More... | |
| const polyMesh & | mesh () const |
| bool | isEdge (const label eVert) const |
| label | getEdge (const label eVert) const |
| label | getVertex (const label eVert) const |
| label | vertToEVert (const label vertI) const |
| label | edgeToEVert (const label edgeI) const |
| point | coord (const label cut, const scalar weight) const |
| label | cutPairToEdge (const label cut0, const label cut1) const |
| Ostream & | writeCut (Ostream &os, const label cut, const scalar) const |
| Write cut description to Ostream. More... | |
| Ostream & | writeCuts (Ostream &os, const labelList &, const scalarField &) const |
| Write cut descriptions to Ostream. More... | |
Public Member Functions inherited from List< refineCell > | |
| constexpr | List () noexcept |
| Null constructor. More... | |
| List (const label len) | |
| Construct with given size. More... | |
| List (const label len, const refineCell &val) | |
| Construct with given size and value for all elements. More... | |
| List (const label len, const zero) | |
| Construct with given size initializing all elements to zero. More... | |
| List (const one, const refineCell &val) | |
| Construct with length=1, copying the value as the only content. More... | |
| List (const one, refineCell &&val) | |
| Construct with length=1, moving the value as the only content. More... | |
| List (const one, const zero) | |
| Construct with length=1, initializing content to zero. More... | |
| List (const List< refineCell > &a) | |
| Copy construct from list. More... | |
| List (const UList< refineCell > &a) | |
| Copy construct contents from list. More... | |
| List (List< refineCell > &a, bool reuse) | |
| Construct as copy or re-use as specified. More... | |
| List (const UList< refineCell > &list, const labelUList &indices) | |
| Copy construct subset of list. More... | |
| List (const UList< refineCell > &list, const FixedList< label, N > &indices) | |
| Copy construct subset of list. More... | |
| List (InputIterator begIter, InputIterator endIter) | |
| Construct given begin/end iterators. More... | |
| List (const FixedList< refineCell, N > &list) | |
| Construct as copy of FixedList<T, N> More... | |
| List (const PtrList< refineCell > &list) | |
| Construct as copy of PtrList<T> More... | |
| List (const SLList< refineCell > &list) | |
| Construct as copy of SLList<T> More... | |
| List (const IndirectListBase< refineCell, Addr > &list) | |
| Construct as copy of IndirectList contents. More... | |
| List (std::initializer_list< refineCell > list) | |
| Construct from an initializer list. More... | |
| List (List< refineCell > &&list) | |
| Move construct from List. More... | |
| List (DynamicList< refineCell, SizeMin > &&list) | |
| Move construct from DynamicList. More... | |
| List (SortableList< refineCell > &&list) | |
| Move construct from SortableList. More... | |
| List (SLList< refineCell > &&list) | |
| Move construct from SLList. More... | |
| List (Istream &is) | |
| Construct from Istream. More... | |
| autoPtr< List< refineCell > > | clone () const |
| Clone. More... | |
| ~List () | |
| Destructor. More... | |
| void | resize (const label newSize) |
| Adjust allocated size of list. More... | |
| void | resize (const label newSize, const refineCell &val) |
| Adjust allocated size of list and set val for new elements. More... | |
| void | resize (const label newSize) |
| void | setSize (const label newSize) |
| Alias for resize(const label) More... | |
| void | setSize (const label newSize, const refineCell &val) |
| Alias for resize(const label, const T&) More... | |
| void | clear () |
| Clear the list, i.e. set size to zero. More... | |
| void | append (const refineCell &val) |
| Append an element at the end of the list. More... | |
| void | append (refineCell &&val) |
| Move append an element at the end of the list. More... | |
| void | append (const UList< refineCell > &list) |
| Append a List to the end of this list. More... | |
| void | append (const IndirectListBase< refineCell, Addr > &list) |
| Append IndirectList contents at the end of this list. More... | |
| void | transfer (List< refineCell > &list) |
| void | transfer (DynamicList< refineCell, SizeMin > &list) |
| void | transfer (SortableList< refineCell > &list) |
| refineCell & | newElmt (const label i) |
| void | operator= (const UList< refineCell > &a) |
| Assignment to UList operator. Takes linear time. More... | |
| void | operator= (const List< refineCell > &list) |
| Assignment operator. Takes linear time. More... | |
| void | operator= (const SLList< refineCell > &list) |
| Assignment to SLList operator. Takes linear time. More... | |
| void | operator= (const IndirectListBase< refineCell, Addr > &list) |
| Assignment from IndirectList. Takes linear time. More... | |
| void | operator= (const FixedList< refineCell, N > &list) |
| Copy assignment from FixedList. More... | |
| void | operator= (std::initializer_list< refineCell > list) |
| Assignment to an initializer list. More... | |
| void | operator= (const refineCell &val) |
| Assignment of all entries to the given value. More... | |
| void | operator= (const zero) |
| Assignment of all entries to zero. More... | |
| void | operator= (List< refineCell > &&list) |
| Move assignment. Takes constant time. More... | |
| void | operator= (DynamicList< refineCell, SizeMin > &&list) |
| Move assignment. Takes constant time. More... | |
| void | operator= (SortableList< refineCell > &&list) |
| Move assignment. Takes constant time. More... | |
| void | operator= (SLList< refineCell > &&list) |
| Move assignment. Takes constant time. More... | |
| void | shallowCopy (const UList< refineCell > &)=delete |
| No shallowCopy permitted. More... | |
| std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
| A bitSet::set() method for a list of bool. More... | |
Additional Inherited Members | |
Public Types inherited from List< refineCell > | |
| typedef SubList< refineCell > | subList |
| Declare type of subList. More... | |
Static Public Member Functions inherited from edgeVertex | |
| static void | updateLabels (const labelList &map, List< refineCell > &) |
| Update refine list from map. Used to update cell/face labels. More... | |
| static void | updateLabels (const labelList &map, Map< label > &) |
| Update map from map. Used to update cell/face labels. More... | |
| static void | updateLabels (const labelList &map, labelHashSet &) |
| Update map from map. Used to update cell/face labels. More... | |
| static bool | isEdge (const primitiveMesh &mesh, const label eVert) |
| Is eVert an edge? More... | |
| static label | getEdge (const primitiveMesh &mesh, const label eVert) |
| Convert eVert to edge label. More... | |
| static label | getVertex (const primitiveMesh &mesh, const label eVert) |
| Convert eVert to vertex label. More... | |
| static label | vertToEVert (const primitiveMesh &mesh, const label vertI) |
| Convert pointi to eVert. More... | |
| static label | edgeToEVert (const primitiveMesh &mesh, const label edgeI) |
| Convert edgeI to eVert. More... | |
| static point | coord (const primitiveMesh &, const label cut, const scalar weight) |
| Return coordinate of cut (uses weight if edgeCut) More... | |
| static label | cutPairToEdge (const primitiveMesh &, const label cut0, const label cut1) |
| Find mesh edge (or -1) between two cuts. More... | |
Static Public Member Functions inherited from List< refineCell > | |
| static const List< refineCell > & | null () |
| Return a null List. More... | |
After construction is a list of <refineCell> of cells within a certain distance to the wall and with the wall normal direction.
Definition at line 54 of file wallLayerCells.H.
| wallLayerCells | ( | const polyMesh & | mesh, |
| const List< word > & | patchNames, | ||
| const label | nLayers | ||
| ) |
Construct from components.
Definition at line 67 of file wallLayerCells.C.
References MeshWave< Type, TrackingData >::allCellInfo(), MeshWave< Type, TrackingData >::allFaceInfo(), DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), MeshWave< Type, TrackingData >::data(), Foam::expressions::patchExpr::debug, stdFoam::end(), Foam::endl(), f(), PrimitivePatch< FaceList, PointField >::faceNormals(), polyMesh::faces(), forAll, InfoInFunction, MeshWave< Type, TrackingData >::iterate(), mesh, Foam::name(), wallNormalInfo::normal(), patches, patchNames(), polyMesh::points(), polyPatch::start(), wallNormalInfo::valid(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), Vector< Cmpt >::z(), and Foam::Zero.
| ClassName | ( | "wallLayerCells" | ) |
Runtime type information.