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

The IfaceInfo class represents the information for an interface on a given side of the patch. More...

#include <IfaceInfo.h>

Inheritance diagram for ThunderEgg::Schur::IfaceInfo< D >:

Public Member Functions

 IfaceInfo (int rank, int id)
 Construct a new IfaceInfo object. More...
 
virtual ~IfaceInfo ()
 Destroy the IfaceInfo object.
 

Public Attributes

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::IfaceInfo< D >

The IfaceInfo class represents the information for an interface on a given side of the patch.

The information contained will be the globally unique ID and the local and global index(es) in the interface vector.

Template Parameters
Dthe number of Cartesian dimensions in the patches.

Constructor & Destructor Documentation

◆ IfaceInfo()

template<int D>
ThunderEgg::Schur::IfaceInfo< D >::IfaceInfo ( int  rank,
int  id 
)
inline

Construct a new IfaceInfo object.

All indexes will be set to -1

Parameters
rankthe rank of the interface
idthe id of the interface

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