PRISMS-PF Manual
Loading...
Searching...
No Matches
system_wide.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
2// SPDX-License-Identifier: GNU Lesser General Public Version 2.1
3
4#pragma once
5
6#include <deal.II/base/mg_level_object.h>
7#include <deal.II/base/quadrature_lib.h>
8#include <deal.II/fe/fe_q.h>
9#include <deal.II/fe/fe_system.h>
10#include <deal.II/fe/mapping_q1.h>
11
12#include <prismspf/core/types.h>
13
14#include <prismspf/config.h>
15
17
22template <unsigned int dim, unsigned int degree>
24{
25public:
29 inline static const std::array<const dealii::FESystem<dim>, 2> fe_systems = {
30 dealii::FESystem<dim>(dealii::FE_Q<dim>(dealii::QGaussLobatto<1>(degree + 1)), 1),
31 dealii::FESystem<dim>(dealii::FE_Q<dim>(dealii::QGaussLobatto<1>(degree + 1)), dim)};
32
36 inline static const dealii::MappingQ1<dim> mapping;
37
41 inline static const dealii::QGaussLobatto<dim> quadrature =
42 dealii::QGaussLobatto<dim>(degree + 1);
43};
44
This is the main class that handles the construction and solving of user-specified PDEs.
Definition system_wide.h:24
static const std::array< const dealii::FESystem< dim >, 2 > fe_systems
Scalar and Vector FE systems.
Definition system_wide.h:29
static const dealii::QGaussLobatto< dim > quadrature
Quadrature rule.
Definition system_wide.h:41
static const dealii::MappingQ1< dim > mapping
Mappings to and from reference cell.
Definition system_wide.h:36
@ Value
Use value of the variable as a criterion for refinement.
Definition grid_refiner_criterion.h:31
Definition conditional_ostreams.cc:20