deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\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
WorkStream::internal::ScratchAndCopyDataObjects< Iterator, ScratchData, CopyData > Struct Template Reference

#include <deal.II/base/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
 

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 173 of file work_stream.h.

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 182 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 186 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 197 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 175 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 176 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 177 of file work_stream.h.


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