25#include "volume_kernel.hpp"
39#if BITPIT_ENABLE_MPI==1
58 :
PatchKernel(communicator, haloSize, adaptionMode, partitioningMode)
71#if BITPIT_ENABLE_MPI==1
91 :
PatchKernel(dimension, communicator, haloSize, adaptionMode, partitioningMode)
105#if BITPIT_ENABLE_MPI==1
126 :
PatchKernel(id, dimension, communicator, haloSize, adaptionMode, partitioningMode)
232 return faceVertexIds;
235 std::size_t nFaceVertices = faceVertexIds.
size();
238 for (std::size_t k = 0; k < nFaceVertices; ++k) {
240 orderedFaceVertexIdsStorage[k] = faceVertexIds[vertex];
243 return orderedFaceVertexIds;
265 case (ElementType::POLYGON):
272 assert(faceType != ElementType::UNDEFINED);
301 case (ElementType::POLYGON):
308 assert(faceType != ElementType::UNDEFINED);
The Cell class defines the cells.
ConstProxyVector< long > getFaceVertexIds(int face) const
ElementType getFaceType(int face) const
The PatchKernel class provides an interface for defining patches.
void extractEnvelope(PatchKernel &envelope) const
Metafunction for generating a list of elements that can be either stored in an external vectror or,...
container_type::pointer storage_pointer
__PXV_STORAGE_POINTER__ storedData() noexcept
The Reference2DElementInfo class allows to define information about reference two-dimensional element...
virtual int getCCWOrderedVertex(int n) const
virtual bool areVerticesCCWOrdered() const
static BITPIT_PUBLIC_API const ReferenceElementInfo & getInfo(ElementType type)
The SurfaceKernel class provides an interface for defining surface patches.
The VolumeKernel class provides an interface for defining volume patches.
int getFaceOrderedLocalVertex(const Cell &cell, int face, std::size_t n) const
void extractEnvelope(SurfaceKernel &envelope) const
int getSurfaceCodimension() const override
int getPointCodimension() const override
int getLineCodimension() const override
int getVolumeCodimension() const override
bool isPointInside(double x, double y, double z) const
bool areFaceVerticesOrdered(const Cell &cell, int face) const
ConstProxyVector< long > getFaceOrderedVertexIds(const Cell &cell, int face) const
VolumeKernel(MPI_Comm communicator, std::size_t haloSize, AdaptionMode adaptionMode, PartitioningMode partitioningMode)