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

Represents the interfaces where the neighbor is at a coarser refinement level. More...

#include <CoarseIfaceInfo.h>

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

Public Member Functions

 CoarseIfaceInfo (const PatchInfo< D > &pinfo, Side< D > s)
 Construct a new CoarseIfaceInfo 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

Orthant< D - 1 > orth_on_coarse
 The orthant that this patch in relation to the coarser patch's interface.
 
int coarse_rank
 Rank of the coarse interface.
 
int coarse_id
 The id of the coarser patch's interface.
 
int coarse_col_local_index = -1
 The local column index of the coarser patch's inteface.
 
int coarse_global_index = -1
 The global index of the coarser patch's interface.
 
- 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::CoarseIfaceInfo< D >

Represents the interfaces where the neighbor is at a coarser refinement level.

There will be two interfaces associated with this object. The interface that lines up with this patch, and interface that lines up with the coarser patch.

Template Parameters
Dthe number of Cartesian dimensions in a patch

Constructor & Destructor Documentation

◆ CoarseIfaceInfo()

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

Construct a new CoarseIfaceInfo object.

indexes will be set to -1

Parameters
pinfothe cooresponding PatchInfo object
sthe side that the interface is on

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