class AffineConstraints;
#endif
-/**
- * ConstraintMatrix has been renamed to AffineConstraints. Provide a
- * compatibility alias that defaults to AffineConstraints<double>.
- *
- * @deprecated Use AffineConstraints<double> instead of ConstraintMatrix
- */
-using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints<double>;
-// Note: Unfortunately, we cannot move this compatibility alias into
-// constraint_matrix.h directly. This would break a lot of user projects
-// that include constraint_matrix.h transitively due to various deal.II
-// headers that include the file.
-
-
// TODO[WB]: We should have a function of the kind
// AffineConstraints::add_constraint (const size_type constrained_dof,
// const std::vector<std::pair<size_type, number> > &entries,
const QGauss<dim - 1> qf_face;
const unsigned int n_q_points;
const unsigned int n_q_points_f;
- ConstraintMatrix constraints;
+ AffineConstraints<double> constraints;
BlockSparsityPattern sparsity_pattern;
BlockSparseMatrix<double> tangent_matrix;
BlockVector<double> system_rhs;
make_grid();
system_setup();
{
- ConstraintMatrix constraints;
+ AffineConstraints<double> constraints;
constraints.close();
const ComponentSelectFunction<dim> J_mask(J_component, n_components);
VectorTools::project(dof_handler_ref,
const QGauss<dim - 1> qf_face;
const unsigned int n_q_points;
const unsigned int n_q_points_f;
- ConstraintMatrix constraints;
+ AffineConstraints<double> constraints;
BlockSparsityPattern sparsity_pattern;
BlockSparseMatrix<double> tangent_matrix;
BlockVector<double> system_rhs;
make_grid();
system_setup();
{
- ConstraintMatrix constraints;
+ AffineConstraints<double> constraints;
constraints.close();
const ComponentSelectFunction<dim> J_mask(J_component, n_components);
VectorTools::project(dof_handler_ref,
const QGauss<dim - 1> qf_face;
const unsigned int n_q_points;
const unsigned int n_q_points_f;
- ConstraintMatrix constraints;
+ AffineConstraints<double> constraints;
BlockSparsityPattern sparsity_pattern;
BlockSparseMatrix<double> tangent_matrix;
BlockVector<double> system_rhs;
make_grid();
system_setup();
{
- ConstraintMatrix constraints;
+ AffineConstraints<double> constraints;
constraints.close();
const ComponentSelectFunction<dim> J_mask(J_component, n_components);
VectorTools::project(dof_handler_ref,
Triangulation<dim> triangulation;
GridGenerator::hyper_cube(triangulation, 0, 1, true);
- MappingQ<dim> mapping(1);
- ConstraintMatrix constraints;
+ MappingQ<dim> mapping(1);
+ AffineConstraints<double> constraints;
// Testing cases with only Nedelec Elements in FE_System
{