40 #ifndef H_EXPLORAGRAM_OPTIMAL_TRANSPORT_OPTIMAL_TRANSPORT_ON_SURFACE_H
41 #define H_EXPLORAGRAM_OPTIMAL_TRANSPORT_OPTIMAL_TRANSPORT_ON_SURFACE_H
103 const std::string& delaunay =
"BPOW",
Computes semi-discrete optimal transport maps.
void get_RVD(Mesh &M) override
Computes a mesh with the restricted Voronoi diagram.
double total_mesh_mass() const
Gets the total mass of the mesh.
void call_callback_on_RVD() override
Calls the callback for each intersection between a Laguerre cell and a simplex of the background mesh...
OptimalTransportMapOnSurface(Mesh *mesh, const std::string &delaunay="BPOW", bool BRIO=false)
OptimalTransportOnSurface constructor.
void compute_Laguerre_centroids(double *centroids) override
Computes the centroids of the Laguerre cells.
~OptimalTransportMapOnSurface() override
OptimalTransportMap destructor.
Computes semi-discrete optimal transport maps.
#define EXPLORAGRAM_API
Linkage declaration for exploragram symbols.
Included by all headers in exploragram.
Global Vorpaline namespace.
geo_index_t index_t
The type for storing and manipulating indices.
void EXPLORAGRAM_API compute_Laguerre_centroids_on_surface(Mesh *omega, index_t nb_points, const double *points, double *centroids, Mesh *RVD=nullptr, bool verbose=false)
Computes the centroids of the Laguerre cells that correspond to optimal transport over a surface embe...
Base class for semi-discrete optimal transport.