ThunderEgg
1.0.0
|
Represents the Schur compliment domain of the problem. More...
#include <InterfaceDomain.h>
Public Member Functions | |
InterfaceDomain (const Domain< D > &domain) | |
Create a InterfaceDomain from a given Domain. More... | |
int | getNumLocalInterfaces () const |
Get the number of local Interfaces on this rank. More... | |
int | getNumGlobalInterfaces () const |
Get the number of Interfaces on all ranks. More... | |
const std::vector< std::shared_ptr< const Interface< D > > > | getInterfaces () const |
Get the vector Interfaces objects for this rank. More... | |
const std::vector< std::shared_ptr< const PatchIfaceInfo< D > > > & | getPatchIfaceInfos () const |
Get the vector PatchIfaceInfo objects for this rank. More... | |
const Domain< D > & | getDomain () const |
Get the Domain object that cooresponds to this InterfaceDomain. More... | |
Vector< D - 1 > | getNewVector () const |
Get a new vector for the schur compliment system. More... | |
Represents the Schur compliment domain of the problem.
This class mainly manages a set of interfaces that makes up the Schur compliment system. It is responsible for setting up the indexing of the interfaces, which is used in the rest of the ThunderEgg library.
This class will set a global index for each interface, and will provide three sets of local indexes.
The patch_iface set of indexes are the local indexes for a vector of interfaces that line up with each piinfo object.
The row set of indexes are for a row distributed parallel matrix (where a rank contains the entire row of the matrix)
The column set of indexes are for a column distributed parallel matrix.
D | the number of Cartesian dimensions |
|
inlineexplicit |
Create a InterfaceDomain from a given Domain.
domain | the Domain |
|
inline |
Get the Domain object that cooresponds to this InterfaceDomain.
|
inline |
|
inline |
Get a new vector for the schur compliment system.
|
inline |
Get the number of Interfaces on all ranks.
|
inline |
Get the number of local Interfaces on this rank.
|
inline |
Get the vector PatchIfaceInfo objects for this rank.
The location of each PatchIfaceInfo in the vector will coorespond to the patch's local index