MFEM  v3.2
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Friends | List of all members
mfem::Array2D< T > Class Template Reference

#include <array.hpp>

Public Member Functions

 Array2D ()
 
 Array2D (int m, int n)
 
void SetSize (int m, int n)
 
int NumRows () const
 
int NumCols () const
 
const T & operator() (int i, int j) const
 
T & operator() (int i, int j)
 
const T * operator[] (int i) const
 
T * operator[] (int i)
 
const T * operator() (int i) const
 
T * operator() (int i)
 
const T * GetRow (int i) const
 
T * GetRow (int i)
 
void Copy (Array2D &copy) const
 
void operator= (const T &a)
 
void MakeRef (const Array2D &master)
 Make this Array a reference to 'master'. More...
 

Friends

void Swap (Array2D< T > &, Array2D< T > &)
 

Detailed Description

template<class T>
class mfem::Array2D< T >

Definition at line 246 of file array.hpp.

Constructor & Destructor Documentation

template<class T>
mfem::Array2D< T >::Array2D ( )
inline

Definition at line 261 of file array.hpp.

template<class T>
mfem::Array2D< T >::Array2D ( int  m,
int  n 
)
inline

Definition at line 262 of file array.hpp.

Member Function Documentation

template<class T>
void mfem::Array2D< T >::Copy ( Array2D< T > &  copy) const
inline

Definition at line 281 of file array.hpp.

template<class T>
const T* mfem::Array2D< T >::GetRow ( int  i) const
inline

Definition at line 278 of file array.hpp.

template<class T>
T* mfem::Array2D< T >::GetRow ( int  i)
inline

Definition at line 279 of file array.hpp.

template<class T>
void mfem::Array2D< T >::MakeRef ( const Array2D< T > &  master)
inline

Make this Array a reference to 'master'.

Definition at line 288 of file array.hpp.

template<class T>
int mfem::Array2D< T >::NumCols ( ) const
inline

Definition at line 267 of file array.hpp.

template<class T>
int mfem::Array2D< T >::NumRows ( ) const
inline

Definition at line 266 of file array.hpp.

template<class T >
const T & mfem::Array2D< T >::operator() ( int  i,
int  j 
) const
inline

Definition at line 525 of file array.hpp.

template<class T >
T & mfem::Array2D< T >::operator() ( int  i,
int  j 
)
inline

Definition at line 535 of file array.hpp.

template<class T>
const T* mfem::Array2D< T >::operator() ( int  i) const
inline

Definition at line 275 of file array.hpp.

template<class T>
T* mfem::Array2D< T >::operator() ( int  i)
inline

Definition at line 276 of file array.hpp.

template<class T>
void mfem::Array2D< T >::operator= ( const T &  a)
inline

Definition at line 284 of file array.hpp.

template<class T >
const T * mfem::Array2D< T >::operator[] ( int  i) const
inline

Definition at line 545 of file array.hpp.

template<class T >
T * mfem::Array2D< T >::operator[] ( int  i)
inline

Definition at line 554 of file array.hpp.

template<class T>
void mfem::Array2D< T >::SetSize ( int  m,
int  n 
)
inline

Definition at line 264 of file array.hpp.

Friends And Related Function Documentation

template<class T>
void Swap ( Array2D< T > &  a,
Array2D< T > &  b 
)
friend

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