ug4
ug::DomainInfo Class Reference

Describes the contents of a domain. More...

#include <domain.h>

Public Types

typedef unsigned long long int_t
 

Public Member Functions

int element_type () const
 
size_t max_num_local_elements_on_level (size_t lvl) const
 returns the maximum number of elements a process has on a given leven (excluding ghosts) More...
 
size_t min_num_local_elements_on_level (size_t lvl) const
 returns the minimum number of elements a process has on a given leven (excluding ghosts) More...
 
size_t num_elements () const
 
size_t num_elements_on_level (size_t lvl) const
 returns the global number of elements on the given level (excluding ghosts...) More...
 
size_t num_levels () const
 
size_t num_local_elements_on_level (size_t lvl) const
 returns the local number of elements on the given level (excluding ghosts...) More...
 
size_t num_local_ghosts_on_level (size_t lvl) const
 returns the local number of ghosts on the given level More...
 
size_t num_subsets () const
 
size_t num_surface_elements () const
 returns the global number of surface elements (elements without children) More...
 
void set_info (GridBaseObjectId elemType, const std::vector< int_t > &numElems, const std::vector< int_t > &numLocalElems, const std::vector< int_t > &minNumLocalElems, const std::vector< int_t > &maxNumLocalElems, const std::vector< int_t > &numLocalGhosts, const std::vector< int_t > &subsetDims, int_t numSurfElems)
 
size_t subset_dim (int si) const
 
std::string to_string () const
 

Private Attributes

GridBaseObjectId m_elementType
 
std::vector< int_tm_maxNumLocalElems
 
std::vector< int_tm_minNumLocalElems
 
std::vector< int_tm_numElems
 
std::vector< int_tm_numLocalElems
 local number of elements excluding ghosts. More...
 
std::vector< int_tm_numLocalGhosts
 
int_t m_numSurfElems
 
std::vector< int_tm_subsetDims
 

Detailed Description

Describes the contents of a domain.

In a parallel environment those are the contents of the global distributed domain.


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