Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
mesh_base.hpp File Reference
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <map>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <vector>
#include <Eigen/Dense>
#include <boost/unordered/unordered_flat_set.hpp>
#include <vtkAbstractArray.h>
#include <vtkAppendFilter.h>
#include <vtkCell.h>
#include <vtkCellArray.h>
#include <vtkCellData.h>
#include <vtkDataArray.h>
#include <vtkFieldData.h>
#include <vtkFloatArray.h>
#include <vtkIdList.h>
#include <vtkNew.h>
#include <vtkPointData.h>
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include <vtkPolyDataReader.h>
#include <vtkPolygon.h>
#include <vtkPolyhedron.h>
#include <vtkSmartPointer.h>
#include <vtkType.h>
#include <vtkUnstructuredGrid.h>
#include <vtkXMLUnstructuredGridReader.h>
#include <vtkXMLUnstructuredGridWriter.h>
#include "vulpes/datastructure/crs_map.hpp"
#include "vulpes/datastructure/kdtree.hpp"
#include "vulpes/geometry/traits.hpp"
#include "vulpes/utils/macros.hpp"
#include "vulpes/utils/profiler.hpp"
#include "vulpes/utils/serialize.hpp"
#include "vulpes/utils/vvutils.hpp"
Include dependency graph for mesh_base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

 A structure to store global metadata. More...
struct  vulpes::geometry::MeshTag< Dim, IndexType >
 A structure to store tags for different parts of a mesh. More...
class  vulpes::geometry::MeshBase< FloatType, IndexType, OuterDim, SelfDim, Derived >
 A base class for creating and managing mesh data structures. More...

Namespaces

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

Functions

template<typename Dst, typename Src>
constexpr auto vulpes::geometry::internal::cast (const datastructure::CrsMap< Src, Src > &map)
 Re-types a CRS map to use a different integral type for indices and values.
template<typename VecType>
void vulpes::geometry::internal::checkEmptySets (const VecType &labels)
 Checks for and warns about empty classes in a label vector.
template<typename index_t>
datastructure::CrsMap< index_t, index_t > vulpes::geometry::internal::buildSubDual (const datastructure::CrsMap< index_t, index_t > &dual_map, const std::vector< index_t > &subset_idxs)
 Extracts the dual subgraph corresponding to a subset of vertices.
template<typename index_t>
index_t vulpes::geometry::internal::removeEmptySets (std::vector< index_t > &labels)
 Compresses labels to a contiguous range [0, N-1].
template<typename IndexType>
void vulpes::geometry::internal::importVtkMeshTags (vtkFieldData *field_data, std::string_view association, std::unordered_map< std::string, std::vector< IndexType > > &tags)
 Imports scalar numeric VTK arrays into an integer mesh-tag table.