![]() |
PRISMS-PF Manual
|
Class that manages the deal.II DoFHandlers. More...
#include <dof_manager.h>
Public Member Functions | |
| DoFManager ()=default | |
| Constructor. | |
| DoFManager (const DoFManager &)=delete | |
| Disable copying. | |
| DoFManager (const DoFManager &&)=delete | |
| DoFManager | operator= (const DoFManager &)=delete |
| DoFManager & | operator= (DoFManager &&other)=delete |
| ~DoFManager ()=default | |
| Destructor. | |
| void | reinit (const TriangulationManager< dim > &triangulation_manager, bool init_mg=false) |
| Reinitialize the DoFHandlers. | |
| void | reinit_mapping (const std::vector< FieldAttributes > &field_attributes) |
| Reinitialize the DoFHandlers. | |
| const std::vector< const dealii::DoFHandler< dim > * > & | get_field_dof_handlers () const |
| Getter function for all the DoFHandlers on a level. | |
| const dealii::DoFHandler< dim > & | get_field_dof_handler (Types::Index field_index) const |
| Getter function for the DoFHandler (reference). | |
| std::vector< const dealii::DoFHandler< dim > * > | get_block_dof_handlers (const std::set< unsigned int > &field_indices) const |
| Getter the DoFHandlers for a block of fields. | |
| const std::array< dealii::DoFHandler< dim >, 2 > & | get_dof_handlers () const |
| Getter function for the scalar and vector DoFHandlers on a level. | |
| const dealii::DoFHandler< dim > & | get_dof_handler (const unsigned int &rank) const |
| Getter function for a specific scalar or vector DoFHandler. | |
| bool | has_mg () const |
| Has distribute_mg_dofs() been called? | |
| unsigned int | num_levels () const |
| Get the total number of levels in the triangulation. | |
| dealii::types::global_dof_index | get_total_dofs () const |
| Get the total DoFs excluding multigrid DoFs. | |
Private Attributes | |
| std::vector< const dealii::DoFHandler< dim > * > | field_dof_handlers |
| Pointers to the dof handlers for each field on every mg level. Vector is indexed by field index. | |
| std::array< dealii::DoFHandler< dim >, 2 > | level_dof_handlers |
| A scalar and a vector dof handler. | |
Class that manages the deal.II DoFHandlers.
|
default |
Constructor.
|
delete |
Disable copying.
|
delete |
|
default |
Destructor.
|
nodiscard |
Getter the DoFHandlers for a block of fields.
|
nodiscard |
Getter function for a specific scalar or vector DoFHandler.
|
nodiscard |
Getter function for the scalar and vector DoFHandlers on a level.
|
nodiscard |
Getter function for the DoFHandler (reference).
|
nodiscard |
Getter function for all the DoFHandlers on a level.
|
nodiscard |
Get the total DoFs excluding multigrid DoFs.
|
nodiscard |
Has distribute_mg_dofs() been called?
|
nodiscard |
Get the total number of levels in the triangulation.
|
delete |
|
delete |
| PRISMS_PF_BEGIN_NAMESPACE void DoFManager< dim, degree >::reinit | ( | const TriangulationManager< dim > & | triangulation_manager, |
| bool | init_mg = false ) |
Reinitialize the DoFHandlers.
| triangulation_manager | The triangulation manager. |
| init_mg | Whether to initialize the multigrid DoFHandlers. |
| void DoFManager< dim, degree >::reinit_mapping | ( | const std::vector< FieldAttributes > & | field_attributes | ) |
Reinitialize the DoFHandlers.
|
private |
Pointers to the dof handlers for each field on every mg level. Vector is indexed by field index.
|
private |
A scalar and a vector dof handler.