Public Member Functions | Public Attributes

internal::DataOut::ParallelDataBase< dim, spacedim > Struct Template Reference

Inheritance diagram for internal::DataOut::ParallelDataBase< dim, spacedim >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<class FE >
 ParallelDataBase (const unsigned int n_components, const unsigned int n_datasets, const unsigned int n_subdivisions, const unsigned int n_q_points, const std::vector< unsigned int > &n_postprocessor_outputs, const FE &finite_elements)

Public Attributes

const unsigned int n_components
const unsigned int n_datasets
const unsigned int n_subdivisions
std::vector< doublepatch_values
std::vector<::Vector< double > > patch_values_system
std::vector< Tensor
< 1, spacedim > > 
patch_gradients
std::vector< std::vector
< Tensor< 1, spacedim > > > 
patch_gradients_system
std::vector< Tensor
< 2, spacedim > > 
patch_hessians
std::vector< std::vector
< Tensor< 2, spacedim > > > 
patch_hessians_system
std::vector< std::vector
<::Vector< double > > > 
postprocessed_values
const ::hp::FECollection< dim,
spacedim > 
fe_collection

Detailed Description

template<int dim, int spacedim>
struct internal::DataOut::ParallelDataBase< dim, spacedim >

A data structure that holds all data needed in one thread when building patches in parallel. These data structures are created globally rather than on each cell to avoid allocation of memory in the threads. This is a base class for the AdditionalData kind of data structure discussed in the documentation of the WorkStream class.

The cell_to_patch_index_map is an array that stores for index [i][j] the number of the patch that associated with the cell with index j on level i. This information is set up prior to generation of the patches, and is needed to generate neighborship information.

This structure is used by several of the DataOut* classes, which derived their own ParallelData classes from it for additional fields.

Definition at line 72 of file data_out.h.


Constructor & Destructor Documentation

template<int dim, int spacedim>
template<class FE >
internal::DataOut::ParallelDataBase< dim, spacedim >::ParallelDataBase ( const unsigned int  n_components,
const unsigned int  n_datasets,
const unsigned int  n_subdivisions,
const unsigned int  n_q_points,
const std::vector< unsigned int > &  n_postprocessor_outputs,
const FE &  finite_elements 
)

Member Data Documentation

template<int dim, int spacedim>
const unsigned int internal::DataOut::ParallelDataBase< dim, spacedim >::n_components

Definition at line 82 of file data_out.h.

template<int dim, int spacedim>
const unsigned int internal::DataOut::ParallelDataBase< dim, spacedim >::n_datasets

Definition at line 83 of file data_out.h.

template<int dim, int spacedim>
const unsigned int internal::DataOut::ParallelDataBase< dim, spacedim >::n_subdivisions

Definition at line 84 of file data_out.h.

template<int dim, int spacedim>
std::vector<double> internal::DataOut::ParallelDataBase< dim, spacedim >::patch_values

Definition at line 86 of file data_out.h.

template<int dim, int spacedim>
std::vector<::Vector<double> > internal::DataOut::ParallelDataBase< dim, spacedim >::patch_values_system
template<int dim, int spacedim>
std::vector<Tensor<1,spacedim> > internal::DataOut::ParallelDataBase< dim, spacedim >::patch_gradients

Definition at line 88 of file data_out.h.

template<int dim, int spacedim>
std::vector<std::vector<Tensor<1,spacedim> > > internal::DataOut::ParallelDataBase< dim, spacedim >::patch_gradients_system
template<int dim, int spacedim>
std::vector<Tensor<2,spacedim> > internal::DataOut::ParallelDataBase< dim, spacedim >::patch_hessians

Definition at line 90 of file data_out.h.

template<int dim, int spacedim>
std::vector<std::vector<Tensor<2,spacedim> > > internal::DataOut::ParallelDataBase< dim, spacedim >::patch_hessians_system
template<int dim, int spacedim>
std::vector<std::vector<::Vector<double> > > internal::DataOut::ParallelDataBase< dim, spacedim >::postprocessed_values
template<int dim, int spacedim>
const ::hp::FECollection<dim,spacedim> internal::DataOut::ParallelDataBase< dim, spacedim >::fe_collection

Definition at line 94 of file data_out.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:14 by doxygen 1.7.2