IBAMR  IBAMR version 0.19.
Public Types | Public Member Functions | Private Attributes | List of all members
SAMRAI::hier::LayerHierarchy< DIM > Class Template Reference

Distributed nested-level box graph for a patch hierarchy. More...

#include <LayerHierarchy.h>

Public Types

typedef LayerEdgeSet< DIM > LayerEdges
 
typedef LayerNodeSet< DIM > LayerNodes
 

Public Member Functions

 LayerHierarchy ()
 Constructor. More...
 
virtual ~LayerHierarchy (void)
 Destructor. More...
 
const LayerNodesgetNodes (int level_number) const
 
const LayerEdgesgetPeerEdges (int level_number) const
 
const LayerEdgesgetFineEdges (int level_number) const
 
const LayerEdgesgetCoarseEdges (int level_number) const
 

Private Attributes

int d_num_levels
 
tbox::Array< LayerEdgeSet< DIM > > d_peer_edges
 
tbox::Array< LayerEdgeSet< DIM > > d_fine_edges
 
tbox::Array< LayerEdgeSet< DIM > > d_coarse_edges
 
tbox::Array< LayerNodeSet< DIM > > d_node_sets
 

Detailed Description

template<int DIM>
class SAMRAI::hier::LayerHierarchy< DIM >

This object maintains the DNBG edges within a hierarchy.

A "layer" is similar to a level in the hierarchy in that the nodes in a layer share the same structured index space, just as patches in a level share the same index space. We use layer instead of level to differentiate the graph from the hierarchy and because a layer does not necessarily have a one-to-one association with a level. A "layer edge" is the collection of individual DNBG edges that are incident from nodes in the same layer in the DNBG.

Member Typedef Documentation

◆ LayerEdges

template<int DIM>
typedef LayerEdgeSet<DIM> SAMRAI::hier::LayerHierarchy< DIM >::LayerEdges

◆ LayerNodes

template<int DIM>
typedef LayerNodeSet<DIM> SAMRAI::hier::LayerHierarchy< DIM >::LayerNodes

Constructor & Destructor Documentation

◆ LayerHierarchy()

template<int DIM>
SAMRAI::hier::LayerHierarchy< DIM >::LayerHierarchy ( )

The default constructor creates object with distributed seriality.

◆ ~LayerHierarchy()

template<int DIM>
virtual SAMRAI::hier::LayerHierarchy< DIM >::~LayerHierarchy ( void  )
virtual

Deallocate internal data.

Member Function Documentation

◆ getNodes()

template<int DIM>
const LayerNodes& SAMRAI::hier::LayerHierarchy< DIM >::getNodes ( int  level_number) const

◆ getPeerEdges()

template<int DIM>
const LayerEdges& SAMRAI::hier::LayerHierarchy< DIM >::getPeerEdges ( int  level_number) const

◆ getFineEdges()

template<int DIM>
const LayerEdges& SAMRAI::hier::LayerHierarchy< DIM >::getFineEdges ( int  level_number) const

◆ getCoarseEdges()

template<int DIM>
const LayerEdges& SAMRAI::hier::LayerHierarchy< DIM >::getCoarseEdges ( int  level_number) const

Member Data Documentation

◆ d_num_levels

template<int DIM>
int SAMRAI::hier::LayerHierarchy< DIM >::d_num_levels
private

◆ d_peer_edges

template<int DIM>
tbox::Array<LayerEdgeSet<DIM> > SAMRAI::hier::LayerHierarchy< DIM >::d_peer_edges
private

◆ d_fine_edges

template<int DIM>
tbox::Array<LayerEdgeSet<DIM> > SAMRAI::hier::LayerHierarchy< DIM >::d_fine_edges
private

◆ d_coarse_edges

template<int DIM>
tbox::Array<LayerEdgeSet<DIM> > SAMRAI::hier::LayerHierarchy< DIM >::d_coarse_edges
private

◆ d_node_sets

template<int DIM>
tbox::Array<LayerNodeSet<DIM> > SAMRAI::hier::LayerHierarchy< DIM >::d_node_sets
private

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