auto cell_worker = [](const Iterator &cell, ScratchData &s, CopyData &c) {
const auto &fev = s.reinit(cell);
const auto &JxW = s.get_JxW_values();
- c = 0;
for (auto w : JxW)
c.vectors[0][0] += w;
};
auto cell_worker = [](const Iterator &cell, ScratchData &s, CopyData &c) {
const auto &fev = s.reinit(cell);
const auto &JxW = s.get_JxW_values();
- c = 0;
for (auto w : JxW)
c.vectors[0][0] += w;
};
auto cell_worker = [](const Iterator &cell, ScratchData &s, CopyData &c) {
const auto &fev = s.reinit(cell);
const auto &JxW = s.get_JxW_values();
- c = 0;
for (auto w : JxW)
c.vectors[0][0] += w;
};
ScratchData & scratch_data,
CopyData & copy_data) {
const auto &fe_values = scratch_data.reinit(cell);
- copy_data = 0;
for (unsigned int q_point = 0; q_point < fe_values.n_quadrature_points;
++q_point)
auto cell_worker = [](const Iterator &cell, ScratchData &s, CopyData &c) {
const auto &fev = s.reinit(cell);
const auto &JxW = s.get_JxW_values();
- c = 0;
for (auto w : JxW)
c.vectors[0][0] += w;
};
const auto &JxW = s.get_JxW_values();
const auto &p = s.get_quadrature_points();
- c = 0;
-
c.local_dof_indices[0] = s.get_local_dof_indices();
for (unsigned int q = 0; q < p.size(); ++q)
const auto &JxW = s.get_JxW_values();
const auto &p = s.get_quadrature_points();
- c = 0;
-
c.local_dof_indices[0] = s.get_local_dof_indices();
for (unsigned int q = 0; q < p.size(); ++q)
const auto &u = s.get_values("solution", scalar, dummy);
const auto &grad_u = s.get_gradients("solution", scalar, dummy);
- c = 0;
-
c.local_dof_indices[0] = s.get_local_dof_indices();
for (unsigned int i = 0; i < fev.dofs_per_cell; ++i)
const auto &u = s.get_values("solution", scalar, energy);
const auto &grad_u = s.get_gradients("solution", scalar, energy);
- c = 0;
-
c.local_dof_indices[0] = s.get_local_dof_indices();
for (unsigned int q = 0; q < p.size(); ++q)
const auto &u = s.get_values("solution", scalar, energy);
const auto &grad_u = s.get_gradients("solution", scalar, energy);
- c = 0;
-
c.local_dof_indices[0] = s.get_local_dof_indices();
for (unsigned int q = 0; q < p.size(); ++q)