![]() |
PRISMS-PF Manual
|
Class that manages the deal.II DoFHandlers. More...
#include <dof_manager.h>
Public Member Functions | |
| DoFManager ()=default | |
| Constructor. | |
| DoFManager (const std::vector< FieldAttributes > &field_attributes, const TriangulationManager< dim > &triangulation_manager) | |
| Constructor. calls reinit. | |
| DoFManager (const DoFManager &)=delete | |
| Disable copying. | |
| DoFManager (const DoFManager &&)=delete | |
| DoFManager | operator= (const DoFManager &)=delete |
| DoFManager & | operator= (DoFManager &&other)=delete |
| ~DoFManager ()=default | |
| Destructor. | |
| void | init (unsigned int num_levels) |
| Resize the DoFHandlers set. | |
| void | reinit (const TriangulationManager< dim > &triangulation_manager) |
| Reinitialize the DoFHandlers. | |
| void | reinit_mapping (const std::vector< FieldAttributes > &field_attributes) |
| Reinitialize the DoFHandlers. | |
| const std::vector< std::vector< const dealii::DoFHandler< dim > * > > & | get_field_dof_handlers_levels () const |
| Getter function for all the DoFHandlers. | |
| const std::vector< const dealii::DoFHandler< dim > * > & | get_field_dof_handlers (unsigned int relative_level=0) const |
| Getter function for all the DoFHandlers on a level. | |
| const dealii::DoFHandler< dim > & | get_field_dof_handler (Types::Index field_index, unsigned int relative_level=0) const |
| Getter function for the DoFHandler (reference). | |
| const std::vector< std::array< dealii::DoFHandler< dim >, 2 > > & | get_dof_handlers_levels () const |
| Getter function for the scalar and vector DoFHandlers. | |
| const std::array< dealii::DoFHandler< dim >, 2 > & | get_dof_handlers (unsigned int relative_level=0) const |
| Getter function for the scalar and vector DoFHandlers on a level. | |
| const dealii::DoFHandler< dim > & | get_dof_handler (const unsigned int &rank, unsigned int relative_level=0) const |
| Getter function for a specific scalar or vector DoFHandler. | |
| dealii::types::global_dof_index | get_total_dofs () const |
| Get the total DoFs excluding multigrid DoFs. | |
Private Attributes | |
| std::vector< std::vector< const dealii::DoFHandler< dim > * > > | field_dof_handlers |
| Pointers to the dof handlers for each field on every mg level. Outer vector is indexed by relative mg level. Inner vector is indexed by field index. | |
| std::vector< std::array< dealii::DoFHandler< dim >, 2 > > | level_dof_handlers |
| A scalar and a vector dof handler for each level. | |
Class that manages the deal.II DoFHandlers.
|
default |
Constructor.
| PRISMS_PF_BEGIN_NAMESPACE DoFManager< dim, degree >::DoFManager | ( | const std::vector< FieldAttributes > & | field_attributes, |
| const TriangulationManager< dim > & | triangulation_manager ) |
Constructor. calls reinit.
|
delete |
Disable copying.
|
delete |
|
default |
Destructor.
|
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 scalar and vector DoFHandlers.
|
nodiscard |
Getter function for the DoFHandler (reference).
|
nodiscard |
Getter function for all the DoFHandlers on a level.
|
nodiscard |
Getter function for all the DoFHandlers.
|
nodiscard |
Get the total DoFs excluding multigrid DoFs.
| void DoFManager< dim, degree >::init | ( | unsigned int | num_levels | ) |
Resize the DoFHandlers set.
|
delete |
|
delete |
| void DoFManager< dim, degree >::reinit | ( | const TriangulationManager< dim > & | triangulation_manager | ) |
Reinitialize the 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. Outer vector is indexed by relative mg level. Inner vector is indexed by field index.
|
private |
A scalar and a vector dof handler for each level.