FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

◆ LinearDecomposition()

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

◆ ~LinearDecomposition()

template<typename GlobalIDType >
fei::LinearDecomposition< GlobalIDType >::~LinearDecomposition ( )
inline

Definition at line 15 of file fei_LinearDecomposition.hpp.

Member Function Documentation

◆ first_locally_owned_global_id()

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_locally_owned_global_id ( ) const
inline

◆ last_locally_owned_global_id()

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_locally_owned_global_id ( ) const
inline

◆ first_global_id()

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_global_id ( ) const
inline

◆ last_global_id()

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_global_id ( ) const
inline

◆ which_proc()

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

◆ first_global

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_global
private

◆ last_global

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_global
private

◆ first_locally_owned_global

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::first_locally_owned_global
private

◆ last_locally_owned_global

template<typename GlobalIDType >
GlobalIDType fei::LinearDecomposition< GlobalIDType >::last_locally_owned_global
private

◆ proc_offsets

template<typename GlobalIDType >
std::vector<GlobalIDType> fei::LinearDecomposition< GlobalIDType >::proc_offsets
private

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