Reference documentation for deal.II version 9.5.0
\(\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
Public Member Functions | List of all members
internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T > Class Template Reference
Inheritance diagram for internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >:
[legend]

Public Member Functions

void update_neighbors (Triangulation< dim, spacedim > &tria) override
 
void delete_children (Triangulation< dim, spacedim > &tria, typename Triangulation< dim, spacedim >::cell_iterator &cell, std::vector< unsigned int > &line_cell_count, std::vector< unsigned int > &quad_cell_count) override
 
Triangulation< dim, spacedim >::DistortedCellList execute_refinement (Triangulation< dim, spacedim > &triangulation, const bool check_for_distorted_cells) override
 
void prevent_distorted_boundary_cells (Triangulation< dim, spacedim > &triangulation) override
 
void prepare_refinement_dim_dependent (Triangulation< dim, spacedim > &triangulation) override
 
bool coarsening_allowed (const typename Triangulation< dim, spacedim >::cell_iterator &cell) override
 
std::unique_ptr< Policy< dim, spacedim > > clone () override
 

Detailed Description

template<int dim, int spacedim, typename T>
class internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >

A simple implementation of the interface Policy. It simply delegates the task to the functions with the same name provided by class specified by the template argument T.

Definition at line 1596 of file tria.cc.

Member Function Documentation

◆ update_neighbors()

template<int dim, int spacedim, typename T >
void internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::update_neighbors ( Triangulation< dim, spacedim > &  tria)
inlineoverridevirtual

Update neighbors.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1600 of file tria.cc.

◆ delete_children()

template<int dim, int spacedim, typename T >
void internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::delete_children ( Triangulation< dim, spacedim > &  triangulation,
typename Triangulation< dim, spacedim >::cell_iterator &  cell,
std::vector< unsigned int > &  line_cell_count,
std::vector< unsigned int > &  quad_cell_count 
)
inlineoverridevirtual

Delete children of given cell.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1606 of file tria.cc.

◆ execute_refinement()

template<int dim, int spacedim, typename T >
Triangulation< dim, spacedim >::DistortedCellList internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::execute_refinement ( Triangulation< dim, spacedim > &  triangulation,
const bool  check_for_distorted_cells 
)
inlineoverridevirtual

Execute refinement.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1616 of file tria.cc.

◆ prevent_distorted_boundary_cells()

template<int dim, int spacedim, typename T >
void internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::prevent_distorted_boundary_cells ( Triangulation< dim, spacedim > &  triangulation)
inlineoverridevirtual

Prevent distorted boundary cells.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1623 of file tria.cc.

◆ prepare_refinement_dim_dependent()

template<int dim, int spacedim, typename T >
void internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::prepare_refinement_dim_dependent ( Triangulation< dim, spacedim > &  triangulation)
inlineoverridevirtual

Prepare refinement.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1630 of file tria.cc.

◆ coarsening_allowed()

template<int dim, int spacedim, typename T >
bool internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::coarsening_allowed ( const typename Triangulation< dim, spacedim >::cell_iterator &  cell)
inlineoverridevirtual

Check if coarsening is allowed for the given cell.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1637 of file tria.cc.

◆ clone()

template<int dim, int spacedim, typename T >
std::unique_ptr< Policy< dim, spacedim > > internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >::clone ( )
inlineoverridevirtual

A sort of virtual copy constructor, this function returns a copy of the policy object. Derived classes need to override the function here in this base class and return an object of the same type as the derived class.

Implements internal::TriangulationImplementation::Policy< dim, spacedim >.

Definition at line 1645 of file tria.cc.


The documentation for this class was generated from the following file: