![]() |
deal.II version 9.7.0
|
All cell data (the dof indices and the dof values) should be accessible from each cell. As each cell has got only one user_pointer, multiple pointers to the data need to be packetized in a structure. Note that in our case on each cell either the vector<unsigned int> indices (if the cell will be refined) or the vector<double> dof_values (if the children of this cell will be deleted) is needed, hence one user_pointer should be sufficient, but to allow some error checks and to preserve the user from making user errors the user_pointer will be 'multiplied' by this structure.
Definition at line 974 of file solution_transfer.h.
Public Member Functions | |
| Pointerstruct () | |
| Pointerstruct (std::vector< types::global_dof_index > *indices_ptr_in, const unsigned int active_fe_index_in=0) | |
| Pointerstruct (std::vector< Vector< typename VectorType::value_type > > *dof_values_ptr_in, const unsigned int active_fe_index_in=0) | |
| std::size_t | memory_consumption () const |
Public Attributes | |
| std::vector< types::global_dof_index > * | indices_ptr |
| std::vector< Vector< typename VectorType::value_type > > * | dof_values_ptr |
| unsigned int | active_fe_index |
|
inline |
Definition at line 976 of file solution_transfer.h.
|
inline |
Definition at line 981 of file solution_transfer.h.
|
inline |
Definition at line 987 of file solution_transfer.h.
| std::size_t Legacy::SolutionTransfer< dim, VectorType, spacedim >::Pointerstruct::memory_consumption | ( | ) | const |
| std::vector<types::global_dof_index>* Legacy::SolutionTransfer< dim, VectorType, spacedim >::Pointerstruct::indices_ptr |
Definition at line 997 of file solution_transfer.h.
| std::vector<Vector<typename VectorType::value_type> >* Legacy::SolutionTransfer< dim, VectorType, spacedim >::Pointerstruct::dof_values_ptr |
Definition at line 998 of file solution_transfer.h.
| unsigned int Legacy::SolutionTransfer< dim, VectorType, spacedim >::Pointerstruct::active_fe_index |
Definition at line 999 of file solution_transfer.h.