ThunderEgg  1.0.0
ThunderEgg::Schur::FineIfaceInfo< D > Class Template Reference

Represents the interfaces where the neighbors are at a finer refinement level. More...

#include <FineIfaceInfo.h>

Inheritance diagram for ThunderEgg::Schur::FineIfaceInfo< D >:
Collaboration diagram for ThunderEgg::Schur::FineIfaceInfo< D >:

Public Member Functions

 FineIfaceInfo (const PatchInfo< D > &pinfo, Side< D > s)
 Construct a new FineIfaceInfo object. More...
 
- Public Member Functions inherited from ThunderEgg::Schur::IfaceInfo< D >
 IfaceInfo (int rank, int id)
 Construct a new IfaceInfo object. More...
 
virtual ~IfaceInfo ()
 Destroy the IfaceInfo object.
 

Public Attributes

std::array< int, Orthant< D - 1 >::num_orthants > fine_ranks
 the ranks of the fine patches' interfaces
 
std::array< int, Orthant< D - 1 >::num_orthants > fine_ids
 the ids of the fine patches' interfaces
 
std::array< int, Orthant< D - 1 >::num_orthants > fine_col_local_indexes
 the local column indexes of the fine patches' interfaces
 
std::array< int, Orthant< D - 1 >::num_orthants > fine_global_indexes
 the global indexes of the fine patches' interfaces
 
- Public Attributes inherited from ThunderEgg::Schur::IfaceInfo< D >
int rank
 The rank that the interface resides on.
 
int id
 The globally unique ID of the interface.
 
int patch_local_index = -1
 the local index in the interface for the local patch interface vector
 
int col_local_index = -1
 the local index in the interface for the local column interface vector
 
int row_local_index = -1
 the local index in the interface for the local row interface vector
 
int global_index = -1
 the global index in the interface vector.
 

Detailed Description

template<int D>
class ThunderEgg::Schur::FineIfaceInfo< D >

Represents the interfaces where the neighbors are at a finer refinement level.

There will be 2^(D-1)+1 interfaces associated with this object. The interface that lines up with this patch, and interface that lines up with the finer patches.

Template Parameters
Dthe number of Cartesian dimensions in a patch

Constructor & Destructor Documentation

◆ FineIfaceInfo()

template<int D>
ThunderEgg::Schur::FineIfaceInfo< D >::FineIfaceInfo ( const PatchInfo< D > &  pinfo,
Side< D >  s 
)
inline

Construct a new FineIfaceInfo object.

indexes will be set to -1

Parameters
pinfothe associated PatchInfo object
sthe side of the patch that the interface is on

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