FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
fei::LinearDecomposition< GlobalIDType > Class Template Reference

#include <fei_LinearDecomposition.hpp>

Public Member Functions

 LinearDecomposition (int localProc, int numProcs, GlobalIDType lowest_global_id, GlobalIDType highest_global_id)
 
 ~LinearDecomposition ()
 
GlobalIDType first_locally_owned_global_id () const
 
GlobalIDType last_locally_owned_global_id () const
 
GlobalIDType first_global_id () const
 
GlobalIDType last_global_id () const
 
int which_proc (GlobalIDType id) const
 

Private Attributes

GlobalIDType first_global
 
GlobalIDType last_global
 
GlobalIDType first_locally_owned_global
 
GlobalIDType last_locally_owned_global
 
std::vector< GlobalIDType > proc_offsets
 

Detailed Description

template<typename GlobalIDType>
class fei::LinearDecomposition< GlobalIDType >

Definition at line 10 of file fei_LinearDecomposition.hpp.

Constructor & Destructor Documentation

template<typename GlobalIDType >
fei::LinearDecomposition< GlobalIDType >::LinearDecomposition ( int  localProc,
int  numProcs,
GlobalIDType  lowest_global_id,
GlobalIDType  highest_global_id 
)
template<typename GlobalIDType>
fei::LinearDecomposition< GlobalIDType >::~LinearDecomposition ( )
inline

Definition at line 15 of file fei_LinearDecomposition.hpp.

Member Function Documentation

template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_locally_owned_global_id ( ) const
inline
template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_locally_owned_global_id ( ) const
inline
template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_global_id ( ) const
inline
template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_global_id ( ) const
inline
template<typename GlobalIDType >
int fei::LinearDecomposition< GlobalIDType >::which_proc ( GlobalIDType  id) const

Return the mpi rank of the proc that holds 'id' in the linear-decomposition. Returns -1 if id < first_global_id() or id > last_global_id().

Definition at line 70 of file fei_LinearDecomposition.hpp.

Referenced by fei::copy_remotelyowned_ids_into_CommMap().

Member Data Documentation

template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_global
private
template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_global
private
template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_locally_owned_global
private
template<typename GlobalIDType>
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_locally_owned_global
private
template<typename GlobalIDType>
std::vector<GlobalIDType> fei::LinearDecomposition< GlobalIDType >::proc_offsets
private

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