libMesh::VariationalMeshSmoother::Array3D< T > Struct Template Reference

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

◆ Array3D()

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

Definition at line 247 of file mesh_smoother_vsmoother.h.

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

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

Member Function Documentation

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

Member Data Documentation

◆ _data


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