Jpetra  Development
 All Classes Functions Variables
Public Member Functions | Protected Member Functions | List of all members
Jpetra.ElementSpace Class Reference
Inheritance diagram for Jpetra.ElementSpace:
Inheritance graph
[legend]
Collaboration diagram for Jpetra.ElementSpace:
Collaboration graph
[legend]

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)
 
- Public Member Functions inherited from Jpetra.JpetraObject
 JpetraObject ()
 
void initializeOutput ()
 

Protected Member Functions

void setComm (Comm comm)
 

Additional Inherited Members

- Static Public Member Functions inherited from Jpetra.JpetraObject
static void setRootPrint (String key, boolean rootPrint)
 
static void setRootStream (String key, PrintStream rootStream)
 
static void setVnodesPrint (String key, boolean vnodesPrint)
 
static void setVnodesStream (String key, PrintStream vnodesStream)
 
static void print (String key, String message)
 
static void println (String key, String message)
 
static void setAmIroot (Comm comm)
 
- Static Public Attributes inherited from Jpetra.JpetraObject
static HashMap outputStreams = new HashMap(4)
 
static boolean amIroot
 

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.

References Jpetra.Comm.getVnodeId(), and Jpetra.Comm.isSerial().

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

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

References Jpetra.Comm.isSerial().

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...

References Jpetra.Comm.getVnodeId(), and Jpetra.Comm.isSerial().


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