deal.II version GIT relicensing-7182-g951947b1c4 2026-11-26 10:30: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
Variables
RefinementChoices Namespace Reference

Variables

template<int dim>
constexpr RefinementChoice< dim > None
 
template<int dim>
constexpr RefinementChoice< dim > CutX
 
template<int dim>
constexpr RefinementChoice< dim > CutY
 
template<int dim>
constexpr RefinementChoice< dim > CutXY
 
template<int dim>
constexpr RefinementChoice< dim > CutZ
 
template<int dim>
constexpr RefinementChoice< dim > CutXZ
 
template<int dim>
constexpr RefinementChoice< dim > CutYZ
 
template<int dim>
constexpr RefinementChoice< dim > Isotropic
 
template<int dim>
constexpr RefinementChoice< dim > Cut49
 
template<int dim>
constexpr RefinementChoice< dim > Cut57
 
template<int dim>
constexpr RefinementChoice< dim > Cut68
 

Detailed Description

A namespace in which we define objects that correspond to specific refinement choices. The objects defined here are a complete enumeration of all possible refinement choices that can be used in deal.II.

Variable Documentation

◆ None

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::None
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(0)

Do not refine the cell (the default).

Definition at line 256 of file refinement_choice.h.

◆ CutX

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::CutX
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(1)

Refine a quadrilateral or hexahedron by cutting in the \(x\) direction.

Note
This may only be used in 2d or 3d. To refine a 1d cell use RefinementChoices::Isotropic.

Definition at line 266 of file refinement_choice.h.

◆ CutY

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::CutY
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(2)

Refine a quadrilateral or hexahedron by cutting in the \(y\) direction.

Note
This may only be used in 2d or 3d.

Definition at line 275 of file refinement_choice.h.

◆ CutXY

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::CutXY
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(3)

Refine a hexahedron by cutting in the \(x\) and \(y\) directions.

Note
This may only be used in 3d. To refine a 2d cell use RefinementChoices::Isotropic.

Definition at line 285 of file refinement_choice.h.

◆ CutZ

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::CutZ
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(4)

Refine a hexahedron by cutting in the \(z\) direction.

Definition at line 292 of file refinement_choice.h.

◆ CutXZ

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::CutXZ
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(5)

Refine a hexahedron by cutting in the \(x\) and \(z\) directions.

Definition at line 299 of file refinement_choice.h.

◆ CutYZ

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::CutYZ
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(6)

Refine a hexahedron by cutting in the \(y\) and \(z\) directions.

Definition at line 306 of file refinement_choice.h.

◆ Isotropic

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::Isotropic
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(dim == 0 ? 1 :
(1 << dim) - 1)

Refine a cell isotropically.

Note
There are three distinct ways to isotropically refine a tetrahedron and, as such, this RefinementChoice cannot be used with tetrahedra. Use one of RefinementChoices::Cut49<3>, RefinementChoices::Cut57<3>, or RefinementChoices::Cut68<3> instead.

Definition at line 318 of file refinement_choice.h.

◆ Cut49

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::Cut49
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(8)

Refine a Tetrahedron isotropically, with the internal line placed between the fourth and ninth vertices.

Definition at line 327 of file refinement_choice.h.

◆ Cut57

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::Cut57
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(9)

Refine a Tetrahedron isotropically, with the internal line placed between the fifth and seventh vertices.

Definition at line 335 of file refinement_choice.h.

◆ Cut68

template<int dim>
constexpr RefinementChoice<dim> RefinementChoices::Cut68
constexprprivate
Initial value:
=
internal::make_refinement_choice_from_int<dim>(10)

Refine a Tetrahedron isotropically, with the internal line placed between the sixth and eighth vertices.

Definition at line 343 of file refinement_choice.h.