-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add interface for per element operations #35
base: main
Are you sure you want to change the base?
Conversation
copied from cws/cavityOp prototype code
/runtests |
Test Result: failure (details) |
/runtests |
Test Result: failure (details) |
/runtests |
Test Result: failure (details) |
template <size_t NumPtsPerElem> | ||
Kokkos::View<MeshField::Real *[3]> | ||
createElmAreaCoords(size_t numElements, | ||
Kokkos::Array<MeshField::Real, 3 * NumPtsPerElem> coords) { |
Check notice
Code scanning / CodeQL
Large object passed by value Note test
Array<double, 9UL, void>
TestCoords{allVertices, ThreePtsPerElem, "allVertices"}}; | ||
// clang-format on | ||
|
||
static const size_t LinearField = 1; |
Check notice
Code scanning / CodeQL
Unused static variable Note test
// clang-format on | ||
|
||
static const size_t LinearField = 1; | ||
static const size_t QuadraticField = 2; |
Check notice
Code scanning / CodeQL
Unused static variable Note test
moved getFlatViewSize to private and renamed to totalSize
|
||
Field(Slice s) : slice(s) {} | ||
Field(Slice s) : slice(s), divisors(computeDivisors()) {} |
Check notice
Code scanning / CodeQL
Large object passed by value Note
KokkosSliceWrapper<View<long *****, HostSpace>, long *****>
This parameter of type
KokkosSliceWrapper<View<int *****, HostSpace>, int *****>
|
This includes:
Discussion:
Todo:
serialize
see serialize: index computation error for rank 3 views #39