Reference documentation for deal.II version 9.5.0
\(\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 | Private Attributes | List of all members
NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType > Class Template Reference
Inheritance diagram for NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >:
[legend]

Public Member Functions

 DiscreteLevelSetDescription (const DoFHandler< dim > &dof_handler, const VectorType &level_set)
 
const hp::FECollection< dim > & get_fe_collection () const override
 
unsigned int active_fe_index (const typename Triangulation< dim >::active_cell_iterator &cell) const override
 
void get_local_level_set_values (const typename Triangulation< dim >::active_cell_iterator &cell, const unsigned int face_index, Vector< double > &local_levelset_values) override
 

Private Attributes

const SmartPointer< const DoFHandler< dim > > dof_handler
 
const SmartPointer< const VectorType > level_set
 

Detailed Description

template<int dim, class VectorType>
class NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >

The concrete LevelSetDescription used when the level set function is described as a (DoFHandler, Vector)-pair.

Definition at line 87 of file mesh_classifier.cc.

Constructor & Destructor Documentation

◆ DiscreteLevelSetDescription()

template<int dim, class VectorType >
NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >::DiscreteLevelSetDescription ( const DoFHandler< dim > &  dof_handler,
const VectorType &  level_set 
)

Constructor.

Definition at line 136 of file mesh_classifier.cc.

Member Function Documentation

◆ get_fe_collection()

template<int dim, class VectorType >
const hp::FECollection< dim > & NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >::get_fe_collection
overridevirtual

Return the FECollection of the DoFHandler passed to the constructor.

Implements NonMatching::internal::MeshClassifierImplementation::LevelSetDescription< dim >.

Definition at line 147 of file mesh_classifier.cc.

◆ active_fe_index()

template<int dim, class VectorType >
unsigned int NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >::active_fe_index ( const typename Triangulation< dim >::active_cell_iterator &  cell) const
overridevirtual

Return the active FE index of the DoFCellAccessor associated with the DoFHandler and the incoming cell in the triangulation.

Implements NonMatching::internal::MeshClassifierImplementation::LevelSetDescription< dim >.

Definition at line 184 of file mesh_classifier.cc.

◆ get_local_level_set_values()

template<int dim, class VectorType >
void NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >::get_local_level_set_values ( const typename Triangulation< dim >::active_cell_iterator &  cell,
const unsigned int  face_index,
Vector< double > &  local_levelset_values 
)
overridevirtual

Writes the local face dofs of the global level set vector to local_levelset_values.

Implements NonMatching::internal::MeshClassifierImplementation::LevelSetDescription< dim >.

Definition at line 156 of file mesh_classifier.cc.

Member Data Documentation

◆ dof_handler

template<int dim, class VectorType >
const SmartPointer<const DoFHandler<dim> > NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >::dof_handler
private

Pointer to the DoFHandler associated with the level set function.

Definition at line 124 of file mesh_classifier.cc.

◆ level_set

template<int dim, class VectorType >
const SmartPointer<const VectorType> NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >::level_set
private

Pointer to the vector containing the level set function's global dof values.

Definition at line 130 of file mesh_classifier.cc.


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