deal.II version GIT relicensing-6809-ge913b9bb34 2026-09-25 17:20:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
reference_cell.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/array_view.h>
#include <deal.II/base/geometry_info.h>
#include <deal.II/base/ndarray.h>
#include <deal.II/base/point.h>
#include <deal.II/base/tensor.h>
#include <deal.II/base/types.h>
#include <deal.II/base/utilities.h>
#include <deal.II/grid/tria_orientation.h>
#include <boost/container/small_vector.hpp>
#include <iosfwd>
#include <string>

Go to the source code of this file.

Classes

class  ReferenceCell< dim >
 
class  internal::NoPermutation< dim, T >
 

Namespaces

namespace  internal
 
namespace  ReferenceCells
 

Enumerations

enum class  IsotropicRefinementChoice : std::uint8_t { isotropic_refinement = 0 , cut_tet_68 = 1 , cut_tet_57 = 2 , cut_tet_49 = 3 }
 

Functions

template<int dim>
constexpr ReferenceCell< dim > internal::make_reference_cell_from_int (const std::uint8_t kind)
 
template<int dim>
std::ostream & operator<< (std::ostream &out, const ReferenceCell< dim > &reference_cell)
 
template<int dim>
std::istream & operator>> (std::istream &in, ReferenceCell< dim > &reference_cell)
 
template<int dim>
constexpr const std::vector< ReferenceCell< dim > > ReferenceCells::get_reference_cells_in_dim ()
 
template<int dim>
constexpr const ReferenceCell< dim > & ReferenceCells::get_simplex ()
 
template<int dim>
constexpr const ReferenceCell< dim > & ReferenceCells::get_hypercube ()
 
template<int dim>
constexpr unsigned int ReferenceCells::n_reference_cells_in_dim ()
 
template<int dim>
ReferenceCell< dim > ReferenceCells::n_vertices_to_reference_cell (const unsigned int n_vertices)
 
template<int dim>
constexpr unsigned int ReferenceCells::max_n_vertices ()
 
template<int dim>
constexpr unsigned int ReferenceCells::max_n_lines ()
 
template<int dim>
constexpr unsigned int ReferenceCells::max_n_faces ()
 
template<int dim>
constexpr unsigned int ReferenceCells::max_n_children ()
 

Variables

constexpr ReferenceCell< 0 > ReferenceCells::Vertex
 
constexpr ReferenceCell< 1 > ReferenceCells::Line
 
constexpr ReferenceCell< 2 > ReferenceCells::Triangle
 
constexpr ReferenceCell< 2 > ReferenceCells::Quadrilateral
 
constexpr ReferenceCell< 3 > ReferenceCells::Tetrahedron
 
constexpr ReferenceCell< 3 > ReferenceCells::Pyramid
 
constexpr ReferenceCell< 3 > ReferenceCells::Wedge
 
constexpr ReferenceCell< 3 > ReferenceCells::Hexahedron
 
template<int dim>
constexpr ReferenceCell< dim > ReferenceCells::Invalid
 

Enumeration Type Documentation

◆ IsotropicRefinementChoice

enum class IsotropicRefinementChoice : std::uint8_t
strong

Enum of different choices for istropic refinement. There are 3 different ways to refine a tetrahedral, here we save the different possibilities. It is different to RefinementPossibilities are these are options in the case that an isotropic refinement is conducted.

Enumerator
isotropic_refinement 

Decide where to perform a cut based on the shortest edge length.

cut_tet_68 

Perform a cut in the along the edge (6,8).

cut_tet_57 

Perform a cut in the along the edge (5,7).

cut_tet_49 

Perform a cut in the along the edge (4,9).

Definition at line 75 of file reference_cell.h.

Function Documentation

◆ operator<<()

template<int dim>
std::ostream & operator<< ( std::ostream &  out,
const ReferenceCell< dim > &  reference_cell 
)

Output operator that writes the reference_cell object to the stream in a text format in which the object is represented by an integer. The details of which integer value represents each kind of reference cell is unimportant and consequently not specified. If you want a string representation of what a ReferenceCell is, use ReferenceCell<dim>::to_string().

Definition at line 1644 of file reference_cell.cc.

◆ operator>>()

template<int dim>
std::istream & operator>> ( std::istream &  in,
ReferenceCell< dim > &  reference_cell 
)

Input operator that reads the reference_cell object from the stream in a text format in which the object is represented by an integer. Which specific integer value represents which reference cell is unspecified, but the function uses the same translation as the corresponding output operator<<.

Definition at line 1659 of file reference_cell.cc.