#ifndef CEED_VECTORPOISSON1DAPPLY_H
#define CEED_VECTORPOISSON1DAPPLY_H
#include <ceed.h>
CEED_QFUNCTION(Vector3Poisson1DApply)(void *ctx, const CeedInt Q, const CeedScalar *const *in, CeedScalar *const *out) {
const CeedScalar(*ug)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0], (*q_data) = in[1];
CeedScalar(*vg)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0];
const CeedInt num_comp = 3;
CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) {
for (CeedInt c = 0; c < num_comp; c++) {
vg[c][i] = ug[c][i] * q_data[i];
}
}
return CEED_ERROR_SUCCESS;
}
#endif