PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
PyTrilinos.ML.Space Class Reference
Inheritance diagram for PyTrilinos.ML.Space:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.ML.Space:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def Reshape
def __eq__
def __ne__
def __call__
def GetNumMyElements
def GetNumGlobalElements
def GetOffset
def IsLinear
def GetMyGlobalElements

Public Attributes

 this

Detailed Description

Specifies the number and distribution among processes of elements.

Marzio Sala, SNL 9214

C++ includes: MLAPI_Space.h 

Constructor & Destructor Documentation

def PyTrilinos.ML.Space.__init__ (   self,
  args 
)
__init__(MLAPI::Space self) -> Space
__init__(MLAPI::Space self, int const NumGlobalElements, int const NumMyElements=-1) -> Space
__init__(MLAPI::Space self, Map Map) -> Space
__init__(self, int numGlobalElements, sequence myGlobalElements) -> Space
__init__(MLAPI::Space self, Space RHS) -> Space

MLAPI::Space::Space(const
Space &RHS)

Copy constructor. 

Member Function Documentation

def PyTrilinos.ML.Space.__call__ (   self,
  args 
)
__call__(Space self, int i) -> int
def PyTrilinos.ML.Space.__eq__ (   self,
  args 
)
__eq__(Space self, Space RHS) -> bool
def PyTrilinos.ML.Space.__ne__ (   self,
  args 
)
__ne__(Space self, Space RHS) -> bool
def PyTrilinos.ML.Space.GetMyGlobalElements (   self,
  args 
)
GetMyGlobalElements(self) -> Epetra.SerialDenseVector

Return an Epetra.SerialDenseVector of global indexes representing the
elements on this processor.  If the Space is distributed linearly,
this method returns None.
def PyTrilinos.ML.Space.GetNumGlobalElements (   self,
  args 
)
GetNumGlobalElements(Space self) -> int

int
MLAPI::Space::GetNumGlobalElements() const

Returns the global number of elements. 
def PyTrilinos.ML.Space.GetNumMyElements (   self,
  args 
)
GetNumMyElements(Space self) -> int

int
MLAPI::Space::GetNumMyElements() const

Returns the local number of elements on the calling process. 
def PyTrilinos.ML.Space.GetOffset (   self,
  args 
)
GetOffset(Space self) -> int

int
MLAPI::Space::GetOffset() const

Returns the global ID of the first element on the calling process (for
linear distributions only). 
def PyTrilinos.ML.Space.IsLinear (   self,
  args 
)
IsLinear(Space self) -> bool

bool
MLAPI::Space::IsLinear() const

Returns true if the decomposition among processors is linear. 
def PyTrilinos.ML.Space.Reshape (   self,
  args 
)
Reshape(Space self)
Reshape(Space self, int const NumGlobalElements, int const NumMyElements=-1)
Reshape(Space self, int const NumGlobalElements, int const NumMyElements)

void
MLAPI::Space::Reshape(const int NumGlobalElements, const int
NumMyElements, const int *MyGlobalElements)

Reset the dimension of the space by specifying the local number of
elements and their global numbering (starting from 0). 

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