Loading [MathJax]/extensions/TeX/AMSsymbols.js
 deal.II version GIT relicensing-3083-g7b89508ac7 2025-04-18 12:50:00+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\}}\)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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
 
class  internal::NoPermutation< 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

constexpr ReferenceCell internal::make_reference_cell_from_int (const std::uint8_t kind)
 
std::ostream & operator<< (std::ostream &out, const ReferenceCell &reference_cell)
 
std::istream & operator>> (std::istream &in, ReferenceCell &reference_cell)
 
template<int dim>
constexpr const ReferenceCellReferenceCells::get_simplex ()
 
template<int dim>
constexpr const ReferenceCellReferenceCells::get_hypercube ()
 
template<int structdim>
constexpr unsigned int ReferenceCells::max_n_vertices ()
 
template<int structdim>
constexpr unsigned int ReferenceCells::max_n_lines ()
 
template<int structdim>
constexpr unsigned int ReferenceCells::max_n_faces ()
 
static ::ExceptionBaseinternal::ExcNonMatchingReferenceCellTypes (ReferenceCell arg1, ReferenceCell arg2)
 

Variables

constexpr ReferenceCell ReferenceCells::Vertex = internal::make_reference_cell_from_int(0)
 
constexpr ReferenceCell ReferenceCells::Line = internal::make_reference_cell_from_int(1)
 
constexpr ReferenceCell ReferenceCells::Triangle = internal::make_reference_cell_from_int(2)
 
constexpr ReferenceCell ReferenceCells::Quadrilateral
 
constexpr ReferenceCell ReferenceCells::Tetrahedron
 
constexpr ReferenceCell ReferenceCells::Pyramid = internal::make_reference_cell_from_int(5)
 
constexpr ReferenceCell ReferenceCells::Wedge = internal::make_reference_cell_from_int(6)
 
constexpr ReferenceCell ReferenceCells::Hexahedron
 
constexpr ReferenceCell 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<<()

std::ostream & operator<< ( std::ostream &  out,
const ReferenceCell 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::to_string().

Definition at line 1131 of file reference_cell.cc.

◆ operator>>()

std::istream & operator>> ( std::istream &  in,
ReferenceCell 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 1145 of file reference_cell.cc.