Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
cell.hpp File Reference
#include <algorithm>
#include <set>
#include <utility>
#include <vector>
#include <boost/unordered/unordered_flat_map.hpp>
#include "vulpes/datastructure/crs_map.hpp"
#include "vulpes/geometry/mesh.hpp"
#include "vulpes/geometry/traits.hpp"
#include "vulpes/quadrature/qfree.hpp"
Include dependency graph for cell.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vulpes::geometry::Cell2D< FloatType, IndexType >
class  vulpes::geometry::Cell3D< FloatType, IndexType >

Namespaces

namespace  vulpes
namespace  vulpes::geometry
namespace  vulpes::qfree

Typedefs

template<bool PPoly, typename FloatType, typename IndexType>
using vulpes::qfree::AreaIntegral2D
template<bool PPoly, typename FloatType, typename IndexType>
using vulpes::qfree::EdgeIntegral2D
template<bool PPoly, typename FloatType, typename IndexType>
using vulpes::qfree::VolumeIntegral3D
template<bool PPoly, typename FloatType, typename IndexType>
using vulpes::qfree::LowerIntegral3D
using vulpes::geometry::CellInitOptionsType = std::underlying_type_t<CellInitOptions>
template<std::size_t Dim, typename FloatType, typename IndexType, typename = std::enable_if_t<(Dim == 2) || (Dim == 3)>>
using vulpes::geometry::Cell

Enumerations

enum  vulpes::geometry::CellInitOptions : uint32_t {
  vulpes::geometry::CellInitVtxOnly = 0ULL , vulpes::geometry::CellInitNormals = (1ULL << 0ULL) , vulpes::geometry::CellInitLocalMaps = (1ULL << 1ULL) , vulpes::geometry::CellInitInverseMaps = (1ULL << 2ULL) ,
  vulpes::geometry::CellInitEdgeToCompute = (1ULL << 3ULL) , vulpes::geometry::CellInitFaces = (1ULL << 4ULL) , vulpes::geometry::CellInitBBox = (1ULL << 5ULL) , vulpes::geometry::CellInitDiameter = (1ULL << 6ULL) ,
  vulpes::geometry::CellInitMeasure = (1ULL << 7ULL) , vulpes::geometry::CellInitBarycenter = (1ULL << 8ULL) , vulpes::geometry::CellInitFaceDiameter = (1ULL << 9ULL) , vulpes::geometry::CellInitFaceKb = (1ULL << 10ULL) ,
  vulpes::geometry::CellInitInscribedDiameter = (1ULL << 11ULL) , vulpes::geometry::CellInitAll = 0xFFFFFFFFUL
}

Functions

template<bool PPoly, typename FloatType, typename IndexType>
std::pair< AreaIntegral2D< PPoly, FloatType, IndexType >, EdgeIntegral2D< PPoly, FloatType, IndexType > > vulpes::qfree::integrateMonomialsQFree2D (const geometry::Cell2D< FloatType, IndexType > &cell, IndexType deg)
 Computes the 2D area and edge integrals over a polygonal cell without requiring quadrature points of all monomials up to a fixed degree.
template<bool PPoly, bool Pruning, typename FloatType, typename IndexType>
std::pair< VolumeIntegral3D< PPoly, FloatType, IndexType >, LowerIntegral3D< PPoly, FloatType, IndexType > > vulpes::qfree::integrateMonomialsQFree3D (const geometry::Cell3D< FloatType, IndexType > &elem, IndexType deg)
 Computes the volume and lower-dimensional integrals over a 3D element without quadrature.