![]() |
PRISMS-PF Manual v3.0-pre
|
This class handlers the generation and manipulation of triangulations. More...
#include <triangulation_handler.h>
Public Types | |
using | Triangulation = std::conditional_t< dim==1, dealii::Triangulation< dim >, dealii::parallel::distributed::Triangulation< dim > > |
Public Member Functions | |
triangulationHandler (const userInputParameters< dim > &_user_inputs) | |
Constructor. | |
const Triangulation & | get_triangulation () const |
Getter function for triangulation (constant reference). | |
const std::vector< std::shared_ptr< const dealii::Triangulation< dim > > > & | get_mg_triangulation () const |
Getter function for the multigrid triangulation (constant reference). | |
const dealii::Triangulation< dim > & | get_mg_triangulation (unsigned int level) const |
Getter function for a level in the globally coarsening multigrid triangulation (constant reference). | |
unsigned int | get_n_global_levels () const |
Return the global maximum level of the triangulation. | |
unsigned int | get_mg_min_level () const |
Return the maximum multigrid level. | |
unsigned int | get_mg_max_level () const |
Return the minimum multigrid level. | |
void | generate_mesh () |
Generate mesh based on the inputs provided by the user. | |
void | adaptively_refine_mesh (solutionHandler< dim > &solution_handler) |
Adaptively refine the mesh based on the inputs provided by the user. | |
void | export_triangulation_as_vtk (const std::string &filename) const |
Export triangulation to vtk. This is done for debugging purposes when dealing with unusual meshes (e.g., circular domains). | |
This class handlers the generation and manipulation of triangulations.