Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
dof_tools_constraints.cc File Reference
#include <deal.II/base/table.h>
#include <deal.II/base/template_constraints.h>
#include <deal.II/base/utilities.h>
#include <deal.II/base/work_stream.h>
#include <deal.II/dofs/dof_accessor.h>
#include <deal.II/dofs/dof_handler.h>
#include <deal.II/dofs/dof_tools.h>
#include <deal.II/fe/fe.h>
#include <deal.II/fe/fe_tools.h>
#include <deal.II/fe/fe_values.h>
#include <deal.II/grid/filtered_iterator.h>
#include <deal.II/grid/grid_tools.h>
#include <deal.II/grid/intergrid_map.h>
#include <deal.II/grid/tria.h>
#include <deal.II/grid/tria_iterator.h>
#include <deal.II/hp/fe_collection.h>
#include <deal.II/hp/fe_values.h>
#include <deal.II/lac/affine_constraints.h>
#include <deal.II/lac/vector.h>
#include <deal.II/lac/la_parallel_vector.h>
#include <algorithm>
#include <array>
#include <memory>
#include <numeric>
#include "dof_tools_constraints.inst"

Go to the source code of this file.

Classes

struct  DoFTools::internal::Assembler::Scratch
 
struct  DoFTools::internal::Assembler::CopyData< dim, spacedim >
 

Namespaces

namespace  DoFTools
 
namespace  DoFTools::internal
 
namespace  DoFTools::internal::Assembler
 

Functions

template<typename number , int spacedim>
void DoFTools::internal::make_hp_hanging_node_constraints (const DoFHandler< 1, spacedim > &, AffineConstraints< number > &)
 
template<typename number , int spacedim>
void DoFTools::internal::make_hanging_node_constraints_nedelec (const ::DoFHandler< 1, spacedim > &, AffineConstraints< number > &, std::integral_constant< int, 1 >)
 
template<typename number , int spacedim>
void DoFTools::internal::make_oldstyle_hanging_node_constraints (const DoFHandler< 1, spacedim > &, AffineConstraints< number > &, std::integral_constant< int, 1 >)
 
template<int dim_, int spacedim, typename number >
void DoFTools::internal::make_oldstyle_hanging_node_constraints (const DoFHandler< dim_, spacedim > &dof_handler, AffineConstraints< number > &constraints, std::integral_constant< int, 2 >)
 
template<int dim_, int spacedim, typename number >
void DoFTools::internal::make_oldstyle_hanging_node_constraints (const DoFHandler< dim_, spacedim > &dof_handler, AffineConstraints< number > &constraints, std::integral_constant< int, 3 >)
 
template<int dim_, int spacedim, typename number >
void DoFTools::internal::make_hanging_node_constraints_nedelec (const DoFHandler< dim_, spacedim > &dof_handler, AffineConstraints< number > &constraints, std::integral_constant< int, 2 >)
 
template<int dim_, int spacedim, typename number >
void DoFTools::internal::make_hanging_node_constraints_nedelec (const DoFHandler< dim_, spacedim > &dof_handler, AffineConstraints< number > &constraints, std::integral_constant< int, 3 >)
 
template<int dim, int spacedim, typename number >
void DoFTools::internal::make_hp_hanging_node_constraints (const DoFHandler< dim, spacedim > &dof_handler, AffineConstraints< number > &constraints)
 
template<typename FaceIterator , typename number >
void DoFTools::internal::set_periodicity_constraints (const FaceIterator &face_1, const std_cxx20::type_identity_t< FaceIterator > &face_2, const FullMatrix< double > &transformation, AffineConstraints< number > &affine_constraints, const ComponentMask &component_mask, const unsigned char combined_orientation, const number periodicity_factor, const unsigned int level=numbers::invalid_unsigned_int)
 
template<int dim, int spacedim, typename number >
void DoFTools::make_periodicity_constraints (const DoFHandler< dim, spacedim > &dof_handler, const types::boundary_id b_id1, const types::boundary_id b_id2, const unsigned int direction, ::AffineConstraints< number > &constraints, const ComponentMask &component_mask, const number periodicity_factor)
 
Hanging nodes and other constraints
template<int dim, int spacedim, typename number >
void DoFTools::make_hanging_node_constraints (const DoFHandler< dim, spacedim > &dof_handler, AffineConstraints< number > &constraints)
 
template<int dim, int spacedim>
void DoFTools::compute_intergrid_constraints (const DoFHandler< dim, spacedim > &coarse_grid, const unsigned int coarse_component, const DoFHandler< dim, spacedim > &fine_grid, const unsigned int fine_component, const InterGridMap< DoFHandler< dim, spacedim > > &coarse_to_fine_grid_map, AffineConstraints< double > &constraints)
 
template<int dim, int spacedim>
void DoFTools::compute_intergrid_transfer_representation (const DoFHandler< dim, spacedim > &coarse_grid, const unsigned int coarse_component, const DoFHandler< dim, spacedim > &fine_grid, const unsigned int fine_component, const InterGridMap< DoFHandler< dim, spacedim > > &coarse_to_fine_grid_map, std::vector< std::map< types::global_dof_index, float > > &transfer_representation)
 
Periodic boundary conditions
template<typename FaceIterator , typename number >
void DoFTools::make_periodicity_constraints (const FaceIterator &face_1, const std_cxx20::type_identity_t< FaceIterator > &face_2, AffineConstraints< number > &constraints, const ComponentMask &component_mask={}, const unsigned char combined_orientation=ReferenceCell::default_combined_face_orientation(), const FullMatrix< double > &matrix=FullMatrix< double >(), const std::vector< unsigned int > &first_vector_components=std::vector< unsigned int >(), const number periodicity_factor=1.)
 
template<int dim, int spacedim, typename number >
void DoFTools::make_periodicity_constraints (const std::vector< GridTools::PeriodicFacePair< typename DoFHandler< dim, spacedim >::cell_iterator > > &periodic_faces, AffineConstraints< number > &constraints, const ComponentMask &component_mask={}, const std::vector< unsigned int > &first_vector_components=std::vector< unsigned int >(), const number periodicity_factor=1.)
 
template<int dim, int spacedim, typename number >
void DoFTools::make_periodicity_constraints (const DoFHandler< dim, spacedim > &dof_handler, const types::boundary_id b_id, const unsigned int direction, AffineConstraints< number > &constraints, const ComponentMask &component_mask={}, const number periodicity_factor=1.)
 
Miscellaneous
template<int dim, int spacedim, typename number >
void DoFTools::make_zero_boundary_constraints (const DoFHandler< dim, spacedim > &dof, const types::boundary_id boundary_id, AffineConstraints< number > &zero_boundary_constraints, const ComponentMask &component_mask={})
 
template<int dim, int spacedim, typename number >
void DoFTools::make_zero_boundary_constraints (const DoFHandler< dim, spacedim > &dof, AffineConstraints< number > &zero_boundary_constraints, const ComponentMask &component_mask={})