ThunderEgg
1.0.0
|
The IfaceInfo class represents the information for an interface on a given side of the patch. More...
#include <IfaceInfo.h>
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. | |
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.
D | the number of Cartesian dimensions in the patches. |
|
inline |
Construct a new IfaceInfo object.
All indexes will be set to -1
rank | the rank of the interface |
id | the id of the interface |