5 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 3, 1>
13 for (
int k = 0; k < gradi.rows(); ++k)
15 res += gradi.row(k).dot(gradj.row(k)) * data.
da(k);
17 return Eigen::Matrix<double, 1, 1>::Constant(res);
20 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 9, 1>
24 return Eigen::Matrix<double, 1, 1>::Constant(tmp);
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 9, 1 > assemble(const LinearAssemblerData &data) const override
local assembly function that defines the bilinear form (LHS) computes and returns a single local stif...
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 3, 1 > assemble(const MixedAssemblerData &data) const override
std::vector< AssemblyValues > basis_values
const ElementAssemblyValues & vals
stores the evaluation for that element
const QuadratureVector & da
contains both the quadrature weight and the change of metric in the integral
const int i
first local order
const int j
second local order
const QuadratureVector & da
contains both the quadrature weight and the change of metric in the integral
const int i
first local order
const int j
second local order
const ElementAssemblyValues & phi_vals
stores the evaluation for that element
const ElementAssemblyValues & psi_vals
stores the evaluation for that element