Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
gnn_agglomeration.hpp File Reference
#include <torch/script.h>
#include <torch/torch.h>
#include <fstream>
#include <set>
#include <string>
#include <vector>
#include <Eigen/Dense>
#include <vtkCellArray.h>
#include <vtkCellData.h>
#include <vtkIntArray.h>
#include <vtkNew.h>
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
#include <vtkUnstructuredGrid.h>
#include <vtkXMLPolyDataWriter.h>
#include <vtkXMLUnstructuredGridWriter.h>
#include "vulpes/datastructure/crs_map.hpp"
#include "vulpes/geometry/agglomeration/abs_agg_model.hpp"
#include "vulpes/geometry/agglomeration/gnn_graph.hpp"
#include "vulpes/geometry/cell.hpp"
#include "vulpes/geometry/kmeans.hpp"
#include "vulpes/geometry/mesh.hpp"
#include "vulpes/geometry/mesh_exporter.hpp"
Include dependency graph for gnn_agglomeration.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vulpes::geometry::GNNAgglomeration< MeshType >
 GNN-based agglomeration model (GraphSAGE via TorchScript). More...

Namespaces

namespace  vulpes
namespace  vulpes::geometry
namespace  vulpes::geometry::internal
 Helpers implementing VulPoly's Voronoi construction and cleanup.

Enumerations

enum class  vulpes::geometry::SAGEType { vulpes::geometry::Base = 0 , vulpes::geometry::Heterogeneous }
 Variants of pretrained GraphSAGE models supported by this backend. More...

Functions

template<typename T>
constexpr torch::ScalarType vulpes::geometry::internal::toTorchType ()
 Map C++ mesh types (float, double, int32_t, int64_t) to the corresponding Torch scalar type.