|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include <Mesh.h>
Public Types | |
| enum | { Dimension = Dim } |
| typedef T | value_type |
| typedef Vector< T, Dim > | vector_type |
| typedef Vector< vector_type, Dim > | matrix_type |
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION | Mesh () |
| virtual KOKKOS_INLINE_FUNCTION | ~Mesh () |
| KOKKOS_INLINE_FUNCTION vector_type | getOrigin () const |
| KOKKOS_INLINE_FUNCTION void | setOrigin (const vector_type &origin) |
| KOKKOS_INLINE_FUNCTION const vector_type & | getGridsize () const |
| virtual KOKKOS_INLINE_FUNCTION T | getCellVolume () const =0 |
| virtual KOKKOS_INLINE_FUNCTION T | getMeshVolume () const =0 |
| KOKKOS_INLINE_FUNCTION T | getGridsize (size_t dim) const |
| virtual KOKKOS_INLINE_FUNCTION vector_type | getVertexPosition (const NDIndex< Dim > &ndi) const =0 |
| virtual KOKKOS_INLINE_FUNCTION const vector_type & | getMeshSpacing () const =0 |
| virtual KOKKOS_INLINE_FUNCTION vector_type | getDeltaVertex (const NDIndex< Dim > &ndi) const =0 |
Protected Attributes | |
| vector_type | origin_m |
| vector_type | gridSizes_m |
| typedef Vector<vector_type, Dim> ippl::Mesh< T, Dim >::matrix_type |
| typedef T ippl::Mesh< T, Dim >::value_type |
| anonymous enum |
|
inline |
Definition at line 25 of file Mesh.h.
Referenced by ippl::UniformCartesian< T, Dim >::UniformCartesian().
|
inlinevirtual |
|
pure virtual |
Query the cell volume of the grid
Implemented in ippl::UniformCartesian< T, Dim >, ippl::UniformCartesian< double, Dim >, and ippl::UniformCartesian< Tlhs, Dim >.
|
pure virtual |
| KOKKOS_INLINE_FUNCTION const Mesh< T, Dim >::vector_type & ippl::Mesh< T, Dim >::getGridsize | ( | ) | const |
Definition at line 20 of file Mesh.hpp.
References gridSizes_m.
Referenced by ippl::UniformCartesian< T, Dim >::getMeshVolume(), and ippl::PoissonCG< Field< T, Dim >, Field_t< Dim > >::setSolver().
| KOKKOS_INLINE_FUNCTION T ippl::Mesh< T, Dim >::getGridsize | ( | size_t | dim | ) | const |
Definition at line 26 of file Mesh.hpp.
References gridSizes_m.
|
pure virtual |
Implemented in ippl::UniformCartesian< T, Dim >, and ippl::UniformCartesian< double, Dim >.
Referenced by ippl::assemble_rhs_from_particles(), ippl::div(), ippl::grad(), ippl::hess(), ippl::interpolate_to_diracs(), ippl::OrthogonalRecursiveBisection< Field, Tp >::scatterR(), and ippl::PoissonCG< Field< T, Dim >, Field_t< Dim > >::setSolver().
|
pure virtual |
Query the volume of the represented domain
Implemented in ippl::UniformCartesian< T, Dim >, ippl::UniformCartesian< double, Dim >, and ippl::UniformCartesian< Tlhs, Dim >.
| KOKKOS_INLINE_FUNCTION Mesh< T, Dim >::vector_type ippl::Mesh< T, Dim >::getOrigin | ( | ) | const |
Definition at line 10 of file Mesh.hpp.
References origin_m.
Referenced by ippl::assemble_rhs_from_particles(), ippl::interpolate_to_diracs(), and ippl::OrthogonalRecursiveBisection< Field, Tp >::scatterR().
|
pure virtual |
| KOKKOS_INLINE_FUNCTION void ippl::Mesh< T, Dim >::setOrigin | ( | const vector_type & | origin | ) |
|
protected |
Definition at line 61 of file Mesh.h.
Referenced by getGridsize(), and getGridsize().
|
protected |
Definition at line 60 of file Mesh.h.
Referenced by getOrigin(), ippl::UniformCartesian< double, Dim >::getVertexPosition(), and setOrigin().