Reference documentation for deal.II version Git 7f58f27 2017-09-20 15:35:49 -0600
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:

Public Member Functions

virtual ~DistortedCellList () noexcept
- Public Member Functions inherited from ExceptionBase
 ExceptionBase ()
 ExceptionBase (const ExceptionBase &exc)
virtual ~ExceptionBase () noexcept
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
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 1557 of file tria.h.

Constructor & Destructor Documentation

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

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.

Definition at line 13543 of file

Member Data Documentation

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 1572 of file tria.h.

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