include/meltpooldg/utilities/amr.hpp File Reference

Developer Documentation: include/meltpooldg/utilities/amr.hpp File Reference
Developer Documentation
amr.hpp File Reference
#include <deal.II/dofs/dof_handler.h>
#include <deal.II/grid/tria.h>
#include <meltpooldg/utilities/amr_data.hpp>
#include <meltpooldg/utilities/attach_vectors.hpp>
#include <functional>
#include <vector>
Include dependency graph for amr.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MeltPoolDG
 Interface for a general preconditioner.
 
namespace  MeltPoolDG::AMR
 
namespace  MeltPoolDG::AMR::internal
 

Typedefs

template<int dim>
using MeltPoolDG::AMR::MarkCellsForRefinementType = std::function< bool(dealii::Triangulation< dim > &)>
 

Functions

template<typename number >
bool MeltPoolDG::AMR::now (const AdaptiveMeshingData< number > &amr, const int n_time_step)
 
template<int dim, typename VectorType , typename number = typename VectorType::value_type>
void MeltPoolDG::AMR::refine_grid (const MarkCellsForRefinementType< dim > &mark_cells_for_refinement, const AttachDoFHandlerAndVectorsType< dim, VectorType > &attach_vectors, const std::function< void()> &setup_dof_system, const AdaptiveMeshingData< number > &amr, dealii::Triangulation< dim > &tria, const int n_time_step, const std::function< void()> &post=std::function< void()>(), const std::function< void()> &pre=std::function< void()>())
 
template<int dim, typename VectorType , typename number >
void MeltPoolDG::AMR::refine_grid (const std::function< bool(dealii::Triangulation< dim > &)> &mark_cells_for_refinement, const std::function< void(std::vector< VectorType * > &)> &attach_vectors, const std::function< void()> &setup_dof_system, const AdaptiveMeshingData< number > &amr, dealii::DoFHandler< dim > &dof_handler, const int n_time_step, const std::function< void()> &post=std::function< void()>(), const std::function< void()> &pre=std::function< void()>())
 
template<int dim, typename number >
bool MeltPoolDG::AMR::mark_fixed_number (dealii::Triangulation< dim > &tria, const dealii::Vector< number > &indicator, const AdaptiveMeshingData< number > &amr_data, dealii::types::global_cell_index max_n_cells=std::numeric_limits< dealii::types::global_cell_index >::max())
 
template<int dim, typename number >
bool MeltPoolDG::AMR::mark_fixed_fraction (dealii::Triangulation< dim > &tria, const dealii::Vector< number > &indicator, const AdaptiveMeshingData< number > &amr_data)
 
template<int dim, typename number >
void MeltPoolDG::AMR::internal::limit_amr (dealii::Triangulation< dim > &tria, const AdaptiveMeshingData< number > &amr_data)
 
template<int dim, typename number >
void MeltPoolDG::AMR::internal::clear_refine_flags_below_threshold (dealii::Triangulation< dim > &tria, const dealii::Vector< number > &indicator, number threshold)
 
template<int dim>
bool MeltPoolDG::AMR::internal::do_refine_based_on_n_marked_cells (const dealii::Triangulation< dim > &tria, unsigned min_cells=1)