A hexahedral cell primitive. More...
Public Member Functions | |
hexCell () | |
hexCell (std::initializer_list< label > list) | |
hexCell (const FixedList< label, 8 > &list) | |
hexCell (const labelUList &list, const FixedList< label, 8 > &indices) | |
template<unsigned AnyNum> | |
hexCell (const FixedList< label, AnyNum > &list, const FixedList< label, 8 > &indices) | |
hexCell (Istream &is) | |
Foam::face | face (const label facei) const |
Foam::edge | edge (const label edgei) const |
Foam::edge | reverseEdge (const label edgei) const |
Foam::faceList | faces () const |
Foam::edgeList | edges () const |
point | centre (const UList< point > &meshPoints) const |
pointField | points (const UList< point > &meshPoints) const |
cellShape | shape (const bool doCollapse=false) const |
![]() | |
void | writeEntry (const word &keyword, Ostream &os) const |
FixedList ()=default | |
FixedList (const T &val) | |
FixedList (const Foam::zero) | |
FixedList (const T list[N]) | |
FixedList (const FixedList< T, N > &list) | |
FixedList (FixedList< T, N > &&list) | |
FixedList (std::initializer_list< T > list) | |
FixedList (const UList< T > &list) | |
FixedList (const FixedList< T, AnyNum > &list, const FixedList< label, N > &indices) | |
FixedList (const UList< T > &list, const FixedList< label, N > &indices) | |
FixedList (const SLList< T > &list) | |
FixedList (Istream &is) | |
autoPtr< FixedList< T, N > > | clone () const |
const T * | cdata () const noexcept |
T * | data () noexcept |
const char * | cdata_bytes () const noexcept |
char * | data_bytes () noexcept |
T & | first () noexcept |
const T & | first () const noexcept |
T & | last () noexcept |
const T & | last () const noexcept |
label | fcIndex (const label i) const |
const T & | fcValue (const label i) const |
T & | fcValue (const label i) |
label | rcIndex (const label i) const |
const T & | rcValue (const label i) const |
T & | rcValue (const label i) |
void | checkStart (const label start) const |
void | checkSize (const label size) const |
void | checkIndex (const label i) const |
bool | uniform () const |
label | find (const T &val, label pos=0) const |
label | rfind (const T &val, label pos=-1) const |
bool | found (const T &val, label pos=0) const |
void | resize (const label n) |
void | resize_nocopy (const label n) |
void | setSize (const label n) |
void | fill (const T &val) |
void | fill (const Foam::zero) |
void | moveFirst (const label i) |
void | moveLast (const label i) |
void | swapFirst (const label i) |
void | swapLast (const label i) |
void | transfer (FixedList< T, N > &list) |
T & | operator[] (const label i) |
const T & | operator[] (const label i) const |
void | operator= (const T list[N]) |
void | operator= (const UList< T > &list) |
void | operator= (const SLList< T > &list) |
void | operator= (std::initializer_list< T > list) |
void | operator= (const T &val) |
void | operator= (const Foam::zero) |
void | operator= (const FixedList< T, N > &list) |
void | operator= (FixedList< T, N > &&list) |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
void | swap (FixedList< T, N > &other) |
bool | operator== (const FixedList< T, N > &list) const |
bool | operator!= (const FixedList< T, N > &list) const |
bool | operator< (const FixedList< T, N > &list) const |
bool | operator> (const FixedList< T, N > &list) const |
bool | operator<= (const FixedList< T, N > &list) const |
bool | operator>= (const FixedList< T, N > &list) const |
Istream & | readList (Istream &is) |
Ostream & | writeList (Ostream &os, const label shortLen=0) const |
Static Public Member Functions | |
static constexpr label | nPoints () noexcept |
static constexpr label | nEdges () noexcept |
static constexpr label | nFaces () noexcept |
static const Foam::faceList & | modelFaces () |
static const Foam::edgeList & | modelEdges () |
![]() | |
static const FixedList< T, N > & | null () |
static std::streamsize | size_bytes () noexcept |
static std::streamsize | byteSize () |
static constexpr bool | empty () noexcept |
static constexpr label | size () noexcept |
static constexpr unsigned | max_size () noexcept |
Additional Inherited Members | |
![]() | |
typedef T | value_type |
typedef T * | pointer |
typedef T & | reference |
typedef T * | iterator |
typedef label | size_type |
typedef label | difference_type |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
![]() | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
const typedef T * | const_iterator |
![]() | |
void | writeEntry (Ostream &os) const |
A hexahedral cell primitive.
It is important that the face/edge ordering is identical for a hexahedral cell shape model and a hexCell
|
inline |
Definition at line 34 of file hexCellI.H.
|
inlineexplicit |
Definition at line 40 of file hexCellI.H.
Definition at line 46 of file hexCellI.H.
|
inline |
Definition at line 53 of file hexCellI.H.
Definition at line 64 of file hexCellI.H.
Definition at line 73 of file hexCellI.H.
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
Definition at line 116 of file hexCell.H.
Referenced by hexCell::edge(), hexCell::edges(), and hexCell::modelEdges().
|
inlinestaticconstexprnoexcept |
Definition at line 122 of file hexCell.H.
Referenced by hexCell::face(), hexCell::faces(), and hexCell::modelFaces().
|
static |
Definition at line 64 of file hexCell.C.
References f(), and hexCell::nFaces().
|
static |
Definition at line 87 of file hexCell.C.
References Foam::constant::electromagnetic::e, and hexCell::nEdges().
Referenced by blockDescriptor::edgePointsWeights(), and blockDescriptor::edgesPointsWeights().
|
inline |
Definition at line 81 of file hexCellI.H.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, and hexCell::nFaces().
|
inline |
Definition at line 99 of file hexCellI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and hexCell::nEdges().
|
inline |
Definition at line 118 of file hexCellI.H.
References edge::reverseEdge().
Foam::faceList faces | ( | ) | const |
Definition at line 110 of file hexCell.C.
References f(), and hexCell::nFaces().
Foam::edgeList edges | ( | ) | const |
Definition at line 125 of file hexCell.C.
References Foam::constant::electromagnetic::e, and hexCell::nEdges().
|
inline |
Definition at line 126 of file hexCellI.H.
References Foam::Zero.
|
inline |
Definition at line 147 of file hexCellI.H.
Foam::cellShape shape | ( | const bool | doCollapse = false | ) | const |
Definition at line 141 of file hexCell.C.
References cellModel::HEX, and cellModel::ptr().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.