Reference documentation for deal.II version GIT 0582167846 2023-09-24 21:20:02+00:00
\(\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\}}\)
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
FEValuesBase< dim, spacedim >::CellIteratorContainer Class Reference

#include <deal.II/fe/fe_values_base.h>

Public Member Functions

 CellIteratorContainer ()
 
template<bool lda>
 CellIteratorContainer (const TriaIterator< DoFCellAccessor< dim, spacedim, lda >> &cell)
 
 CellIteratorContainer (const typename Triangulation< dim, spacedim >::cell_iterator &cell)
 
bool is_initialized () const
 
 operator typename Triangulation< dim, spacedim >::cell_iterator () const
 
types::global_dof_index n_dofs_for_dof_handler () const
 
template<typename Number >
void get_interpolated_dof_values (const ReadVector< Number > &in, Vector< Number > &out) const
 
void get_interpolated_dof_values (const IndexSet &in, Vector< IndexSet::value_type > &out) const
 

Static Public Member Functions

static ::ExceptionBaseExcNeedsDoFHandler ()
 

Private Attributes

bool initialized
 
Triangulation< dim, spacedim >::cell_iterator cell
 
const DoFHandler< dim, spacedim > * dof_handler
 
bool level_dof_access
 

Detailed Description

template<int dim, int spacedim>
class FEValuesBase< dim, spacedim >::CellIteratorContainer

Objects of the FEValues class need to store an iterator to the present cell in order to be able to extract the values of the degrees of freedom on this cell in the get_function_values() and assorted functions.

Definition at line 1560 of file fe_values_base.h.

Constructor & Destructor Documentation

◆ CellIteratorContainer() [1/3]

template<int dim, int spacedim>
FEValuesBase< dim, spacedim >::CellIteratorContainer::CellIteratorContainer

Constructor.

Definition at line 111 of file fe_values_base.cc.

◆ CellIteratorContainer() [2/3]

template<int dim, int spacedim>
template<bool lda>
FEValuesBase< dim, spacedim >::CellIteratorContainer::CellIteratorContainer ( const TriaIterator< DoFCellAccessor< dim, spacedim, lda >> &  cell)

Constructor.

◆ CellIteratorContainer() [3/3]

template<int dim, int spacedim>
FEValuesBase< dim, spacedim >::CellIteratorContainer::CellIteratorContainer ( const typename Triangulation< dim, spacedim >::cell_iterator &  cell)

Constructor.

Definition at line 121 of file fe_values_base.cc.

Member Function Documentation

◆ is_initialized()

template<int dim, int spacedim>
bool FEValuesBase< dim, spacedim >::CellIteratorContainer::is_initialized

Indicate whether FEValues::reinit() was called.

Definition at line 133 of file fe_values_base.cc.

◆ operator typename Triangulation< dim, spacedim >::cell_iterator()

template<int dim, int spacedim>
FEValuesBase< dim, spacedim >::CellIteratorContainer::operator typename Triangulation< dim, spacedim >::cell_iterator

Conversion operator to an iterator for triangulations. This conversion is implicit for the original iterators, since they are derived classes. However, since here we have kind of a parallel class hierarchy, we have to have a conversion operator.

Definition at line 141 of file fe_values_base.cc.

◆ n_dofs_for_dof_handler()

template<int dim, int spacedim>
types::global_dof_index FEValuesBase< dim, spacedim >::CellIteratorContainer::n_dofs_for_dof_handler

Return the number of degrees of freedom the DoF handler object has to which the iterator belongs to.

Definition at line 153 of file fe_values_base.cc.

◆ get_interpolated_dof_values() [1/2]

template<int dim, int spacedim>
template<typename Number >
void FEValuesBase< dim, spacedim >::CellIteratorContainer::get_interpolated_dof_values ( const ReadVector< Number > &  in,
Vector< Number > &  out 
) const

Call get_interpolated_dof_values of the iterator with the given arguments.

Definition at line 167 of file fe_values_base.cc.

◆ get_interpolated_dof_values() [2/2]

template<int dim, int spacedim>
void FEValuesBase< dim, spacedim >::CellIteratorContainer::get_interpolated_dof_values ( const IndexSet in,
Vector< IndexSet::value_type > &  out 
) const

Call get_interpolated_dof_values of the iterator with the given arguments.

Definition at line 192 of file fe_values_base.cc.

Member Data Documentation

◆ initialized

template<int dim, int spacedim>
bool FEValuesBase< dim, spacedim >::CellIteratorContainer::initialized
private

Definition at line 1630 of file fe_values_base.h.

◆ cell

template<int dim, int spacedim>
Triangulation<dim, spacedim>::cell_iterator FEValuesBase< dim, spacedim >::CellIteratorContainer::cell
private

Definition at line 1631 of file fe_values_base.h.

◆ dof_handler

template<int dim, int spacedim>
const DoFHandler<dim, spacedim>* FEValuesBase< dim, spacedim >::CellIteratorContainer::dof_handler
private

Definition at line 1632 of file fe_values_base.h.

◆ level_dof_access

template<int dim, int spacedim>
bool FEValuesBase< dim, spacedim >::CellIteratorContainer::level_dof_access
private

Definition at line 1633 of file fe_values_base.h.


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