Reference documentation for deal.II version Git 497f915867 2021-09-17 22:46:48 +0200
\(\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\}}\)
Functions
mapping.cc File Reference
#include <deal.II/boost_adaptors/bounding_box.h>
#include <deal.II/fe/mapping.h>
#include <deal.II/grid/tria.h>
#include <boost/geometry.hpp>
#include "mapping.inst"

Go to the source code of this file.

Functions

template<int dim, int spacedim>
const Mapping< dim, spacedim > & get_default_linear_mapping (const Triangulation< dim, spacedim > &triangulation)
 

Function Documentation

◆ get_default_linear_mapping()

template<int dim, int spacedim>
const Mapping<dim, spacedim>& get_default_linear_mapping ( const Triangulation< dim, spacedim > &  triangulation)

Return a default linear mapping that works for the given triangulation. Internally, this function calls the function above for the reference cell used by the given triangulation, assuming that the triangulation uses only a single cell type. If the triangulation uses mixed cell types, then this function will trigger an exception.

Definition at line 240 of file mapping.cc.