Canoe
Comprehensive Atmosphere N' Ocean Engine
RectGrid< _Scalar, 2 > Class Template Reference

#include <RectGrid.h>

Public Member Functions

 RectGrid (int nrows, int ncols, int nhalo)
 
const dealii::SparsityPattern & pattern () const
 
int64_t global (int i, int j) const
 
int64_t globalh (int i, int j) const
 
int rows () const
 
int rowsh () const
 
int cols () const
 
int colsh () const
 
int halo () const
 
int64_t rank () const
 
int64_t rankh () const
 
Scalar dd () const
 

Protected Types

enum  { Dimension = 2 }
 
typedef _Scalar Scalar
 

Protected Attributes

int m_nrows
 
int m_ncols
 
int m_nhalo
 
int m_nrowsh
 
int m_ncolsh
 
int64_t m_rank
 
int64_t m_rankh
 
Scalar m_dd
 
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > m_row_map
 
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > m_row_axis
 
Eigen::Matrix< Scalar, 1, Eigen::Dynamic > m_col_map
 
Eigen::Matrix< Scalar, 1, Eigen::Dynamic > m_col_axis
 
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > m_rowcol_map
 
dealii::SparsityPattern m_pattern
 

Detailed Description

template<typename _Scalar>
class RectGrid< _Scalar, 2 >

Definition at line 11 of file RectGrid.h.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar >
typedef _Scalar RectGrid< _Scalar, 2 >::Scalar
protected

Definition at line 13 of file RectGrid.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename _Scalar >
anonymous enum
protected
Enumerator
Dimension 

Definition at line 14 of file RectGrid.h.

Constructor & Destructor Documentation

◆ RectGrid()

template<typename _Scalar >
RectGrid< _Scalar, 2 >::RectGrid ( int  nrows,
int  ncols,
int  nhalo 
)
inline

Definition at line 31 of file RectGrid.h.

Member Function Documentation

◆ pattern()

template<typename _Scalar >
const dealii::SparsityPattern& RectGrid< _Scalar, 2 >::pattern ( ) const
inline

Definition at line 64 of file RectGrid.h.

◆ global()

template<typename _Scalar >
int64_t RectGrid< _Scalar, 2 >::global ( int  i,
int  j 
) const
inline

Definition at line 66 of file RectGrid.h.

◆ globalh()

template<typename _Scalar >
int64_t RectGrid< _Scalar, 2 >::globalh ( int  i,
int  j 
) const
inline

Definition at line 68 of file RectGrid.h.

◆ rows()

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::rows ( ) const
inline

Definition at line 72 of file RectGrid.h.

◆ rowsh()

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::rowsh ( ) const
inline

Definition at line 74 of file RectGrid.h.

◆ cols()

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::cols ( ) const
inline

Definition at line 76 of file RectGrid.h.

◆ colsh()

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::colsh ( ) const
inline

Definition at line 78 of file RectGrid.h.

◆ halo()

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::halo ( ) const
inline

Definition at line 80 of file RectGrid.h.

◆ rank()

template<typename _Scalar >
int64_t RectGrid< _Scalar, 2 >::rank ( ) const
inline

Definition at line 82 of file RectGrid.h.

◆ rankh()

template<typename _Scalar >
int64_t RectGrid< _Scalar, 2 >::rankh ( ) const
inline

Definition at line 84 of file RectGrid.h.

◆ dd()

template<typename _Scalar >
Scalar RectGrid< _Scalar, 2 >::dd ( ) const
inline

Definition at line 86 of file RectGrid.h.

Member Data Documentation

◆ m_nrows

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::m_nrows
protected

Definition at line 16 of file RectGrid.h.

◆ m_ncols

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::m_ncols
protected

Definition at line 16 of file RectGrid.h.

◆ m_nhalo

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::m_nhalo
protected

Definition at line 16 of file RectGrid.h.

◆ m_nrowsh

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::m_nrowsh
protected

Definition at line 16 of file RectGrid.h.

◆ m_ncolsh

template<typename _Scalar >
int RectGrid< _Scalar, 2 >::m_ncolsh
protected

Definition at line 16 of file RectGrid.h.

◆ m_rank

template<typename _Scalar >
int64_t RectGrid< _Scalar, 2 >::m_rank
protected

Definition at line 18 of file RectGrid.h.

◆ m_rankh

template<typename _Scalar >
int64_t RectGrid< _Scalar, 2 >::m_rankh
protected

Definition at line 18 of file RectGrid.h.

◆ m_dd

template<typename _Scalar >
Scalar RectGrid< _Scalar, 2 >::m_dd
protected

Definition at line 20 of file RectGrid.h.

◆ m_row_map

template<typename _Scalar >
Eigen::Matrix<Scalar, Eigen::Dynamic, 1> RectGrid< _Scalar, 2 >::m_row_map
protected

Definition at line 22 of file RectGrid.h.

◆ m_row_axis

template<typename _Scalar >
Eigen::Matrix<Scalar, Eigen::Dynamic, 1> RectGrid< _Scalar, 2 >::m_row_axis
protected

Definition at line 22 of file RectGrid.h.

◆ m_col_map

template<typename _Scalar >
Eigen::Matrix<Scalar, 1, Eigen::Dynamic> RectGrid< _Scalar, 2 >::m_col_map
protected

Definition at line 24 of file RectGrid.h.

◆ m_col_axis

template<typename _Scalar >
Eigen::Matrix<Scalar, 1, Eigen::Dynamic> RectGrid< _Scalar, 2 >::m_col_axis
protected

Definition at line 24 of file RectGrid.h.

◆ m_rowcol_map

template<typename _Scalar >
Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> RectGrid< _Scalar, 2 >::m_rowcol_map
protected

Definition at line 26 of file RectGrid.h.

◆ m_pattern

template<typename _Scalar >
dealii::SparsityPattern RectGrid< _Scalar, 2 >::m_pattern
protected

Definition at line 28 of file RectGrid.h.


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