25#include "bitpit_common.hpp"
27#include "pointcloud.hpp"
40#if BITPIT_ENABLE_MPI==1
52 :
PointKernel(communicator, ADAPTION_MANUAL, PARTITIONING_DISABLED)
63#if BITPIT_ENABLE_MPI==1
89#if BITPIT_ENABLE_MPI==1
103 :
PointKernel(id, dimension, communicator, ADAPTION_MANUAL, PARTITIONING_DISABLED)
117#if BITPIT_ENABLE_MPI==1
129 :
PointKernel(communicator, ADAPTION_MANUAL, PARTITIONING_DISABLED)
151 return std::unique_ptr<PointCloud>(
new PointCloud(*
this));
161 const int DUMP_VERSION = 1;
173#if BITPIT_ENABLE_MPI==1
176 throw std::runtime_error (
"Dump of lineunstructured is implemented only for serial calculations.");
197#if BITPIT_ENABLE_MPI==1
200 throw std::runtime_error (
"Restore of lineunstructured is implemented only for serial calculations.");
231 throw std::runtime_error (
"The function 'locatePoint' is not implemented yet");
void dumpInterfaces(std::ostream &stream) const
void dumpVertices(std::ostream &stream) const
void dumpCells(std::ostream &stream) const
void restoreCells(std::istream &stream)
void restoreVertices(std::istream &stream)
void restore(std::istream &stream, bool reregister=false)
void restoreInterfaces(std::istream &stream)
int getProcessorCount() const
The PatchManager oversee the handling of the patches.
The PointCloud class defines a point cloud.
void _restore(std::istream &stream) override
long locatePoint(const std::array< double, 3 > &point) const override
std::unique_ptr< PatchKernel > clone() const override
void _dump(std::ostream &stream) const override
PointCloud(MPI_Comm communicator)
int _getDumpVersion() const override
#define BITPIT_UNUSED(variable)