|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include <UniformCartesian.h>
Public Types | |
| typedef Mesh< T, Dim >::vector_type | vector_type |
| typedef Cell | DefaultCentering |
| enum | { Dimension = Dim } |
| typedef T | value_type |
| typedef Vector< vector_type, Dim > | matrix_type |
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION | UniformCartesian () |
| KOKKOS_INLINE_FUNCTION | UniformCartesian (const NDIndex< Dim > &ndi, const vector_type &hx, const vector_type &origin) |
| KOKKOS_INLINE_FUNCTION | ~UniformCartesian ()=default |
| KOKKOS_INLINE_FUNCTION void | initialize (const NDIndex< Dim > &ndi, const vector_type &hx, const vector_type &origin) |
| KOKKOS_INLINE_FUNCTION void | setMeshSpacing (const vector_type &meshSpacing) |
| KOKKOS_INLINE_FUNCTION T | getMeshSpacing (unsigned dim) const |
| KOKKOS_INLINE_FUNCTION const vector_type & | getMeshSpacing () const override |
| KOKKOS_INLINE_FUNCTION T | getCellVolume () const override |
| KOKKOS_INLINE_FUNCTION T | getMeshVolume () const override |
| KOKKOS_INLINE_FUNCTION void | updateCellVolume_m () |
| KOKKOS_INLINE_FUNCTION vector_type | getVertexPosition (const NDIndex< Dim > &ndi) const override |
| KOKKOS_INLINE_FUNCTION vector_type | getDeltaVertex (const NDIndex< Dim > &ndi) const override |
| KOKKOS_INLINE_FUNCTION vector_type | getOrigin () const |
| KOKKOS_INLINE_FUNCTION void | setOrigin (const vector_type &origin) |
| KOKKOS_INLINE_FUNCTION const vector_type & | getGridsize () const |
| KOKKOS_INLINE_FUNCTION T | getGridsize (size_t dim) const |
Protected Attributes | |
| vector_type | origin_m |
| vector_type | gridSizes_m |
Private Attributes | |
| vector_type | meshSpacing_m |
| T | volume_m |
Definition at line 14 of file UniformCartesian.h.
| typedef Cell ippl::UniformCartesian< T, Dim >::DefaultCentering |
Definition at line 17 of file UniformCartesian.h.
|
inherited |
|
inherited |
| typedef Mesh<T,Dim>::vector_type ippl::UniformCartesian< T, Dim >::vector_type |
Definition at line 16 of file UniformCartesian.h.
|
inherited |
| KOKKOS_INLINE_FUNCTION ippl::UniformCartesian< T, Dim >::UniformCartesian | ( | ) |
Definition at line 14 of file UniformCartesian.hpp.
References Dim, ippl::Mesh< T, Dim >::Mesh(), and volume_m.
| KOKKOS_INLINE_FUNCTION ippl::UniformCartesian< T, Dim >::UniformCartesian | ( | const NDIndex< Dim > & | ndi, |
| const vector_type & | hx, | ||
| const vector_type & | origin ) |
Definition at line 19 of file UniformCartesian.hpp.
References ippl::initialize().
|
default |
|
overridevirtual |
Query the cell volume of the grid
Implements ippl::Mesh< T, Dim >.
Definition at line 60 of file UniformCartesian.hpp.
References volume_m.
|
inlineoverridevirtual |
Implements ippl::Mesh< T, Dim >.
Definition at line 56 of file UniformCartesian.h.
|
inherited |
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().
|
inherited |
Definition at line 26 of file Mesh.hpp.
References gridSizes_m.
|
overridevirtual |
Implements ippl::Mesh< T, Dim >.
Definition at line 55 of file UniformCartesian.hpp.
References meshSpacing_m.
| KOKKOS_INLINE_FUNCTION T ippl::UniformCartesian< T, Dim >::getMeshSpacing | ( | unsigned | dim | ) | const |
Definition at line 48 of file UniformCartesian.hpp.
References Dim, meshSpacing_m, and PAssert_LT.
Referenced by getMeshVolume().
|
overridevirtual |
Query the volume of the represented domain
Implements ippl::Mesh< T, Dim >.
Definition at line 65 of file UniformCartesian.hpp.
References Dim, ippl::Mesh< T, Dim >::getGridsize(), and getMeshSpacing().
|
inherited |
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().
|
inlineoverridevirtual |
Implements ippl::Mesh< T, Dim >.
Definition at line 45 of file UniformCartesian.h.
| KOKKOS_INLINE_FUNCTION void ippl::UniformCartesian< T, Dim >::initialize | ( | const NDIndex< Dim > & | ndi, |
| const vector_type & | hx, | ||
| const vector_type & | origin ) |
Definition at line 26 of file UniformCartesian.hpp.
References meshSpacing_m.
| KOKKOS_INLINE_FUNCTION void ippl::UniformCartesian< T, Dim >::setMeshSpacing | ( | const vector_type & | meshSpacing | ) |
Definition at line 41 of file UniformCartesian.hpp.
References meshSpacing_m, and updateCellVolume_m().
|
inherited |
| KOKKOS_INLINE_FUNCTION void ippl::UniformCartesian< T, Dim >::updateCellVolume_m | ( | ) |
Definition at line 74 of file UniformCartesian.hpp.
References Dim, meshSpacing_m, and volume_m.
Referenced by setMeshSpacing().
|
protectedinherited |
Definition at line 61 of file Mesh.h.
Referenced by getGridsize(), and getGridsize().
|
private |
Definition at line 64 of file UniformCartesian.h.
Referenced by getMeshSpacing(), getMeshSpacing(), initialize(), setMeshSpacing(), and updateCellVolume_m().
|
protectedinherited |
Definition at line 60 of file Mesh.h.
Referenced by getOrigin(), ippl::UniformCartesian< double, Dim >::getVertexPosition(), and setOrigin().
|
private |
Definition at line 65 of file UniformCartesian.h.
Referenced by getCellVolume(), UniformCartesian(), and updateCellVolume_m().