Namespaces | Enumerations | Functions

include/deal.II/dofs/dof_tools.h File Reference

Include dependency graph for dof_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hp
namespace  DoFTools

Enumerations

enum  DoFTools::Coupling { DoFTools::none, DoFTools::always, DoFTools::nonzero }

Functions

template<class DH , typename Number >
void DoFTools::distribute_cell_to_dof_vector (const DH &dof_handler, const Vector< Number > &cell_data, Vector< double > &dof_data, const unsigned int component=0)
template<int dim, int spacedim>
void DoFTools::extract_dofs (const DoFHandler< dim, spacedim > &dof_handler, const std::vector< bool > &select, std::vector< bool > &selected_dofs, const bool blocks=false)
template<int dim, int spacedim>
void DoFTools::extract_dofs (const hp::DoFHandler< dim, spacedim > &dof_handler, const std::vector< bool > &select, std::vector< bool > &selected_dofs, const bool blocks=false)
template<int dim, int spacedim>
void DoFTools::extract_level_dofs (const unsigned int level, const MGDoFHandler< dim, spacedim > &dof, const std::vector< bool > &select, std::vector< bool > &selected_dofs, const bool blocks=false)
template<class DH >
void DoFTools::extract_boundary_dofs (const DH &dof_handler, const std::vector< bool > &component_select, std::vector< bool > &selected_dofs, const std::set< unsigned char > &boundary_indicators=std::set< unsigned char >())
template<class DH >
void DoFTools::extract_dofs_with_support_on_boundary (const DH &dof_handler, const std::vector< bool > &component_select, std::vector< bool > &selected_dofs, const std::set< unsigned char > &boundary_indicators=std::set< unsigned char >())
template<class DH >
void DoFTools::extract_constant_modes (const DH &dof_handler, const std::vector< bool > &component_select, std::vector< std::vector< bool > > &constant_modes)
template<class DH >
void DoFTools::get_active_fe_indices (const DH &dof_handler, std::vector< unsigned int > &active_fe_indices)
template<class DH >
void DoFTools::count_dofs_per_component (const DH &dof_handler, std::vector< unsigned int > &dofs_per_component, const bool vector_valued_once=false, std::vector< unsigned int > target_component=std::vector< unsigned int >())
template<class DH >
void DoFTools::count_dofs_per_block (const DH &dof, std::vector< unsigned int > &dofs_per_block, std::vector< unsigned int > target_block=std::vector< unsigned int >())
template<int dim, int spacedim>
void DoFTools::count_dofs_per_component (const DoFHandler< dim, spacedim > &dof_handler, std::vector< unsigned int > &dofs_per_component, std::vector< unsigned int > target_component)
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, ConstraintMatrix &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< unsigned int, float > > &transfer_representation)
template<class DH >
void DoFTools::map_dof_to_boundary_indices (const DH &dof_handler, std::vector< unsigned int > &mapping)
template<class DH >
void DoFTools::map_dof_to_boundary_indices (const DH &dof_handler, const std::set< unsigned char > &boundary_indicators, std::vector< unsigned int > &mapping)
template<int dim, int spacedim>
void DoFTools::map_dofs_to_support_points (const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof_handler, std::vector< Point< spacedim > > &support_points)
template<int dim, int spacedim>
void DoFTools::map_dofs_to_support_points (const ::hp::MappingCollection< dim, spacedim > &mapping, const hp::DoFHandler< dim, spacedim > &dof_handler, std::vector< Point< spacedim > > &support_points)
template<class DH , class Comp >
void DoFTools::map_support_points_to_dofs (const Mapping< DH::dimension, DH::space_dimension > &mapping, const DH &dof_handler, std::map< Point< DH::space_dimension >, unsigned int, Comp > &point_to_index_map)
template<int dim, int spacedim>
void DoFTools::convert_couplings_to_blocks (const hp::DoFHandler< dim, spacedim > &dof_handler, const Table< 2, Coupling > &table_by_component, std::vector< Table< 2, Coupling > > &tables_by_block)
template<int dim, int spacedim, template< int, int > class DH>
void DoFTools::make_zero_boundary_constraints (const DH< dim, spacedim > &dof, ConstraintMatrix &zero_boundary_constraints, const std::vector< bool > &component_mask_=std::vector< bool >())
template<int dim, int spacedim>
void DoFTools::convert_couplings_to_blocks (const DoFHandler< dim, spacedim > &dof_handler, const Table< 2, Coupling > &table_by_component, std::vector< Table< 2, Coupling > > &tables_by_block)
template<int dim, int spacedim>
Table< 2, Coupling > DoFTools::dof_couplings_from_component_couplings (const FiniteElement< dim, spacedim > &fe, const Table< 2, Coupling > &component_couplings)
template<int dim, int spacedim>
std::vector< Table< 2, Coupling > > DoFTools::dof_couplings_from_component_couplings (const hp::FECollection< dim, spacedim > &fe, const Table< 2, Coupling > &component_couplings)
::ExceptionBaseDoFTools::ExcFiniteElementsDontMatch ()
::ExceptionBaseDoFTools::ExcGridNotCoarser ()
::ExceptionBaseDoFTools::ExcGridsDontMatch ()
::ExceptionBaseDoFTools::ExcNoFESelected ()
::ExceptionBaseDoFTools::ExcInvalidBoundaryIndicator ()
Sparsity Pattern Generation
template<class DH , class SparsityPattern >
void DoFTools::make_sparsity_pattern (const DH &dof, SparsityPattern &sparsity_pattern, const ConstraintMatrix &constraints=ConstraintMatrix(), const bool keep_constrained_dofs=true, const types::subdomain_id_t subdomain_id=types::invalid_subdomain_id)
template<class DH , class SparsityPattern >
void DoFTools::make_sparsity_pattern (const DH &dof, const Table< 2, Coupling > &coupling, SparsityPattern &sparsity_pattern, const ConstraintMatrix &constraints=ConstraintMatrix(), const bool keep_constrained_dofs=true, const types::subdomain_id_t subdomain_id=types::invalid_subdomain_id)
template<class DH , class SparsityPattern >
void DoFTools::make_sparsity_pattern (const DH &dof, const std::vector< std::vector< bool > > &mask, SparsityPattern &sparsity_pattern)
template<class DH , class SparsityPattern >
void DoFTools::make_sparsity_pattern (const DH &dof_row, const DH &dof_col, SparsityPattern &sparsity)
template<class DH , class SparsityPattern >
void DoFTools::make_boundary_sparsity_pattern (const DH &dof, const std::vector< unsigned int > &dof_to_boundary_mapping, SparsityPattern &sparsity_pattern)
template<class DH , class SparsityPattern >
void DoFTools::make_boundary_sparsity_pattern (const DH &dof, const typename FunctionMap< DH::space_dimension >::type &boundary_indicators, const std::vector< unsigned int > &dof_to_boundary_mapping, SparsityPattern &sparsity)
template<class DH , class SparsityPattern >
void DoFTools::make_flux_sparsity_pattern (const DH &dof_handler, SparsityPattern &sparsity_pattern)
template<class DH , class SparsityPattern >
void DoFTools::make_flux_sparsity_pattern (const DH &dof_handler, SparsityPattern &sparsity_pattern, const ConstraintMatrix &constraints, const bool keep_constrained_dofs=true, const types::subdomain_id_t subdomain_id=numbers::invalid_unsigned_int)
template<class DH , class SparsityPattern >
void DoFTools::make_flux_sparsity_pattern (const DH &dof, SparsityPattern &sparsity, const Table< 2, Coupling > &int_mask, const Table< 2, Coupling > &flux_mask)
Hanging Nodes
template<class DH >
void DoFTools::make_hanging_node_constraints (const DH &dof_handler, ConstraintMatrix &constraints)
template<int dim, int spacedim>
void DoFTools::extract_hanging_node_dofs (const DoFHandler< dim, spacedim > &dof_handler, std::vector< bool > &selected_dofs)
Parallelization and domain decomposition
template<class DH >
void DoFTools::extract_subdomain_dofs (const DH &dof_handler, const types::subdomain_id_t subdomain_id, std::vector< bool > &selected_dofs)
template<class DH >
void DoFTools::extract_locally_owned_dofs (const DH &dof_handler, IndexSet &dof_set)
template<class DH >
void DoFTools::extract_locally_active_dofs (const DH &dof_handler, IndexSet &dof_set)
template<class DH >
void DoFTools::extract_locally_relevant_dofs (const DH &dof_handler, IndexSet &dof_set)
template<class DH >
void DoFTools::get_subdomain_association (const DH &dof_handler, std::vector< types::subdomain_id_t > &subdomain)
template<class DH >
unsigned int DoFTools::count_dofs_with_subdomain_association (const DH &dof_handler, const types::subdomain_id_t subdomain)
template<class DH >
void DoFTools::count_dofs_with_subdomain_association (const DH &dof_handler, const types::subdomain_id_t subdomain, std::vector< unsigned int > &n_dofs_on_subdomain)
template<class DH >
IndexSet DoFTools::dof_indices_with_subdomain_association (const DH &dof_handler, const types::subdomain_id_t subdomain)
Dof indices for patches

Create structures containing a large set of degrees of freedom for small patches of cells. The resulting objects can be used in RelaxationBlockSOR and related classes to implement Schwarz preconditioners and smoothers, where the subdomains consist of small numbers of cells only.

template<class DH , class Sparsity >
void DoFTools::make_cell_patches (Sparsity &block_list, const DH &dof_handler, const unsigned int level, const std::vector< bool > &selected_dofs=std::vector< bool >(), unsigned int offset=0)
template<class DH >
void DoFTools::make_vertex_patches (SparsityPattern &block_list, const DH &dof_handler, const unsigned int level, const bool interior_dofs_only, const bool boundary_patches=false, const bool level_boundary_patches=false, const bool single_cell_patches=false)
template<class DH >
void DoFTools::make_child_patches (SparsityPattern &block_list, const DH &dof_handler, const unsigned int level, const bool interior_dofs_only, const bool boundary_dofs=false)
template<class DH >
void DoFTools::make_single_patch (SparsityPattern &block_list, const DH &dof_handler, const unsigned int level, const bool interior_dofs_only=false)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:03:02 by doxygen 1.7.2