Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
internal::DataOutImplementation::ParallelDataBase< dim, spacedim > Struct Template Reference

#include <deal.II/numerics/data_out_dof_data.h>

Inheritance diagram for internal::DataOutImplementation::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::shared_ptr<::hp::FECollection< dim, spacedim > > > &finite_elements, const UpdateFlags update_flags, const bool use_face_values)
 
 ParallelDataBase (const unsigned int n_datasets, const unsigned int n_subdivisions, const std::vector< unsigned int > &n_postprocessor_outputs, const ::hp::MappingCollection< dim, spacedim > &mapping, const std::vector< std::shared_ptr<::hp::FECollection< dim, spacedim > > > &finite_elements, const UpdateFlags update_flags, const bool use_face_values)
 
 ParallelDataBase (const ParallelDataBase &data)
 
void reinit_all_fe_values (std::vector< std::shared_ptr< DataEntryBase< dim, spacedim > > > &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
 
DataPostprocessorInputs::Scalar< spacedim > patch_values_scalar
 
DataPostprocessorInputs::Vector< spacedim > patch_values_system
 
std::vector< std::vector<::Vector< double > > > postprocessed_values
 
const ::hp::MappingCollection< dim, spacedim > mapping_collection
 
const std::vector< std::shared_ptr<::hp::FECollection< dim, spacedim > > > finite_elements
 
const UpdateFlags update_flags
 
std::vector< std::shared_ptr<::hp::FEValues< dim, spacedim > > > x_fe_values
 
std::vector< std::shared_ptr<::hp::FEFaceValues< dim, spacedim > > > x_fe_face_values
 

Detailed Description

template<int dim, int spacedim>
struct internal::DataOutImplementation::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 395 of file data_out_dof_data.h.

Constructor & Destructor Documentation

◆ ParallelDataBase() [1/3]

template<int dim, int spacedim>
internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::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::shared_ptr<::hp::FECollection< dim, spacedim > > > &  finite_elements,
const UpdateFlags  update_flags,
const bool  use_face_values 
)

◆ ParallelDataBase() [2/3]

template<int dim, int spacedim>
internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::ParallelDataBase ( const unsigned int  n_datasets,
const unsigned int  n_subdivisions,
const std::vector< unsigned int > &  n_postprocessor_outputs,
const ::hp::MappingCollection< dim, spacedim > &  mapping,
const std::vector< std::shared_ptr<::hp::FECollection< dim, spacedim > > > &  finite_elements,
const UpdateFlags  update_flags,
const bool  use_face_values 
)

◆ ParallelDataBase() [3/3]

template<int dim, int spacedim>
internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::ParallelDataBase ( const ParallelDataBase< dim, spacedim > &  data)

Member Function Documentation

◆ reinit_all_fe_values()

template<int dim, int spacedim>
void internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::reinit_all_fe_values ( std::vector< std::shared_ptr< DataEntryBase< dim, spacedim > > > &  dof_data,
const typename ::Triangulation< dim, spacedim >::cell_iterator &  cell,
const unsigned int  face = numbers::invalid_unsigned_int 
)

◆ get_present_fe_values()

template<int dim, int spacedim>
const FEValuesBase< dim, spacedim > & internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::get_present_fe_values ( const unsigned int  dataset) const

◆ resize_system_vectors()

template<int dim, int spacedim>
void internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::resize_system_vectors ( const unsigned int  n_components)

Member Data Documentation

◆ n_datasets

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

Definition at line 434 of file data_out_dof_data.h.

◆ n_subdivisions

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

Definition at line 435 of file data_out_dof_data.h.

◆ patch_values_scalar

template<int dim, int spacedim>
DataPostprocessorInputs::Scalar<spacedim> internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::patch_values_scalar

Definition at line 437 of file data_out_dof_data.h.

◆ patch_values_system

template<int dim, int spacedim>
DataPostprocessorInputs::Vector<spacedim> internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::patch_values_system

Definition at line 438 of file data_out_dof_data.h.

◆ postprocessed_values

template<int dim, int spacedim>
std::vector<std::vector<::Vector<double> > > internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::postprocessed_values

Definition at line 439 of file data_out_dof_data.h.

◆ mapping_collection

template<int dim, int spacedim>
const ::hp::MappingCollection<dim, spacedim> internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::mapping_collection

Definition at line 441 of file data_out_dof_data.h.

◆ finite_elements

template<int dim, int spacedim>
const std::vector< std::shared_ptr<::hp::FECollection<dim, spacedim> > > internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::finite_elements

Definition at line 444 of file data_out_dof_data.h.

◆ update_flags

template<int dim, int spacedim>
const UpdateFlags internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::update_flags

Definition at line 445 of file data_out_dof_data.h.

◆ x_fe_values

template<int dim, int spacedim>
std::vector<std::shared_ptr<::hp::FEValues<dim, spacedim> > > internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::x_fe_values

Definition at line 448 of file data_out_dof_data.h.

◆ x_fe_face_values

template<int dim, int spacedim>
std::vector<std::shared_ptr<::hp::FEFaceValues<dim, spacedim> > > internal::DataOutImplementation::ParallelDataBase< dim, spacedim >::x_fe_face_values

Definition at line 450 of file data_out_dof_data.h.


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