![]() |
SemiDiscreteOT 1.0
Semi-Discrete Optimal Transport Library
|
Classes | |
class | DealIIPowerDiagram |
A class for computing power diagrams using deal.II. More... | |
class | GeogramPowerDiagram |
A class for computing power diagrams using Geogram. More... | |
class | PowerDiagramBase |
A base class for power diagrams. More... | |
Functions | |
template<int dim, int spacedim> | |
std::unique_ptr< PowerDiagramBase< dim, spacedim > > | create_power_diagram (const std::string &implementation_type, const Triangulation< dim, spacedim > *dealii_mesh=nullptr, const std::string &geogram_mesh_file="") |
A factory function to create a power diagram. | |
std::unique_ptr< PowerDiagramBase< dim, spacedim > > PowerDiagramSpace::create_power_diagram | ( | const std::string & | implementation_type, |
const Triangulation< dim, spacedim > * | dealii_mesh = nullptr , |
||
const std::string & | geogram_mesh_file = "" |
||
) |
A factory function to create a power diagram.
dim | The dimension of the mesh. |
spacedim | The dimension of the space the mesh is embedded in. |
implementation_type | The type of implementation to use ("dealii" or "geogram"). |
dealii_mesh | A pointer to a deal.II triangulation (if using the "dealii" implementation). |
geogram_mesh_file | The path to a Geogram mesh file (if using the "geogram" implementation). |
Definition at line 243 of file PowerDiagram.h.