ug4
|
#include <dof_distribution_info.h>
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< DoFDistributionInfo > | dof_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< FunctionPattern > | function_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< ISubsetHandler > | subset_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 LFEID & | local_finite_element_id (size_t fct) const |
const LFEID & | lfeid (size_t fct) const |
Protected Attributes | |
ConstSmartPtr< DoFDistributionInfo > | m_spDDI |
Function Pattern. More... | |
|
inline |
constructor
|
inline |
constructor
SubsetGroup ug::DoFDistributionInfoProvider::all_subsets_grp_except_for | ( | const char * | names | ) | const |
|
inline |
returns the dimension in which solution lives
References m_spDDI.
Referenced by ug::DoFDistribution::_algebra_indices(), ug::DoFDistribution::_dof_indices(), ug::DoFDistribution::_indices(), ug::DoFDistribution::get_connections(), max_dofs(), max_fct_dofs(), ug::DoFDistribution::reinit(), ug::DoFDistribution::sort_constrained_edges(), and ug::DoFDistribution::sort_constrained_faces().
|
inline |
returns dimension of subset
References m_spDDI.
|
inline |
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().
|
inline |
returns fct id by name
References m_spDDI, and name().
Referenced by ug::MarkForAdaption_AbsoluteGradientIndicator(), ug::MarkForAdaption_AbsoluteGradientJumpIndicator(), ug::MarkForAdaption_GradientIndicator(), ug::MarkForAdaption_GradientJump(), and ug::MarkForAdaption_GradientJumpIndicator().
|
inline |
returns the function pattern
References m_spDDI.
Referenced by ug::Prolongate(), and ug::Restrict().
|
inline |
returns true if the discrete function nr_fct is defined everywhere
References m_spDDI.
Referenced by ug::GridPointsOrdering< TDomain, TAlgebra >::create_vtkoutput_ordering().
|
inline |
returns if a function is defined on a subset
References m_spDDI.
Referenced by ug::DoFDistribution::_inner_dof_indices(), ug::ActiveSet< TDomain, TAlgebra >::active_index(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation_p1(), ug::DoFDistribution::constrained_edge_dof_indices(), ug::DoFDistribution::constrained_edge_indices(), ug::DoFDistribution::constrained_face_dof_indices(), ug::DoFDistribution::constrained_face_indices(), ug::DoFDistribution::constrained_vertex_dof_indices(), ug::DoFDistribution::constrained_vertex_indices(), ug::DoFDistribution::dof_indices(), ug::DoFDistribution::extract_inner_algebra_indices(), ug::DoFDistribution::indices(), ug::DoFDistribution::indices_on_vertex(), and ug::DoFDistribution::inner_algebra_indices_for_fct().
|
inline |
returns the local finite element id of a function
References m_spDDI.
Referenced by ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation_p1(), ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction(), ug::DoFDistribution::constrained_edge_dof_indices(), ug::DoFDistribution::constrained_face_dof_indices(), ug::DoFDistribution::dof_indices(), and ug::DoFDistribution::indices().
|
inline |
returns the local finite element id of a function
References m_spDDI.
Referenced by ug::AssembleInjectionForP1Lagrange(), ug::MarkForAdaption_AbsoluteGradientIndicator(), ug::MarkForAdaption_AbsoluteGradientJumpIndicator(), ug::MarkForAdaption_GradientIndicator(), ug::MarkForAdaption_GradientJumpIndicator(), ug::Prolongate(), and ug::Restrict().
|
inline |
returns the maximum number of dofs on a grid base object type
References m_spDDI.
|
inline |
returns the maximum number of dofs on a grid base object on a subset
References m_spDDI.
|
inline |
returns the maximum number of dofs on grid objects in a dimension
References dim(), and m_spDDI.
Referenced by ug::DoFDistribution::_algebra_indices(), ug::DoFDistribution::_dof_indices(), ug::DoFDistribution::_indices(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction(), ug::AssembleInjectionByAverageOfChildren(), ug::AdaptionSurfaceGridFunction< TDomain >::copy_from_surface(), ug::AdaptionSurfaceGridFunction< TDomain >::copy_to_surface(), ug::CreateLevelIndexLayout(), ug::CreateSurfaceIndexLayout(), ug::DoFDistribution::dof_count(), ug::DoFDistribution::get_connections(), ug::DoFIndexStorage::init_attachments(), ug::DoFDistribution::permute_indices(), ug::DoFDistribution::reinit(), ug::DoFDistribution::reinit_index_layout(), and ug::StdInjection< TDomain, TAlgebra >::set_identity_on_pure_surface().
|
inline |
|
inline |
returns the maximum number of dofs on reference object type
References m_spDDI.
|
inline |
returns the maximal number of dofs on a base object type for a function component
References m_spDDI.
|
inline |
returns the maximum number of dofs on a grid base object on a subset for a function component
References m_spDDI.
|
inline |
|
inline |
returns the number of dofs on a reference object for a function component
References m_spDDI.
|
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().
|
inline |
returns the name of the discrete function nr_fct
References m_spDDI.
Referenced by fct_id_by_name(), and subset_id_by_name().
|
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().
|
inline |
returns the number of dofs on a Reference Object on a subset
References m_spDDI.
Referenced by ug::DoFDistribution::add(), ug::DoFDistribution::constrained_edge_dof_indices(), ug::DoFDistribution::constrained_face_dof_indices(), ug::DoFDistribution::constrained_vertex_dof_indices(), ug::DoFDistribution::dof_indices(), ug::DoFDistribution::extract_inner_algebra_indices(), ug::DoFDistribution::get_connections(), and ug::DoFDistribution::inner_algebra_indices_for_fct().
|
inline |
number of discrete functions on subset si
References m_spDDI.
Referenced by ug::DoFDistribution::_indices(), ug::ActiveSet< TDomain, TAlgebra >::active_index(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation_p1(), ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction(), ug::AssembleInjectionForP1Lagrange(), ug::DoFDistribution::constrained_edge_indices(), ug::DoFDistribution::constrained_face_indices(), ug::DoFDistribution::constrained_vertex_indices(), ug::GridPointsOrdering< TDomain, TAlgebra >::create_vtkoutput_ordering(), ug::DoFCount::DoFCount(), ug::DoFDistribution::extract_inner_algebra_indices(), ug::DoFDistribution::indices(), ug::DoFDistribution::indices_on_vertex(), ug::Prolongate(), ug::Restrict(), and ug::DoFDistribution::sum_dof_count().
|
inline |
number of discrete functions on subset si
References m_spDDI.
|
inline |
returns the number of dofs on a Reference Object on a subset for a function component
References m_spDDI.
Referenced by ug::DoFDistribution::_inner_dof_indices(), ug::DoFDistribution::constrained_edge_dof_indices(), ug::DoFDistribution::constrained_face_dof_indices(), ug::DoFDistribution::constrained_vertex_dof_indices(), ug::DoFDistribution::dof_indices(), ug::DoFDistribution::extract_inner_algebra_indices(), ug::DoFDistribution::indices(), ug::DoFDistribution::indices_on_vertex(), ug::DoFDistribution::inner_algebra_indices_for_fct(), and ug::DoFDistribution::sum_dof_count().
|
inline |
returns number of subsets
References m_spDDI.
Referenced by ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation_p1(), ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction(), ug::DoFCount::DoFCount(), ug::DoFDistribution::DoFDistribution(), ug::DoFDistribution::get_connections(), ug::DoFDistribution::reinit(), and ug::StdInjection< TDomain, TAlgebra >::set_identity_on_pure_surface().
|
inline |
returns the offset for reference element, subset and function
References m_spDDI.
Referenced by ug::DoFDistribution::_inner_dof_indices(), ug::DoFDistribution::constrained_edge_dof_indices(), ug::DoFDistribution::constrained_edge_indices(), ug::DoFDistribution::constrained_face_dof_indices(), ug::DoFDistribution::constrained_face_indices(), ug::DoFDistribution::constrained_vertex_dof_indices(), ug::DoFDistribution::constrained_vertex_indices(), ug::DoFDistribution::dof_indices(), ug::DoFDistribution::extract_inner_algebra_indices(), ug::DoFDistribution::indices(), ug::DoFDistribution::indices_on_vertex(), and ug::DoFDistribution::inner_algebra_indices_for_fct().
|
inline |
prints statistic on local dof distribution
References print_local_dof_statistic().
Referenced by print_local_dof_statistic().
|
inline |
prints informations
References m_spDDI.
|
inline |
sets the dd info
References m_spDDI.
SubsetGroup ug::DoFDistributionInfoProvider::subset_grp_by_name | ( | const char * | names | ) | const |
|
inline |
returns the subset handler
References m_spDDI.
|
inline |
|
inline |
returns subset name
References m_spDDI.
|
protected |
Function Pattern.
Referenced by all_subsets_grp_except_for(), dim(), dim_subset(), dof_distribution_info(), fct_grp_by_name(), fct_id_by_name(), function_pattern(), is_def_everywhere(), is_def_in_subset(), lfeid(), local_finite_element_id(), max_dofs(), max_fct_dofs(), name(), names(), num_dofs(), num_fct(), num_fct_dofs(), num_subsets(), offset(), print_local_dof_statistic(), set_dof_distribution_info(), subset_grp_by_name(), subset_handler(), subset_id_by_name(), and subset_name().