Public Member Functions | Public Attributes

SolutionTransfer< dim, VECTOR, DH >::Pointerstruct Struct Reference

List of all members.

Public Member Functions

 Pointerstruct ()
std::size_t memory_consumption () const

Public Attributes

std::vector< unsigned int > * indices_ptr
std::vector< Vector< typename
VECTOR::value_type > > * 
dof_values_ptr

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 accessable 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 errorchecks and to preserve the user from making user errors the user_pointer will be 'multiplied' by this structure.

Definition at line 431 of file solution_transfer.h.


Constructor & Destructor Documentation

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

Member Function Documentation

template<int dim, typename VECTOR = Vector<double>, class DH = DoFHandler<dim>>
std::size_t SolutionTransfer< dim, VECTOR, DH >::Pointerstruct::memory_consumption (  ) const

Member Data Documentation

template<int dim, typename VECTOR = Vector<double>, class DH = DoFHandler<dim>>
std::vector<unsigned int>* SolutionTransfer< dim, VECTOR, DH >::Pointerstruct::indices_ptr

Definition at line 435 of file solution_transfer.h.

template<int dim, typename VECTOR = Vector<double>, class DH = DoFHandler<dim>>
std::vector<Vector<typename VECTOR::value_type> >* SolutionTransfer< dim, VECTOR, DH >::Pointerstruct::dof_values_ptr

Definition at line 436 of file solution_transfer.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:11 by doxygen 1.7.2