Reference documentation for deal.II version GIT relicensing-37-gdcd04c9418 2024-03-02 19:00: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\}}\)
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 >:
Inheritance graph
[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, typename 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 86 of file mesh_classifier.cc.

Constructor & Destructor Documentation

◆ DiscreteLevelSetDescription()

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

Constructor.

Definition at line 135 of file mesh_classifier.cc.

Member Function Documentation

◆ get_fe_collection()

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

Return the FECollection of the DoFHandler passed to the constructor.

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

Definition at line 146 of file mesh_classifier.cc.

◆ active_fe_index()

template<int dim, typename 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 179 of file mesh_classifier.cc.

◆ get_local_level_set_values()

template<int dim, typename 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 155 of file mesh_classifier.cc.

Member Data Documentation

◆ dof_handler

template<int dim, typename 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 123 of file mesh_classifier.cc.

◆ level_set

template<int dim, typename 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 129 of file mesh_classifier.cc.


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