Reference documentation for deal.II version 9.4.1
\(\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\}}\)
Loading...
Searching...
No Matches
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.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 VectorType >
void get_interpolated_dof_values (const VectorType &in, Vector< typename VectorType::value_type > &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 3812 of file fe_values.h.

Constructor & Destructor Documentation

◆ CellIteratorContainer() [1/3]

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

Constructor.

Definition at line 2596 of file fe_values.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 2606 of file fe_values.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 2618 of file fe_values.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 2626 of file fe_values.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 2638 of file fe_values.cc.

◆ get_interpolated_dof_values() [1/2]

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

Call get_interpolated_dof_values of the iterator with the given arguments.

Definition at line 2652 of file fe_values.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 2677 of file fe_values.cc.

Member Data Documentation

◆ initialized

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

Definition at line 3883 of file fe_values.h.

◆ cell

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

Definition at line 3884 of file fe_values.h.

◆ dof_handler

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

Definition at line 3885 of file fe_values.h.

◆ level_dof_access

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

Definition at line 3886 of file fe_values.h.


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