ug4
ug::Domain< d, TGrid, TSubsetHandler > Class Template Reference

#include <domain.h>

+ Inheritance diagram for ug::Domain< d, TGrid, TSubsetHandler >:

Public Types

typedef base_type::grid_type grid_type
 Grid type. More...
 
typedef Grid::VertexAttachmentAccessor< position_attachment_typeposition_accessor_type
 Type of Accessor to the Position Data Attachment. More...
 
typedef Attachment< position_typeposition_attachment_type
 Type of Position Attachment. More...
 
typedef MathVector< dimposition_type
 Type of position coordinates. More...
 
typedef base_type::subset_handler_type subset_handler_type
 Subset Handler type. More...
 
- Public Types inherited from ug::IDomain< MultiGrid, MGSubsetHandler >
typedef MultiGrid grid_type
 Grid type. More...
 
typedef MGSubsetHandler subset_handler_type
 Subset Handler type. More...
 

Public Member Functions

 Domain (bool isAdaptive=true)
 Default constructor. More...
 
virtual SPIGeometry3d geometry3d () const
 returns the geometry of the domain More...
 
virtual int get_dim () const
 World Dimension. More...
 
position_accessor_typeposition_accessor ()
 get Position Accessor More...
 
const position_accessor_typeposition_accessor () const
 const access to Position Accessor More...
 
position_attachment_typeposition_attachment ()
 returns Position Attachment More...
 
const position_attachment_typeposition_attachment () const
 const access to Position Attachment More...
 
virtual ~Domain ()
 
- Public Member Functions inherited from ug::IDomain< MultiGrid, MGSubsetHandler >
SmartPtr< MGSubsetHandleradditional_subset_handler (std::string name)
 returns an additional subset handler Subset Handler More...
 
const ConstSmartPtr< MGSubsetHandleradditional_subset_handler (std::string name) const
 const access to Subset Handler More...
 
std::vector< std::string > additional_subset_handler_names () const
 returns a list with the names of additional subset handlers More...
 
bool create_additional_subset_handler (std::string name)
 creates an additional subset-handler with the given name More...
 
DistributedGridManagerdistributed_grid_manager ()
 returns Distributed Grid Manager More...
 
const DomainInfodomain_info () const
 returns information on the current domain More...
 
bool empty () const
 returns whether the associated grid is empty More...
 
SmartPtr< MultiGridgrid ()
 returns Grid More...
 
const ConstSmartPtr< MultiGridgrid () const
 const access to Grid More...
 
 IDomain (bool isAdaptive=true)
 Default constructor. More...
 
bool is_adaptive () const
 returns whether the domain may be used for adaptive refinement More...
 
bool is_parallel ()
 returns whether the domain can be used for parallel computations More...
 
SPMessageHub message_hub ()
 returns the message hub of the grid More...
 
SPRefinementProjector refinement_projector () const
 returns the domain's ug::RefinementProjector. The pointer may be invalid. More...
 
void set_refinement_projector (SPRefinementProjector proj)
 sets the ug::RefinementProjector which can be used by refiners during refinement More...
 
SmartPtr< MGSubsetHandlersubset_handler ()
 returns Subset Handler More...
 
const ConstSmartPtr< MGSubsetHandlersubset_handler () const
 const access to Subset Handler More...
 
void update_domain_info ()
 updates the internal domain-info object. More...
 
void update_subset_infos (int rootProc)
 updates and broadcasts subset names and dimensions from the given rootProc to all other processes. More...
 
virtual ~IDomain ()
 Destructor. More...
 

Static Public Attributes

static const int dim = d
 World dimension. More...
 

Protected Attributes

position_accessor_type m_aaPos
 Accessor. More...
 
position_attachment_type m_aPos
 Position Attachment. More...
 
SPIGeometry3d m_geometry3d
 
- Protected Attributes inherited from ug::IDomain< MultiGrid, MGSubsetHandler >
bool m_adaptionIsActive
 
std::map< std::string, SmartPtr< MGSubsetHandler > > m_additionalSH
 additional subset handlers More...
 
DomainInfo m_domainInfo
 
bool m_isAdaptive
 
SPRefinementProjector m_refinementProjector
 
SmartPtr< MultiGridm_spGrid
 Grid. More...
 
MessageHub::SPCallbackId m_spGridAdaptionCallbackID
 
MessageHub::SPCallbackId m_spGridCreationCallbackID
 
MessageHub::SPCallbackId m_spGridDistributionCallbackID
 
SmartPtr< MGSubsetHandlerm_spSH
 Subset Handler. More...
 

Private Types

typedef IDomain< TGrid, TSubsetHandler > base_type
 base type More...
 

Additional Inherited Members

- Protected Member Functions inherited from ug::IDomain< MultiGrid, MGSubsetHandler >
SPRefinementProjector broadcast_refinement_projector (int rootProc, pcl::ProcessCommunicator &procCom, SPIGeometry3d geometry, SPRefinementProjector projector=SPNULL)
 helper method to broadcast ug::RefinementProjectors to different processes More...
 
void count_ghosts (std::vector< DomainInfo::int_t > &numGhostsOnLvlOut)
 
size_t count_local_unique_surface_elements ()
 counts local surface elements which are not ghosts or h-slaves More...
 
SPRefinementProjector deserialize_projector (BinaryBuffer &buf)
 
void grid_adaption_callback (const GridMessage_Adaption &msg)
 
void grid_creation_callback (const GridMessage_Creation &msg)
 Called when a domain has been loaded and during domain distribution. More...
 
void grid_distribution_callback (const GridMessage_Distribution &msg)
 
void serialize_projector (BinaryBuffer &bufOut, SPRefinementProjector proj)
 

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