libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::VariationalMeshSmoother::Array3D< T > Struct Template Reference

3D array type for interfacing with C APIs. More...

Public Member Functions

 Array3D (unsigned nx, unsigned ny, unsigned nz)
 
Array2D< T > & operator[] (unsigned i)
 
const Array2D< T > & operator[] (unsigned i) const
 

Private Attributes

std::vector< Array2D< T > > _data
 

Detailed Description

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

3D array type for interfacing with C APIs.

Definition at line 245 of file mesh_smoother_vsmoother.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::VariationalMeshSmoother::Array3D< T >::Array3D ( unsigned  nx,
unsigned  ny,
unsigned  nz 
)

Definition at line 247 of file mesh_smoother_vsmoother.h.

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

248  {
249  _data.resize(nx, Array2D<T>(ny,nz));
250  }

Member Function Documentation

template<typename T>
Array2D<T>& libMesh::VariationalMeshSmoother::Array3D< T >::operator[] ( unsigned  i)
template<typename T>
const Array2D<T>& libMesh::VariationalMeshSmoother::Array3D< T >::operator[] ( unsigned  i) const

Member Data Documentation

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

Definition at line 257 of file mesh_smoother_vsmoother.h.


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