$extrastylesheet
libMesh::VariationalMeshSmoother::Array2D< T > Struct Template Reference

List of all members.

Public Member Functions

 Array2D (unsigned nx, unsigned ny)
std::vector< T > & operator[] (unsigned i)
const std::vector< T > & operator[] (unsigned i) const

Private Attributes

std::vector< std::vector< T > > _data

Detailed Description

template<typename T>
struct libMesh::VariationalMeshSmoother::Array2D< T >

2D array type for interfacing with C APIs.

Definition at line 223 of file mesh_smoother_vsmoother.h.


Constructor & Destructor Documentation

template<typename T>
libMesh::VariationalMeshSmoother::Array2D< T >::Array2D ( unsigned  nx,
unsigned  ny 
) [inline]

Definition at line 225 of file mesh_smoother_vsmoother.h.

                                      :
      _data(nx, std::vector<T>(ny)) {}

Member Function Documentation

template<typename T>
std::vector<T>& libMesh::VariationalMeshSmoother::Array2D< T >::operator[] ( unsigned  i) [inline]

Definition at line 229 of file mesh_smoother_vsmoother.h.

References libMesh::VariationalMeshSmoother::Array2D< T >::_data.

{return _data[i];}
template<typename T>
const std::vector<T>& libMesh::VariationalMeshSmoother::Array2D< T >::operator[] ( unsigned  i) const [inline]

Definition at line 230 of file mesh_smoother_vsmoother.h.

References libMesh::VariationalMeshSmoother::Array2D< T >::_data.

{return _data[i];}

Member Data Documentation

template<typename T>
std::vector<std::vector<T> > libMesh::VariationalMeshSmoother::Array2D< T >::_data [private]

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