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 | Private Member Functions | Private Attributes | List of all members
NonMatching::MappingInfo< dim, spacedim > Class Template Reference

#include <deal.II/non_matching/mapping_info.h>

Inheritance diagram for NonMatching::MappingInfo< dim, spacedim >:
[legend]

Public Member Functions

 MappingInfo (const Mapping< dim > &mapping, const UpdateFlags update_flags)
 
void reinit (const typename Triangulation< dim, spacedim >::cell_iterator &cell, const ArrayView< const Point< dim > > &unit_points)
 
const std::vector< Point< dim > > & get_unit_points () const
 
const ::internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > & get_mapping_data () const
 
const Mapping< dim, spacedim > & get_mapping () const
 
UpdateFlags get_update_flags () const
 

Private Member Functions

void compute_mapping_data_for_generic_points (const typename Triangulation< dim, spacedim >::cell_iterator &cell, const ArrayView< const Point< dim > > &unit_points)
 

Private Attributes

std::vector< Point< dim > > unit_points
 
const SmartPointer< const Mapping< dim, spacedim > > mapping
 
const UpdateFlags update_flags
 
UpdateFlags update_flags_mapping
 
::internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > mapping_data
 

Subscriptor functionality

Classes derived from Subscriptor provide a facility to subscribe to this object. This is mostly used by the SmartPointer class.

std::atomic< unsigned intcounter
 
std::map< std::string, unsigned intcounter_map
 
std::vector< std::atomic< bool > * > validity_pointers
 
const std::type_info * object_info
 
void subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
void unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
unsigned int n_subscriptions () const
 
template<typename StreamType >
void list_subscribers (StreamType &stream) const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
void check_no_subscribers () const noexcept
 
using map_value_type = decltype(counter_map)::value_type
 
using map_iterator = decltype(counter_map)::iterator
 
static std::mutex mutex
 
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 

Detailed Description

template<int dim, int spacedim = dim>
class NonMatching::MappingInfo< dim, spacedim >

This class provides the mapping information computation and mapping data storage to be used together with FEPointEvaluation.

Definition at line 44 of file mapping_info.h.

Constructor & Destructor Documentation

◆ MappingInfo()

template<int dim, int spacedim>
NonMatching::MappingInfo< dim, spacedim >::MappingInfo ( const Mapping< dim > &  mapping,
const UpdateFlags  update_flags 
)

Constructor.

Parameters
mappingThe Mapping class describing the geometry of a cell.
update_flagsSpecify the quantities to be computed by the mapping during the call of reinit(). These update flags are also handed to a FEEvaluation object if you construct it with this MappingInfo object.

Definition at line 136 of file mapping_info.h.

Member Function Documentation

◆ reinit()

template<int dim, int spacedim>
void NonMatching::MappingInfo< dim, spacedim >::reinit ( const typename Triangulation< dim, spacedim >::cell_iterator &  cell,
const ArrayView< const Point< dim > > &  unit_points 
)

Reinitialize the mapping information for the incoming cell and unit points.

Definition at line 157 of file mapping_info.h.

◆ get_unit_points()

template<int dim, int spacedim>
const std::vector< Point< dim > > & NonMatching::MappingInfo< dim, spacedim >::get_unit_points

Getter function for current unit points.

Definition at line 170 of file mapping_info.h.

◆ get_mapping_data()

template<int dim, int spacedim>
const ::internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > & NonMatching::MappingInfo< dim, spacedim >::get_mapping_data

Getter function for computed mapping data. This function accesses internal data and is therefore not a stable interface.

Definition at line 180 of file mapping_info.h.

◆ get_mapping()

template<int dim, int spacedim>
const Mapping< dim, spacedim > & NonMatching::MappingInfo< dim, spacedim >::get_mapping

Getter function for underlying mapping.

Definition at line 189 of file mapping_info.h.

◆ get_update_flags()

template<int dim, int spacedim>
UpdateFlags NonMatching::MappingInfo< dim, spacedim >::get_update_flags

Getter function for the update flags.

Definition at line 198 of file mapping_info.h.

◆ compute_mapping_data_for_generic_points()

template<int dim, int spacedim>
void NonMatching::MappingInfo< dim, spacedim >::compute_mapping_data_for_generic_points ( const typename Triangulation< dim, spacedim >::cell_iterator &  cell,
const ArrayView< const Point< dim > > &  unit_points 
)
private

Compute the mapping related data for the given mapping, cell and unit_points that is required by the FEPointEvaluation class.

Definition at line 207 of file mapping_info.h.

Member Data Documentation

◆ unit_points

template<int dim, int spacedim = dim>
std::vector<Point<dim> > NonMatching::MappingInfo< dim, spacedim >::unit_points
private

The reference points specified at reinit().

Definition at line 107 of file mapping_info.h.

◆ mapping

template<int dim, int spacedim = dim>
const SmartPointer<const Mapping<dim, spacedim> > NonMatching::MappingInfo< dim, spacedim >::mapping
private

A pointer to the underlying mapping.

Definition at line 112 of file mapping_info.h.

◆ update_flags

template<int dim, int spacedim = dim>
const UpdateFlags NonMatching::MappingInfo< dim, spacedim >::update_flags
private

The desired update flags for the evaluation.

Definition at line 117 of file mapping_info.h.

◆ update_flags_mapping

template<int dim, int spacedim = dim>
UpdateFlags NonMatching::MappingInfo< dim, spacedim >::update_flags_mapping
private

The update flags for the desired mapping information.

Definition at line 122 of file mapping_info.h.

◆ mapping_data

template<int dim, int spacedim = dim>
::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> NonMatching::MappingInfo< dim, spacedim >::mapping_data
private

The internal data container for mapping information. The implementation is subject to future changes.

Definition at line 129 of file mapping_info.h.


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