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

#include <Stokhos_Sparse3TensorPartition.hpp>

Classes

struct  Box
 
struct  CoordCompare
 

Public Types

typedef TupleType::value_type coord_type
 
typedef Teuchos::ArrayView
< TupleType >::size_type 
size_type
 
typedef TupleType::id_type id_type
 

Public Member Functions

 RCB (const coord_type &max_length_, const size_type &max_parts_, const Teuchos::ArrayView< TupleType > &coords_)
 Constructor. More...
 
 ~RCB ()
 Destructor. More...
 
size_type get_num_parts () const
 Get number of parts. More...
 
Teuchos::RCP< Boxget_partition_root () const
 Get root of partition. More...
 
Teuchos::RCP< Teuchos::Array
< Teuchos::RCP< Box > > > 
get_parts () const
 Get parts array. More...
 
Teuchos::ArrayRCP< id_typeget_part_IDs () const
 

Private Member Functions

void partition ()
 Partition. More...
 

Private Attributes

coord_type max_length
 
size_type max_parts
 
size_type num_parts
 
Teuchos::Array< TupleType > coords
 
Teuchos::RCP< Boxroot
 
Teuchos::RCP< Teuchos::Array
< Teuchos::RCP< Box > > > 
parts
 

Detailed Description

template<typename TupleType>
class Stokhos::RCB< TupleType >

Definition at line 21 of file Stokhos_Sparse3TensorPartition.hpp.

Member Typedef Documentation

template<typename TupleType >
typedef TupleType::value_type Stokhos::RCB< TupleType >::coord_type

Definition at line 23 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
typedef Teuchos::ArrayView<TupleType>::size_type Stokhos::RCB< TupleType >::size_type

Definition at line 24 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
typedef TupleType::id_type Stokhos::RCB< TupleType >::id_type

Definition at line 25 of file Stokhos_Sparse3TensorPartition.hpp.

Constructor & Destructor Documentation

template<typename TupleType >
Stokhos::RCB< TupleType >::RCB ( const coord_type max_length_,
const size_type max_parts_,
const Teuchos::ArrayView< TupleType > &  coords_ 
)
inline

Constructor.

Definition at line 108 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Stokhos::RCB< TupleType >::~RCB ( )
inline

Destructor.

Definition at line 118 of file Stokhos_Sparse3TensorPartition.hpp.

Member Function Documentation

template<typename TupleType >
size_type Stokhos::RCB< TupleType >::get_num_parts ( ) const
inline

Get number of parts.

Definition at line 121 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Teuchos::RCP<Box> Stokhos::RCB< TupleType >::get_partition_root ( ) const
inline

Get root of partition.

Definition at line 124 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Teuchos::RCP< Teuchos::Array< Teuchos::RCP<Box> > > Stokhos::RCB< TupleType >::get_parts ( ) const
inline

Get parts array.

Definition at line 127 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Teuchos::ArrayRCP<id_type> Stokhos::RCB< TupleType >::get_part_IDs ( ) const
inline

Definition at line 131 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
void Stokhos::RCB< TupleType >::partition ( )
inlineprivate

Partition.

Definition at line 151 of file Stokhos_Sparse3TensorPartition.hpp.

Member Data Documentation

template<typename TupleType >
coord_type Stokhos::RCB< TupleType >::max_length
private

Definition at line 144 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
size_type Stokhos::RCB< TupleType >::max_parts
private

Definition at line 145 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
size_type Stokhos::RCB< TupleType >::num_parts
private

Definition at line 145 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Teuchos::Array<TupleType> Stokhos::RCB< TupleType >::coords
private

Definition at line 146 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Teuchos::RCP<Box> Stokhos::RCB< TupleType >::root
private

Definition at line 147 of file Stokhos_Sparse3TensorPartition.hpp.

template<typename TupleType >
Teuchos::RCP< Teuchos::Array< Teuchos::RCP<Box> > > Stokhos::RCB< TupleType >::parts
private

Definition at line 148 of file Stokhos_Sparse3TensorPartition.hpp.


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