ug4
ug::DoFDistributionInfoProvider Class Reference

#include <dof_distribution_info.h>

+ Inheritance diagram for ug::DoFDistributionInfoProvider:

Public Member Functions

SubsetGroup all_subsets_grp_except_for (const char *names) const
 returns subset group of all the subsets except for (by name) More...
 
int dim (size_t fct) const
 returns the dimension in which solution lives More...
 
int dim_subset (int si) const
 returns dimension of subset More...
 
ConstSmartPtr< DoFDistributionInfodof_distribution_info () const
 returns underlying info More...
 
 DoFDistributionInfoProvider ()
 constructor More...
 
 DoFDistributionInfoProvider (ConstSmartPtr< DoFDistributionInfo > spDDI)
 constructor More...
 
FunctionGroup fct_grp_by_name (const char *names) const
 returns a function group to a string of functions More...
 
size_t fct_id_by_name (const char *name) const
 returns fct id by name More...
 
ConstSmartPtr< FunctionPatternfunction_pattern () const
 returns the function pattern More...
 
bool is_def_everywhere (size_t fct) const
 returns true if the discrete function nr_fct is defined everywhere More...
 
bool is_def_in_subset (size_t fct, int si) const
 returns if a function is defined on a subset More...
 
size_t max_dofs (const GridBaseObjectId gbo) const
 returns the maximum number of dofs on a grid base object type More...
 
size_t max_dofs (const GridBaseObjectId gbo, const int si) const
 returns the maximum number of dofs on a grid base object on a subset More...
 
size_t max_dofs (const int dim) const
 returns the maximum number of dofs on grid objects in a dimension More...
 
size_t max_dofs (const int dim, const int si) const
 returns the maximum number of dofs in a dimension on a subset More...
 
size_t max_dofs (const ReferenceObjectID roid) const
 returns the maximum number of dofs on reference object type More...
 
size_t max_fct_dofs (const size_t fct, const GridBaseObjectId gbo) const
 returns the maximal number of dofs on a base object type for a function component More...
 
size_t max_fct_dofs (const size_t fct, const GridBaseObjectId gbo, const int si) const
 returns the maximum number of dofs on a grid base object on a subset for a function component More...
 
size_t max_fct_dofs (const size_t fct, const int dim, const int si) const
 returns the maximum number of dofs in a dimension on a subset for a function component More...
 
size_t max_fct_dofs (const size_t fct, const ReferenceObjectID roid) const
 returns the number of dofs on a reference object for a function component More...
 
size_t max_fct_dofs (const size_t fct, int dim) const
 returns the maximal number of dofs on a dimension for a function component More...
 
std::string name (size_t fct) const
 returns the name of the discrete function nr_fct More...
 
std::vector< std::string > names () const
 returns the names of the discrete functions More...
 
size_t num_dofs (const ReferenceObjectID roid, const int si) const
 returns the number of dofs on a Reference Object on a subset More...
 
size_t num_fct () const
 number of discrete functions on subset si More...
 
size_t num_fct (int si) const
 number of discrete functions on subset si More...
 
size_t num_fct_dofs (const size_t fct, const ReferenceObjectID roid, const int si) const
 returns the number of dofs on a Reference Object on a subset for a function component More...
 
int num_subsets () const
 returns number of subsets More...
 
size_t offset (const ReferenceObjectID roid, const int si, const size_t fct) const
 returns the offset for reference element, subset and function More...
 
void print_local_dof_statistic () const
 prints statistic on local dof distribution More...
 
void print_local_dof_statistic (int verboseLev) const
 prints informations More...
 
void set_dof_distribution_info (ConstSmartPtr< DoFDistributionInfo > spDDI)
 sets the dd info More...
 
SubsetGroup subset_grp_by_name (const char *names) const
 returns subset group by name More...
 
ConstSmartPtr< ISubsetHandlersubset_handler () const
 returns the subset handler More...
 
int subset_id_by_name (const char *name) const
 returns the subset id More...
 
std::string subset_name (int si) const
 returns subset name More...
 
const LFEIDlocal_finite_element_id (size_t fct) const
 
const LFEIDlfeid (size_t fct) const
 

Protected Attributes

ConstSmartPtr< DoFDistributionInfom_spDDI
 Function Pattern. More...
 

Constructor & Destructor Documentation

◆ DoFDistributionInfoProvider() [1/2]

ug::DoFDistributionInfoProvider::DoFDistributionInfoProvider ( ConstSmartPtr< DoFDistributionInfo spDDI)
inline

constructor

◆ DoFDistributionInfoProvider() [2/2]

ug::DoFDistributionInfoProvider::DoFDistributionInfoProvider ( )
inline

constructor

Member Function Documentation

◆ all_subsets_grp_except_for()

SubsetGroup ug::DoFDistributionInfoProvider::all_subsets_grp_except_for ( const char *  names) const

returns subset group of all the subsets except for (by name)

References m_spDDI, and names().

◆ dim()

◆ dim_subset()

int ug::DoFDistributionInfoProvider::dim_subset ( int  si) const
inline

returns dimension of subset

References m_spDDI.

◆ dof_distribution_info()

ConstSmartPtr<DoFDistributionInfo> ug::DoFDistributionInfoProvider::dof_distribution_info ( ) const
inline

returns underlying info

References m_spDDI.

Referenced by ug::DoFDistribution::dof_count().

◆ fct_grp_by_name()

FunctionGroup ug::DoFDistributionInfoProvider::fct_grp_by_name ( const char *  names) const

returns a function group to a string of functions

References m_spDDI, names(), and ug::TokenizeString().

◆ fct_id_by_name()

size_t ug::DoFDistributionInfoProvider::fct_id_by_name ( const char *  name) const
inline

◆ function_pattern()

ConstSmartPtr<FunctionPattern> ug::DoFDistributionInfoProvider::function_pattern ( ) const
inline

returns the function pattern

References m_spDDI.

Referenced by ug::Prolongate(), and ug::Restrict().

◆ is_def_everywhere()

bool ug::DoFDistributionInfoProvider::is_def_everywhere ( size_t  fct) const
inline

returns true if the discrete function nr_fct is defined everywhere

References m_spDDI.

Referenced by ug::GridPointsOrdering< TDomain, TAlgebra >::create_vtkoutput_ordering().

◆ is_def_in_subset()

◆ lfeid()

◆ local_finite_element_id()

const LFEID& ug::DoFDistributionInfoProvider::local_finite_element_id ( size_t  fct) const
inline

◆ max_dofs() [1/5]

size_t ug::DoFDistributionInfoProvider::max_dofs ( const GridBaseObjectId  gbo) const
inline

returns the maximum number of dofs on a grid base object type

References m_spDDI.

◆ max_dofs() [2/5]

size_t ug::DoFDistributionInfoProvider::max_dofs ( const GridBaseObjectId  gbo,
const int  si 
) const
inline

returns the maximum number of dofs on a grid base object on a subset

References m_spDDI.

◆ max_dofs() [3/5]

◆ max_dofs() [4/5]

size_t ug::DoFDistributionInfoProvider::max_dofs ( const int  dim,
const int  si 
) const
inline

returns the maximum number of dofs in a dimension on a subset

References dim(), and m_spDDI.

◆ max_dofs() [5/5]

size_t ug::DoFDistributionInfoProvider::max_dofs ( const ReferenceObjectID  roid) const
inline

returns the maximum number of dofs on reference object type

References m_spDDI.

◆ max_fct_dofs() [1/5]

size_t ug::DoFDistributionInfoProvider::max_fct_dofs ( const size_t  fct,
const GridBaseObjectId  gbo 
) const
inline

returns the maximal number of dofs on a base object type for a function component

References m_spDDI.

◆ max_fct_dofs() [2/5]

size_t ug::DoFDistributionInfoProvider::max_fct_dofs ( const size_t  fct,
const GridBaseObjectId  gbo,
const int  si 
) const
inline

returns the maximum number of dofs on a grid base object on a subset for a function component

References m_spDDI.

◆ max_fct_dofs() [3/5]

size_t ug::DoFDistributionInfoProvider::max_fct_dofs ( const size_t  fct,
const int  dim,
const int  si 
) const
inline

returns the maximum number of dofs in a dimension on a subset for a function component

References dim(), and m_spDDI.

◆ max_fct_dofs() [4/5]

size_t ug::DoFDistributionInfoProvider::max_fct_dofs ( const size_t  fct,
const ReferenceObjectID  roid 
) const
inline

returns the number of dofs on a reference object for a function component

References m_spDDI.

◆ max_fct_dofs() [5/5]

size_t ug::DoFDistributionInfoProvider::max_fct_dofs ( const size_t  fct,
int  dim 
) const
inline

returns the maximal number of dofs on a dimension for a function component

References dim(), and m_spDDI.

Referenced by ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), and ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction().

◆ name()

std::string ug::DoFDistributionInfoProvider::name ( size_t  fct) const
inline

returns the name of the discrete function nr_fct

References m_spDDI.

Referenced by fct_id_by_name(), and subset_id_by_name().

◆ names()

std::vector<std::string> ug::DoFDistributionInfoProvider::names ( ) const
inline

returns the names of the discrete functions

References m_spDDI.

Referenced by all_subsets_grp_except_for(), fct_grp_by_name(), and subset_grp_by_name().

◆ num_dofs()

◆ num_fct() [1/2]

◆ num_fct() [2/2]

size_t ug::DoFDistributionInfoProvider::num_fct ( int  si) const
inline

number of discrete functions on subset si

References m_spDDI.

◆ num_fct_dofs()

◆ num_subsets()

◆ offset()

◆ print_local_dof_statistic() [1/2]

void ug::DoFDistributionInfoProvider::print_local_dof_statistic ( ) const
inline

prints statistic on local dof distribution

References print_local_dof_statistic().

Referenced by print_local_dof_statistic().

◆ print_local_dof_statistic() [2/2]

void ug::DoFDistributionInfoProvider::print_local_dof_statistic ( int  verboseLev) const
inline

prints informations

References m_spDDI.

◆ set_dof_distribution_info()

void ug::DoFDistributionInfoProvider::set_dof_distribution_info ( ConstSmartPtr< DoFDistributionInfo spDDI)
inline

sets the dd info

References m_spDDI.

◆ subset_grp_by_name()

SubsetGroup ug::DoFDistributionInfoProvider::subset_grp_by_name ( const char *  names) const

returns subset group by name

References m_spDDI, and names().

◆ subset_handler()

ConstSmartPtr<ISubsetHandler> ug::DoFDistributionInfoProvider::subset_handler ( ) const
inline

returns the subset handler

References m_spDDI.

◆ subset_id_by_name()

int ug::DoFDistributionInfoProvider::subset_id_by_name ( const char *  name) const
inline

returns the subset id

References m_spDDI, and name().

◆ subset_name()

std::string ug::DoFDistributionInfoProvider::subset_name ( int  si) const
inline

returns subset name

References m_spDDI.

Member Data Documentation

◆ m_spDDI


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