6#include <deal.II/dofs/dof_handler.h>
7#include <deal.II/fe/fe_values.h>
8#include <deal.II/lac/la_parallel_vector.h>
12#include <prismspf/config.h>
21template <
unsigned int dim,
unsigned int degree,
typename number>
25 using VectorType = dealii::LinearAlgebra::distributed::Vector<number>;
28 static dealii::Vector<number>
32 dealii::Tensor<rank, dim>::n_independent_components;
34 dealii::ExcMessage(
"The provided DoFHandler does not have the same number of "
35 "components as the expected ones. For scalar fields there "
36 "should be 1 component."));
44 dealii::update_values | dealii::update_JxW_values);
50 std::vector<dealii::Vector<number>>
quad_values(num_quad_points,
51 dealii::Vector<number>(
58 if (
cell->is_locally_owned())
68 for (
unsigned int q_point = 0; q_point < num_quad_points; ++q_point)
Compute the integral of a given field.
Definition integrator.h:23
static dealii::Vector< number > integrate(const dealii::DoFHandler< dim > &dof_handler, const auto &solution_vector)
Definition integrator.h:29
dealii::LinearAlgebra::distributed::Vector< number > VectorType
Definition integrator.h:25
This is the main class that handles the construction and solving of user-specified PDEs.
Definition system_wide.h:24
@ Value
Use value of the variable as a criterion for refinement.
Definition grid_refiner_criterion.h:31
Definition conditional_ostreams.cc:20