deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
|
#include <deal.II/dofs/dof_levels.h>
Public Member Functions | |
const types::global_dof_index * | get_cell_cache_start (const unsigned int obj_index, const unsigned int dofs_per_cell) const |
std::size_t | memory_consumption () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Public Attributes | |
std::vector< types::global_dof_index > | cell_dof_indices_cache |
DoFObjects< dim > | dof_object |
Structure for storing degree of freedom information for cells, organized by levels.
Note that vertices use a storage scheme that is entirely separate from the one used for the cells. The indices of degrees of freedom located on vertices are therefore not stored here, but rather in member variables of the DoFHandler class.
The indices of degrees of freedom located on lower dimensional objects, i.e. on lines for 2d and on quads and lines for 3d are treated similarly than that on cells. However, these geometrical objects, which are called faces as a generalization, are not organised in a hierarchical structure of levels. Therefore, the degrees of freedom located on these objects are stored in separate classes, namely the DoFFaces
classes.
Access to this object is usually through the DoFAccessor::set_dof_index() and DoFAccessor::dof_index() functions or similar functions of derived classes that in turn access the member variables using the DoFHandler::get_dof_index() and corresponding setter functions. Knowledge of the actual data format is therefore encapsulated to the present hierarchy of classes as well as the DoFHandler class.
Definition at line 62 of file dof_levels.h.
|
inline |
Return a pointer to the beginning of the DoF indices cache for a given cell.
obj_index | The number of the cell we are looking at. |
dofs_per_cell | The number of DoFs per cell for this cell. |
Definition at line 110 of file dof_levels.h.
|
inline |
Determine an estimate for the memory consumption (in bytes) of this object.
Definition at line 124 of file dof_levels.h.
|
inline |
Read or write the data of this object to or from a stream for the purpose of serialization using the BOOST serialization library.
Definition at line 134 of file dof_levels.h.
std::vector<types::global_dof_index> internal::DoFHandlerImplementation::DoFLevel< dim >::cell_dof_indices_cache |
Cache for the DoF indices on cells. The size of this array equals the number of cells on a given level times selected_fe.n_dofs_per_cell().
Definition at line 69 of file dof_levels.h.
DoFObjects<dim> internal::DoFHandlerImplementation::DoFLevel< dim >::dof_object |
The object containing dof-indices and related access-functions
Definition at line 74 of file dof_levels.h.