Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Public Attributes | List of all members
internal::DataOut::ParallelDataBase< dim, spacedim > Struct Template Reference

#include <data_out_dof_data.h>

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

Public Member Functions

 ParallelDataBase (const unsigned int n_datasets, const unsigned int n_subdivisions, const std::vector< unsigned int > &n_postprocessor_outputs, const Mapping< dim, spacedim > &mapping, const std::vector< std_cxx1x::shared_ptr<::hp::FECollection< dim, spacedim > > > &finite_elements, const UpdateFlags update_flags, const bool use_face_values)
 
 ParallelDataBase (const ParallelDataBase &data)
 
template<typename DH >
void reinit_all_fe_values (std::vector< std_cxx1x::shared_ptr< DataEntryBase< DH > > > &dof_data, const typename::Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face=numbers::invalid_unsigned_int)
 
const FEValuesBase< dim,
spacedim > & 
get_present_fe_values (const unsigned int dataset) const
 
void resize_system_vectors (const unsigned int n_components)
 

Public Attributes

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::MappingCollection
< dim, spacedim > 
mapping_collection
 
const std::vector
< std_cxx1x::shared_ptr
<::hp::FECollection< dim,
spacedim > > > 
finite_elements
 
const UpdateFlags update_flags
 
std::vector
< std_cxx1x::shared_ptr
<::hp::FEValues< dim, spacedim > > > 
x_fe_values
 
std::vector
< std_cxx1x::shared_ptr
<::hp::FEFaceValues< dim,
spacedim > > > 
x_fe_face_values
 

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 211 of file data_out_dof_data.h.


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