OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::Grid3D< Elem > Class Template Reference

Public Member Functions

 Grid3D (unsigned int dim1, unsigned int dim2, unsigned int dim3)
 
Elem & operator() (unsigned int i, unsigned int j, unsigned int k)
 
const Elem & operator() (unsigned int i, unsigned int j, unsigned int k) const
 
std::vector< Elem > getAllNeighbors (unsigned int i, unsigned int j, unsigned int k)
 

Detailed Description

template<class Elem>
class OpenMD::Grid3D< Elem >

Definition at line 58 of file Grid3d.hpp.

Constructor & Destructor Documentation

◆ Grid3D()

template<class Elem >
OpenMD::Grid3D< Elem >::Grid3D ( unsigned int dim1,
unsigned int dim2,
unsigned int dim3 )
inline

Definition at line 60 of file Grid3d.hpp.

Member Function Documentation

◆ getAllNeighbors()

template<class Elem >
std::vector< Elem > OpenMD::Grid3D< Elem >::getAllNeighbors ( unsigned int i,
unsigned int j,
unsigned int k )
inline

Definition at line 78 of file Grid3d.hpp.

◆ operator()() [1/2]

template<class Elem >
Elem & OpenMD::Grid3D< Elem >::operator() ( unsigned int i,
unsigned int j,
unsigned int k )
inline

Definition at line 65 of file Grid3d.hpp.

◆ operator()() [2/2]

template<class Elem >
const Elem & OpenMD::Grid3D< Elem >::operator() ( unsigned int i,
unsigned int j,
unsigned int k ) const
inline

Definition at line 71 of file Grid3d.hpp.


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