MFEM v4.9.0
Finite element discretization library
Loading...
Searching...
No Matches
array.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::Array< T >
 
class  mfem::Array2D< T >
 Dynamic 2D array using row-major layout. More...
 
class  mfem::Array3D< T >
 
class  mfem::BlockArray< T >
 
class  mfem::BlockArray< T >::iterator_base< cA, cT >
 
class  mfem::BlockArray< T >::iterator
 
class  mfem::BlockArray< T >::const_iterator
 

Namespaces

namespace  mfem
 

Functions

template<class T >
void mfem::Swap (T &a, T &b)
 Swap objects of type T. The operation is performed using the most specialized swap function from the mfem namespace (or other visible swap functions), or using the std::swap generic template and its specializations in the standard library.
 
template<class T >
bool mfem::operator== (const Array< T > &LHS, const Array< T > &RHS)
 
template<class T >
bool mfem::operator!= (const Array< T > &LHS, const Array< T > &RHS)
 
template<typename T >
const T & mfem::AsConst (const T &a)
 Utility function similar to std::as_const in c++17.
 
template<typename T >
void mfem::swap (Array< T > &a, Array< T > &b)
 Swap of Array<T> objects for use with standard library algorithms. Also, used by mfem::Swap().
 
template<typename T >
void mfem::swap (Array2D< T > &a, Array2D< T > &b)
 Swap of Array2D<T> objects for use with standard library algorithms. Also, used by mfem::Swap().