Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
SolutionTransfer< dim, VECTOR, DH >::Pointerstruct Struct Reference

Public Member Functions

 Pointerstruct (std::vector< types::global_dof_index > *indices_ptr_in, const unsigned int active_fe_index_in=0)
 
 Pointerstruct (std::vector< Vector< typename VECTOR::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
VECTOR::value_type > > * 
dof_values_ptr
 
unsigned int active_fe_index
 

Detailed Description

template<int dim, typename VECTOR = Vector<double>, class DH = DoFHandler<dim>>
struct SolutionTransfer< dim, VECTOR, DH >::Pointerstruct

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 437 of file solution_transfer.h.


The documentation for this struct was generated from the following file: