8#ifndef PECLET_CORE_SOLVER_VECTOR_OPS_HPP
9#define PECLET_CORE_SOLVER_VECTOR_OPS_HPP
19 Kokkos::parallel_reduce(
27 double omega, Index n) {
29 "amr::mom_pupdate", n,
void bicgPUpdate(View< double > p, View< const double > r, View< const double > v, double beta, double omega, Index n)
BiCGStab direction update: p = r + β(p − ω v).
double dotPlain(View< const double > a, View< const double > b, Index n)
Plain (unweighted) dot product.
void zpby(View< double > p, View< const double > z, double b, Index n)
p = z + b·p (CG direction update)
void axpy(View< double > y, double a, View< const double > x, Index n)
y += a·x
void negate(View< double > x, Index n)
y = −x (negate in place)
Kokkos::View< T *, MemSpace > View
1D device array.
std::int64_t Index
Signed index type for grids and particles (supersedes block_decomposer's long int IndxT).