Reference documentation for deal.II version Git 662679e6de 2020-10-27 13:02:35 -0600
\(\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\}}\)
Namespaces
refinement.cc File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/mpi.h>
#include <deal.II/distributed/grid_refinement.h>
#include <deal.II/distributed/shared_tria.h>
#include <deal.II/distributed/tria_base.h>
#include <deal.II/grid/grid_refinement.h>
#include <deal.II/grid/grid_tools.h>
#include <deal.II/hp/dof_handler.h>
#include <deal.II/hp/refinement.h>
#include <deal.II/lac/vector.h>
#include "refinement.inst"

Go to the source code of this file.

Namespaces

 hp
 
 hp::Refinement
 

Functions

Setting p-adaptivity flags
template<int dim, int spacedim>
void hp::Refinement::full_p_adaptivity (const ::DoFHandler< dim, spacedim > &dof_handler)
 
template<int dim, int spacedim>
void hp::Refinement::p_adaptivity_from_flags (const ::DoFHandler< dim, spacedim > &dof_handler, const std::vector< bool > &p_flags)
 
template<int dim, typename Number , int spacedim>
void hp::Refinement::p_adaptivity_from_absolute_threshold (const ::DoFHandler< dim, spacedim > &dof_handler, const Vector< Number > &criteria, const Number p_refine_threshold, const Number p_coarsen_threshold, const ComparisonFunction< typename identity< Number >::type > &compare_refine=std::greater_equal< Number >(), const ComparisonFunction< typename identity< Number >::type > &compare_coarsen=std::less_equal< Number >())
 
template<int dim, typename Number , int spacedim>
void hp::Refinement::p_adaptivity_from_relative_threshold (const ::DoFHandler< dim, spacedim > &dof_handler, const Vector< Number > &criteria, const double p_refine_fraction=0.5, const double p_coarsen_fraction=0.5, const ComparisonFunction< typename identity< Number >::type > &compare_refine=std::greater_equal< Number >(), const ComparisonFunction< typename identity< Number >::type > &compare_coarsen=std::less_equal< Number >())
 
template<int dim, typename Number , int spacedim>
void hp::Refinement::p_adaptivity_fixed_number (const ::DoFHandler< dim, spacedim > &dof_handler, const Vector< Number > &criteria, const double p_refine_fraction=0.5, const double p_coarsen_fraction=0.5, const ComparisonFunction< typename identity< Number >::type > &compare_refine=std::greater_equal< Number >(), const ComparisonFunction< typename identity< Number >::type > &compare_coarsen=std::less_equal< Number >())
 
template<int dim, typename Number , int spacedim>
void hp::Refinement::p_adaptivity_from_regularity (const ::DoFHandler< dim, spacedim > &dof_handler, const Vector< Number > &sobolev_indices)
 
template<int dim, typename Number , int spacedim>
void hp::Refinement::p_adaptivity_from_reference (const ::DoFHandler< dim, spacedim > &dof_handler, const Vector< Number > &criteria, const Vector< Number > &references, const ComparisonFunction< typename identity< Number >::type > &compare_refine, const ComparisonFunction< typename identity< Number >::type > &compare_coarsen)
 
Error prediction
template<int dim, typename Number , int spacedim>
void hp::Refinement::predict_error (const ::DoFHandler< dim, spacedim > &dof_handler, const Vector< Number > &error_indicators, Vector< Number > &predicted_errors, const double gamma_p=std::sqrt(0.4), const double gamma_h=2., const double gamma_n=1.)
 
Decide between h- and p-adaptivity
template<int dim, int spacedim>
void hp::Refinement::force_p_over_h (const ::DoFHandler< dim, spacedim > &dof_handler)
 
template<int dim, int spacedim>
void hp::Refinement::choose_p_over_h (const ::DoFHandler< dim, spacedim > &dof_handler)