include/meltpooldg/cut/repartition.hpp File Reference

Developer Documentation: include/meltpooldg/cut/repartition.hpp File Reference
Developer Documentation
repartition.hpp File Reference
#include <deal.II/base/exceptions.h>
#include <deal.II/base/mpi.h>
#include <deal.II/base/numbers.h>
#include <deal.II/base/utilities.h>
#include <deal.II/distributed/tria.h>
#include <deal.II/dofs/dof_handler.h>
#include <deal.II/grid/tria.h>
#include <deal.II/non_matching/mesh_classifier.h>
#include <deal.II/numerics/solution_transfer.h>
#include <meltpooldg/cut/cut_data.hpp>
#include <meltpooldg/utilities/attach_vectors.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/signals2/connection.hpp>
#include <algorithm>
#include <functional>
#include <memory>
#include <vector>
Include dependency graph for repartition.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MeltPoolDG::CutUtil::PartitionWeights< dim >
 Cell weights for the repartitioning of a parallel::distributed::Triangulation according to the location of the cells with respect to the level set. More...
 

Namespaces

namespace  MeltPoolDG
 Interface for a general preconditioner.
 
namespace  MeltPoolDG::CutUtil
 Utilities for the weighted repartitioning of a parallel::distributed::Triangulation in cutFEM/cutDG applications.
 

Functions

template<int dim, typename VectorType >
bool MeltPoolDG::CutUtil::repartition_triangulation (dealii::Triangulation< dim > &tria, const AttachDoFHandlerAndVectorsType< dim, VectorType > &attach_vectors, const std::function< void()> &distribute_level_set_dofs, const dealii::DoFHandler< dim > &level_set_dof_handler, VectorType &level_set_dof_vector, const std::function< void()> &setup_dof_system, const std::function< void()> &post={})
 Repartition the triangulation tria among the MPI processes and transfer the attached DoF vectors and the level-set field to the new partitioning.
 
bool MeltPoolDG::CutUtil::do_repartition (const unsigned int n_time_step, const CutRepartitionData &repartition_data)
 Determine whether the triangulation should be repartitioned at time step number n_time_step.