Jpetra Development
Public Member Functions | Protected Member Functions
Jpetra::ElementSpace Class Reference
Inheritance diagram for Jpetra::ElementSpace:
Inheritance graph
[legend]
Collaboration diagram for Jpetra::ElementSpace:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ElementSpace (int numGlobalElements, int indexBase, Comm comm)
 ElementSpace (int[] myGlobalElements, Comm comm)
 ElementSpace (int numGlobalElements, int numMyGlobalElements, int indexBase, Comm comm)
int getLocalElementId (int globalElementId)
int getGlobalElementId (int localElementId)
boolean isMyLocalElementId (int globalElementId)
boolean isMyGlobalElementId (int localElementId)
int getNumGlobalElements ()
int getNumMyGlobalElements ()
int getMinLocalElementId ()
int getMaxLocalElementId ()
int getMinGlobalElementId ()
int getMyMinGlobalElementId ()
int getMyMaxGlobalElementId ()
int getMaxGlobalElementId ()
int[] getMyGlobalElementIds ()
boolean isDistributedGlobally ()
boolean isDistributedUniformly ()
boolean isDistributedLinearly ()
Comm getComm ()
int getNumRemainderIndices ()
int getNumIndicesPerVnode ()
void readExternal (ObjectInput in) throws java.io.IOException, ClassNotFoundException
void writeExternal (ObjectOutput out) throws java.io.IOException
boolean equals (ElementSpace otherElementSpace)

Protected Member Functions

void setComm (Comm comm)

Detailed Description

Author:
Jason Cross

Constructor & Destructor Documentation

Jpetra::ElementSpace::ElementSpace ( int  numGlobalElements,
int  indexBase,
Comm  comm 
) [inline]

Constructs an ElementSpace automatically based on the contigous even distribution of global elements to each vnode.

Jpetra::ElementSpace::ElementSpace ( int[]  myGlobalElements,
Comm  comm 
) [inline]

Constructs an arbitrarily defined ElementSpace using myGlobalElements passed in by the user.

Jpetra::ElementSpace::ElementSpace ( int  numGlobalElements,
int  numMyGlobalElements,
int  indexBase,
Comm  comm 
) [inline]

Constructs an ElementSpace automatically based on the user defined linear distribution of global elements given to each vnode.

Parameters:
numGlobalElements-1 to have the Comm determine, actually this parameter does nothing right now...

The documentation for this class was generated from the following file:
 All Classes Functions Variables