Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
mesh_3d.hpp File Reference
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <map>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <Eigen/Dense>
#include <vtkCell.h>
#include <vtkCellArray.h>
#include <vtkCellData.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/mesh/mesh_2d.hpp"
#include "vulpes/geometry/mesh/mesh_base.hpp"
#include "vulpes/utils/profiler.hpp"
Include dependency graph for mesh_3d.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vulpes::geometry::Mesh3D< FloatType, IndexType >
 Represents a 3D mesh. More...

Namespaces

namespace  vulpes
namespace  vulpes::geometry
namespace  vulpes::geometry::mesh3d

Functions

template<typename FloatType, typename IndexType>
Mesh3D< FloatType, IndexType > vulpes::geometry::mesh3d::readVTU (const std::string &filename, bool check_vtxs_unique=false, bool add_tags=true)
 Reads a 3D mesh from a VTU file.
template<typename FloatType, typename IndexType>
Mesh3D< FloatType, IndexType > vulpes::geometry::mesh3d::rect_cuboid (const Point< FloatType, 3 > &corner_a, const Point< FloatType, 3 > &corner_b, const Point< IndexType, 3 > &n_divisions, bool tetra_elements=false)
 Creates a rectangular cuboid mesh.
template Mesh3D< double, int32_t > vulpes::geometry::mesh3d::readVTU< double, int32_t > (const std::string &, bool, bool)
template Mesh3D< double, uint32_t > vulpes::geometry::mesh3d::readVTU< double, uint32_t > (const std::string &, bool, bool)
template Mesh3D< double, int64_t > vulpes::geometry::mesh3d::readVTU< double, int64_t > (const std::string &, bool, bool)
template Mesh3D< double, uint64_t > vulpes::geometry::mesh3d::readVTU< double, uint64_t > (const std::string &, bool, bool)
template Mesh3D< double, int32_t > vulpes::geometry::mesh3d::rect_cuboid< double, int32_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< int32_t, 3 > &, bool)
template Mesh3D< double, uint32_t > vulpes::geometry::mesh3d::rect_cuboid< double, uint32_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< uint32_t, 3 > &, bool)
template Mesh3D< double, int64_t > vulpes::geometry::mesh3d::rect_cuboid< double, int64_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< int64_t, 3 > &, bool)
template Mesh3D< double, uint64_t > vulpes::geometry::mesh3d::rect_cuboid< double, uint64_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< uint64_t, 3 > &, bool)