deal.II version 9.7.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
WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData > Struct Template Reference

#include <deal.II/base/work_stream.h>

Detailed Description

template<typename Iterator, typename ScratchData, typename CopyData>
struct WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >

A structure that contains a pointer to a scratch data object and a copy data object along with a flag that indicates whether this object is currently in use.

Definition at line 180 of file work_stream.h.

Public Member Functions

 ScratchAndCopyDataObjects ()
 ScratchAndCopyDataObjects (std::unique_ptr< ScratchData > &&p, std::unique_ptr< CopyData > &&q, const bool in_use)
 ScratchAndCopyDataObjects (const ScratchAndCopyDataObjects &)

Public Attributes

std::unique_ptr< ScratchData > scratch_data
std::unique_ptr< CopyData > copy_data
bool currently_in_use

Constructor & Destructor Documentation

◆ ScratchAndCopyDataObjects() [1/3]

template<typename Iterator, typename ScratchData, typename CopyData>
WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >::ScratchAndCopyDataObjects ( )
inline

Default constructor.

Definition at line 189 of file work_stream.h.

◆ ScratchAndCopyDataObjects() [2/3]

template<typename Iterator, typename ScratchData, typename CopyData>
WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >::ScratchAndCopyDataObjects ( std::unique_ptr< ScratchData > && p,
std::unique_ptr< CopyData > && q,
const bool in_use )
inline

Definition at line 193 of file work_stream.h.

◆ ScratchAndCopyDataObjects() [3/3]

template<typename Iterator, typename ScratchData, typename CopyData>
WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >::ScratchAndCopyDataObjects ( const ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData > & )
inline

Definition at line 204 of file work_stream.h.

Member Data Documentation

◆ scratch_data

template<typename Iterator, typename ScratchData, typename CopyData>
std::unique_ptr<ScratchData> WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >::scratch_data

Definition at line 182 of file work_stream.h.

◆ copy_data

template<typename Iterator, typename ScratchData, typename CopyData>
std::unique_ptr<CopyData> WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >::copy_data

Definition at line 183 of file work_stream.h.

◆ currently_in_use

template<typename Iterator, typename ScratchData, typename CopyData>
bool WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData >::currently_in_use

Definition at line 184 of file work_stream.h.


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