Reference documentation for deal.II version 9.4.1
\(\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::Policy< dim, spacedim > Class Template Referenceabstract
Inheritance diagram for internal::TriangulationImplementation::Policy< dim, spacedim >:
[legend]

Public Member Functions

virtual ~Policy ()=default
 
virtual void update_neighbors (Triangulation< dim, spacedim > &tria)=0
 
virtual void 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)=0
 
virtual Triangulation< dim, spacedim >::DistortedCellList execute_refinement (Triangulation< dim, spacedim > &triangulation, const bool check_for_distorted_cells)=0
 
virtual void prevent_distorted_boundary_cells (Triangulation< dim, spacedim > &triangulation)=0
 
virtual void prepare_refinement_dim_dependent (Triangulation< dim, spacedim > &triangulation)=0
 
virtual bool coarsening_allowed (const typename Triangulation< dim, spacedim >::cell_iterator &cell)=0
 
virtual std::unique_ptr< Policy< dim, spacedim > > clone ()=0
 

Detailed Description

template<int dim, int spacedim>
class internal::TriangulationImplementation::Policy< dim, spacedim >

An interface for algorithms that implement Triangulation-specific tasks related to creation, refinement, and coarsening.

Definition at line 1586 of file tria.cc.

Constructor & Destructor Documentation

◆ ~Policy()

template<int dim, int spacedim>
virtual internal::TriangulationImplementation::Policy< dim, spacedim >::~Policy ( )
virtualdefault

Destructor.

Member Function Documentation

◆ update_neighbors()

template<int dim, int spacedim>
virtual void internal::TriangulationImplementation::Policy< dim, spacedim >::update_neighbors ( Triangulation< dim, spacedim > &  tria)
pure virtual

◆ delete_children()

template<int dim, int spacedim>
virtual void internal::TriangulationImplementation::Policy< dim, spacedim >::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 
)
pure virtual

Delete children of given cell.

Implemented in internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >.

◆ execute_refinement()

template<int dim, int spacedim>
virtual Triangulation< dim, spacedim >::DistortedCellList internal::TriangulationImplementation::Policy< dim, spacedim >::execute_refinement ( Triangulation< dim, spacedim > &  triangulation,
const bool  check_for_distorted_cells 
)
pure virtual

◆ prevent_distorted_boundary_cells()

template<int dim, int spacedim>
virtual void internal::TriangulationImplementation::Policy< dim, spacedim >::prevent_distorted_boundary_cells ( Triangulation< dim, spacedim > &  triangulation)
pure virtual

Prevent distorted boundary cells.

Implemented in internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >.

◆ prepare_refinement_dim_dependent()

template<int dim, int spacedim>
virtual void internal::TriangulationImplementation::Policy< dim, spacedim >::prepare_refinement_dim_dependent ( Triangulation< dim, spacedim > &  triangulation)
pure virtual

◆ coarsening_allowed()

template<int dim, int spacedim>
virtual bool internal::TriangulationImplementation::Policy< dim, spacedim >::coarsening_allowed ( const typename Triangulation< dim, spacedim >::cell_iterator &  cell)
pure virtual

Check if coarsening is allowed for the given cell.

Implemented in internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >.

◆ clone()

template<int dim, int spacedim>
virtual std::unique_ptr< Policy< dim, spacedim > > internal::TriangulationImplementation::Policy< dim, spacedim >::clone ( )
pure virtual

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.

Implemented in internal::TriangulationImplementation::PolicyWrapper< dim, spacedim, T >.


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