#include "slepcbv.h" PetscErrorCode BVDotQuadrature(BV Y,BV V,PetscScalar *Mu,PetscInt M,PetscInt L,PetscInt L_max,PetscScalar *w,PetscScalar *zn,PetscSubcomm subcomm,PetscInt npoints,PetscBool useconj)Collective
Y | - first basis vectors | |
V | - second basis vectors | |
M | - number of moments | |
L | - block size | |
L_max | - maximum block size | |
w | - quadrature weights | |
zn | - normalized quadrature points | |
subcomm | - subcommunicator layout | |
npoints | - number of points to process by the subcommunicator | |
useconj | - whether conjugate points can be used or not |
Mu | - computed result |
When using subcommunicators, Y is stored in the subcommunicators for a subset of integration points. In that case, the computation is done in the subcomm and then the final result is combined via reduction. The value npoints is the number of points to be processed in this subcomm and the flag useconj indicates whether symmetric points can be reused.