30inline void Foam::hexCell::copyFace(
Foam::face&
f,
const label facei)
const
32 f[0] = (*this)[modelFaces_[facei][0]];
33 f[1] = (*this)[modelFaces_[facei][1]];
34 f[2] = (*this)[modelFaces_[facei][2]];
35 f[3] = (*this)[modelFaces_[facei][3]];
69template<
unsigned AnyNum>
94 <<
"Face index (" << facei <<
") out of range 0..5\n"
112 <<
"Edge index (" << edgei <<
") out of range 0..11\n"
119 (*
this)[modelEdges_[edgei][0]],
120 (*
this)[modelEdges_[edgei][1]]
140 for (
const label pointi : *
this)
144 cEst += meshPoints[pointi];
149 return (npts > 1 ? (cEst/scalar(npts)) : cEst);
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalar centre() const
Mid-point location, zero for an empty list.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
edge reverseEdge() const
Return reverse edge as copy.
A face is a list of labels corresponding to mesh vertices.
static constexpr label nFaces() noexcept
Number of faces for HEX.
static constexpr label nEdges() noexcept
Number of edges for HEX.
hexCell()
Default construct, with invalid point labels (-1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
vectorField pointField
pointField is a vectorField.
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)