Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects

Resolve "Add unit tests for BareField"

Merged vinciguerra_a requested to merge 88-add-unit-tests-for-barefield into master
All threads resolved!
Files
3
+ 12
0
@@ -199,6 +199,12 @@ namespace ippl {
return Kokkos::create_mirror(dview_m);
}
/*!
* Generate the 2D range policy for iterating over the field,
* excluding ghost layers
* @param nghost Number of ghost layers to include in the range policy (default 0)
* @return Range policy for iterating over the field and nghost of the ghost layers
*/
template <unsigned dim = Dim, std::enable_if_t<(dim == 2), bool> = true>
policy_type getRangePolicy(const int nghost = 0) const {
PAssert_LE(nghost, nghost_m);
@@ -208,6 +214,12 @@ namespace ippl {
dview_m.extent(1) - shift});
}
/*!
* Generate the 3D range policy for iterating over the field,
* excluding ghost layers
* @param nghost Number of ghost layers to include in the range policy (default 0)
* @return Range policy for iterating over the field and nghost of the ghost layers
*/
template <unsigned dim = Dim, std::enable_if_t<(dim == 3), bool> = true>
policy_type getRangePolicy(const int nghost = 0) const {
PAssert_LE(nghost, nghost_m);
Loading