deal.II version GIT relicensing-7058-gb35ee29762 2026-11-11 09:30:01+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::AnalyticLevelSetDescription< dim > Class Template Reference

Detailed Description

template<int dim>
class NonMatching::internal::MeshClassifierImplementation::AnalyticLevelSetDescription< dim >

The concrete LevelSetDescription used when the level set function is described by a Function.

Definition at line 291 of file mesh_classifier.cc.

Inheritance diagram for NonMatching::internal::MeshClassifierImplementation::AnalyticLevelSetDescription< dim >:
[legend]

Public Member Functions

 AnalyticLevelSetDescription (const Function< dim > &level_set, const FiniteElement< dim > &element)
 
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
 
virtual void check_consistency () const
 

Private Attributes

const ObserverPointer< const Function< dim > > level_set
 
const hp::FECollection< dim > fe_collection
 
FEFaceValues< dim > fe_face_values
 

Constructor & Destructor Documentation

◆ AnalyticLevelSetDescription()

template<int dim>
NonMatching::internal::MeshClassifierImplementation::AnalyticLevelSetDescription< dim >::AnalyticLevelSetDescription ( const Function< dim > &  level_set,
const FiniteElement< dim > &  element 
)

Constructor. Takes the Function that describes the geometry and the element that this function should be interpolated to.

Definition at line 348 of file mesh_classifier.cc.

Member Function Documentation

◆ get_fe_collection()

template<int dim>
const hp::FECollection< dim > & NonMatching::internal::MeshClassifierImplementation::AnalyticLevelSetDescription< dim >::get_fe_collection ( ) const
overridevirtual

Returns the finite element passed to the constructor wrapped in a collection.

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

Definition at line 383 of file mesh_classifier.cc.

◆ active_fe_index()

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

Returns 0, since there is always a single element in the FECollection.

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

Definition at line 392 of file mesh_classifier.cc.

◆ get_local_level_set_values()

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

Return the level set function evaluated at the real space face support points of the finite element passed to the constructor.

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

Definition at line 363 of file mesh_classifier.cc.

◆ check_consistency()

template<int dim>
virtual void NonMatching::internal::MeshClassifierImplementation::LevelSetDescription< dim >::check_consistency ( ) const
inlinevirtualinherited

Check that the level set is consistent with the current state of the mesh, e.g., that all entries of the level set vector needed on locally relevant cells are accessible. Called at the beginning of MeshClassifier::reclassify(). The default implementation does nothing.

Reimplemented in NonMatching::internal::MeshClassifierImplementation::DiscreteLevelSetDescription< dim, VectorType >.

Definition at line 330 of file mesh_classifier.h.

Member Data Documentation

◆ level_set

Pointer to the level set function.

Definition at line 330 of file mesh_classifier.cc.

◆ fe_collection

Collection containing the single element which we locally interpolate the level set function to.

Definition at line 336 of file mesh_classifier.cc.

◆ fe_face_values

FEFaceValues object used to transform the support points on a face to real space.

Definition at line 342 of file mesh_classifier.cc.


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