deal.II version GIT relicensing-1991-gec5bc16adb 2024-10-14 08:00:00+00:00
\(\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
Namespaces | Functions
grid_refinement.cc File Reference
#include <deal.II/base/utilities.h>
#include <deal.II/lac/block_vector.h>
#include <deal.II/lac/trilinos_parallel_block_vector.h>
#include <deal.II/lac/trilinos_vector.h>
#include <deal.II/lac/vector.h>
#include <deal.II/distributed/grid_refinement.h>
#include <deal.II/grid/filtered_iterator.h>
#include <deal.II/grid/grid_refinement.h>
#include <deal.II/grid/tria.h>
#include <deal.II/grid/tria_accessor.h>
#include <deal.II/grid/tria_iterator.h>
#include <algorithm>
#include <functional>
#include <limits>
#include <numeric>
#include "grid_refinement.inst"

Go to the source code of this file.

Namespaces

namespace  internal
 
namespace  internal::parallel
 
namespace  internal::parallel::distributed
 
namespace  internal::parallel::distributed::GridRefinement
 
namespace  internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedNumber
 
namespace  internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedFraction
 
namespace  parallel
 
namespace  parallel::distributed
 
namespace  parallel::distributed::GridRefinement
 

Functions

template<typename number >
std::pair< number, number > internal::parallel::distributed::GridRefinement::compute_global_min_and_max_at_root (const ::Vector< number > &criteria, const MPI_Comm mpi_communicator)
 
template<typename number >
number internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedNumber::compute_threshold (const ::Vector< number > &criteria, const std::pair< double, double > &global_min_and_max, const types::global_cell_index n_target_cells, const MPI_Comm mpi_communicator)
 
template<typename number >
number internal::parallel::distributed::GridRefinement::RefineAndCoarsenFixedFraction::compute_threshold (const ::Vector< number > &criteria, const std::pair< double, double > &global_min_and_max, const double target_error, const MPI_Comm mpi_communicator)
 
template<int dim, typename Number , int spacedim>
void parallel::distributed::GridRefinement::refine_and_coarsen_fixed_number (::Triangulation< dim, spacedim > &tria, const ::Vector< Number > &criteria, const double top_fraction_of_cells, const double bottom_fraction_of_cells, const types::global_cell_index max_n_cells=std::numeric_limits< types::global_cell_index >::max())
 
template<int dim, typename Number , int spacedim>
void parallel::distributed::GridRefinement::refine_and_coarsen_fixed_fraction (::Triangulation< dim, spacedim > &tria, const ::Vector< Number > &criteria, const double top_fraction_of_error, const double bottom_fraction_of_error, const VectorTools::NormType norm_type=VectorTools::L1_norm)