Reference documentation for deal.II version 9.2.0
|
#include <deal.II/fe/fe.h>
Public Member Functions | |
FEValues (const Mapping< dim, spacedim > &mapping, const FiniteElement< dim, spacedim > &fe, const Quadrature< dim > &quadrature, const UpdateFlags update_flags) | |
FEValues (const FiniteElement< dim, spacedim > &fe, const Quadrature< dim > &quadrature, const UpdateFlags update_flags) | |
template<template< int, int > class DoFHandlerType, bool level_dof_access> | |
void | reinit (const TriaIterator< DoFCellAccessor< DoFHandlerType< dim, spacedim >, level_dof_access >> &cell) |
void | reinit (const typename Triangulation< dim, spacedim >::cell_iterator &cell) |
const Quadrature< dim > & | get_quadrature () const |
std::size_t | memory_consumption () const |
const FEValues< dim, spacedim > & | get_present_fe_values () const |
template<template< int, int > class DoFHandlerType, bool lda> | |
void | reinit (const TriaIterator< DoFCellAccessor< DoFHandlerType< dim, spacedim >, lda >> &cell) |
Static Public Attributes | |
static const unsigned int | integral_dimension = dim |
Private Member Functions | |
void | initialize (const UpdateFlags update_flags) |
void | do_reinit () |
Private Attributes | |
const Quadrature< dim > | quadrature |
Finite element evaluated in quadrature points of a cell.
This function implements the initialization routines for FEValuesBase, if values in quadrature points of a cell are needed. For further documentation see this class.
FEValues< dim, spacedim >::FEValues | ( | const Mapping< dim, spacedim > & | mapping, |
const FiniteElement< dim, spacedim > & | fe, | ||
const Quadrature< dim > & | quadrature, | ||
const UpdateFlags | update_flags | ||
) |
Constructor. Gets cell independent data from mapping and finite element objects, matching the quadrature rule and update flags.
Definition at line 4390 of file fe_values.cc.
FEValues< dim, spacedim >::FEValues | ( | const FiniteElement< dim, spacedim > & | fe, |
const Quadrature< dim > & | quadrature, | ||
const UpdateFlags | update_flags | ||
) |
Constructor. This constructor is equivalent to the other one except that it makes the object use a \(Q_1\) mapping (i.e., an object of type MappingQGeneric(1)) implicitly.
Definition at line 4407 of file fe_values.cc.
void FEValues< dim, spacedim >::reinit | ( | const TriaIterator< DoFCellAccessor< DoFHandlerType< dim, spacedim >, level_dof_access >> & | cell | ) |
Reinitialize the gradients, Jacobi determinants, etc for the given cell of type "iterator into a DoFHandler object", and the finite element associated with this object. It is assumed that the finite element used by the given cell is also the one used by this FEValues object.
void FEValues< dim, spacedim >::reinit | ( | const typename Triangulation< dim, spacedim >::cell_iterator & | cell | ) |
Reinitialize the gradients, Jacobi determinants, etc for the given cell of type "iterator into a Triangulation object", and the given finite element. Since iterators into triangulation alone only convey information about the geometry of a cell, but not about degrees of freedom possibly associated with this cell, you will not be able to call some functions of this class if they need information about degrees of freedom. These functions are, above all, the get_function_value/gradients/hessians/laplacians/third_derivatives
functions. If you want to call these functions, you have to call the reinit
variants that take iterators into DoFHandler or other DoF handler type objects.
Definition at line 4510 of file fe_values.cc.
const Quadrature<dim>& FEValues< dim, spacedim >::get_quadrature | ( | ) | const |
Return a reference to the copy of the quadrature formula stored by this object.
std::size_t FEValues< dim, spacedim >::memory_consumption |
Determine an estimate for the memory consumption (in bytes) of this object.
Definition at line 4594 of file fe_values.cc.
const FEValues<dim, spacedim>& FEValues< dim, spacedim >::get_present_fe_values | ( | ) | const |
Return a reference to this very object.
Though it seems that it is not very useful, this function is there to provide capability to the hp::FEValues class, in which case it provides the FEValues object for the present cell (remember that for hp finite elements, the actual FE object used may change from cell to cell, so we also need different FEValues objects for different cells; once you reinitialize the hp::FEValues object for a specific cell, it retrieves the FEValues object for the FE on that cell and returns it through a function of the same name as this one; this function here therefore only provides the same interface so that one can templatize on FEValues and hp::FEValues).
|
private |
Do work common to the two constructors.
Definition at line 4424 of file fe_values.cc.
|
private |
The reinit() functions do only that part of the work that requires knowledge of the type of iterator. After setting present_cell(), they pass on to this function, which does the real work, and which is independent of the actual type of the cell iterator.
Definition at line 4560 of file fe_values.cc.
void FEValues< dim, spacedim >::reinit | ( | const TriaIterator< DoFCellAccessor< DoFHandlerType< dim, spacedim >, lda >> & | cell | ) |
Definition at line 4533 of file fe_values.cc.
|
static |
Dimension of the object over which we integrate. For the present class, this is equal to dim
.
Definition at line 3623 of file fe_values.h.
|
private |
Store a copy of the quadrature formula here.
Definition at line 3705 of file fe_values.h.