Reference documentation for deal.II version GIT 1f418c7800 2022-06-28 06:15: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\}}\)
Public Member Functions | List of all members
RepartitioningPolicyTools::Base< dim, spacedim > Class Template Referenceabstract

#include <deal.II/distributed/repartitioning_policy_tools.h>

Inheritance diagram for RepartitioningPolicyTools::Base< dim, spacedim >:

Public Member Functions

virtual LinearAlgebra::distributed::Vector< doublepartition (const Triangulation< dim, spacedim > &tria_coarse_in) const =0
virtual ~Base ()=default

Subscriptor functionality

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

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)
using map_value_type = decltype(counter_map)::value_type
using map_iterator = decltype(counter_map)::iterator
std::atomic< unsigned int > counter
std::map< std::string, unsigned int > counter_map
std::vector< std::atomic< bool > * > validity_pointers
const std::type_info * object_info
static std::mutex mutex
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
void check_no_subscribers () const noexcept

Detailed Description

template<int dim, int spacedim = dim>
class RepartitioningPolicyTools::Base< dim, spacedim >

The base class for repartitioning policies.

Used in MGTransferGlobalCoarseningTools::create_geometric_coarsening_sequence(). See the description of RepartitioningPolicyTools for more information.

Definition at line 49 of file repartitioning_policy_tools.h.

Constructor & Destructor Documentation

◆ ~Base()

template<int dim, int spacedim = dim>
virtual RepartitioningPolicyTools::Base< dim, spacedim >::~Base ( )


Member Function Documentation

◆ partition()

template<int dim, int spacedim = dim>
virtual LinearAlgebra::distributed::Vector<double> RepartitioningPolicyTools::Base< dim, spacedim >::partition ( const Triangulation< dim, spacedim > &  tria_coarse_in) const
pure virtual

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