Reference documentation for deal.II version GIT relicensing-426-g7976cfd195 2024-04-18 21:10: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
Inheritance diagram for NonMatching::internal::MeshClassifierImplementation::AnalyticLevelSetDescription< dim >:
Inheritance graph
[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
 

Private Attributes

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

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 193 of file mesh_classifier.cc.

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 250 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 285 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 294 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 265 of file mesh_classifier.cc.

Member Data Documentation

◆ level_set

Pointer to the level set function.

Definition at line 232 of file mesh_classifier.cc.

◆ fe_collection

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

Definition at line 238 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 244 of file mesh_classifier.cc.


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