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

List of all members.

Public Member Functions

 Pointerstruct ()
unsigned int memory_consumption () const

Public Attributes

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

Detailed Description

template<int dim, typename VectorType = Vector<double>, class DH = DoFHandler<dim>>
struct SolutionTransfer< dim, VectorType, 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.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

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

deal.II documentation generated on Mon Nov 23 22:58:04 2009 by doxygen 1.6.1