Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | Public Attributes | List of all members
Triangulation< dim, spacedim >::DistortedCellList Struct Reference

#include <deal.II/grid/tria.h>

Inheritance diagram for Triangulation< dim, spacedim >::DistortedCellList:
[legend]

Public Member Functions

virtual ~DistortedCellList () noexcept override=default
 
- Public Member Functions inherited from ExceptionBase
 ExceptionBase ()
 
 ExceptionBase (const ExceptionBase &exc)
 
virtual ~ExceptionBase () noexcept override
 
ExceptionBase operator= (const ExceptionBase &)=delete
 
void set_fields (const char *file, const int line, const char *function, const char *cond, const char *exc_name)
 
virtual const char * what () const noexcept override
 
const char * get_exc_name () const
 
void print_exc_data (std::ostream &out) const
 
virtual void print_info (std::ostream &out) const
 
void print_stack_trace (std::ostream &out) const
 

Public Attributes

std::list< typename Triangulation< dim, spacedim >::cell_iteratordistorted_cells
 

Additional Inherited Members

- Protected Attributes inherited from ExceptionBase
const char * file
 
unsigned int line
 
const char * function
 
const char * cond
 
const char * exc
 
char ** stacktrace
 
int n_stacktrace_frames
 
void * raw_stacktrace [25]
 

Detailed Description

template<int dim, int spacedim = dim>
struct Triangulation< dim, spacedim >::DistortedCellList

A structure that is used as an exception object by the create_triangulation() function to indicate which cells among the coarse mesh cells are inverted or severely distorted (see the entry on distorted cells in the glossary).

Objects of this kind are thrown by the create_triangulation() and execute_coarsening_and_refinement() functions, and they can be caught in user code if this condition is to be ignored. Note, however, that such exceptions are only produced if the necessity for this check was indicated when calling the constructor of the Triangulation class.

A cell is called deformed if the determinant of the Jacobian of the mapping from reference cell to real cell is negative at least at one vertex. This computation is done using the GeometryInfo::jacobian_determinants_at_vertices function.

Definition at line 1671 of file tria.h.

Constructor & Destructor Documentation

◆ ~DistortedCellList()

template<int dim, int spacedim = dim>
virtual Triangulation< dim, spacedim >::DistortedCellList::~DistortedCellList ( )
overridevirtualdefaultnoexcept

Destructor. Empty, but needed for the sake of exception specification, since the base class has this exception specification and the automatically generated destructor would have a different one due to member objects.

Member Data Documentation

◆ distorted_cells

template<int dim, int spacedim = dim>
std::list<typename Triangulation<dim, spacedim>::cell_iterator> Triangulation< dim, spacedim >::DistortedCellList::distorted_cells

A list of those cells among the coarse mesh cells that are deformed or whose children are deformed.

Definition at line 1686 of file tria.h.


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