deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30: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::ScratchDataObject< ScratchData > Struct Template Reference

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

Public Member Functions

 ScratchDataObject ()
 
 ScratchDataObject (std::unique_ptr< ScratchData > &&p, const bool in_use)
 
 ScratchDataObject (ScratchData *p, const bool in_use)
 
 ScratchDataObject (const ScratchDataObject &)
 
 ScratchDataObject (ScratchDataObject &&o) noexcept=default
 

Public Attributes

std::unique_ptr< ScratchData > scratch_data
 
bool currently_in_use
 

Detailed Description

template<typename ScratchData>
struct WorkStream::internal::ScratchDataObject< ScratchData >

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

Definition at line 208 of file work_stream.h.

Constructor & Destructor Documentation

◆ ScratchDataObject() [1/5]

template<typename ScratchData >
WorkStream::internal::ScratchDataObject< ScratchData >::ScratchDataObject ( )
inline

Default constructor.

Definition at line 216 of file work_stream.h.

◆ ScratchDataObject() [2/5]

template<typename ScratchData >
WorkStream::internal::ScratchDataObject< ScratchData >::ScratchDataObject ( std::unique_ptr< ScratchData > &&  p,
const bool  in_use 
)
inline

Definition at line 220 of file work_stream.h.

◆ ScratchDataObject() [3/5]

template<typename ScratchData >
WorkStream::internal::ScratchDataObject< ScratchData >::ScratchDataObject ( ScratchData *  p,
const bool  in_use 
)
inline

Definition at line 225 of file work_stream.h.

◆ ScratchDataObject() [4/5]

template<typename ScratchData >
WorkStream::internal::ScratchDataObject< ScratchData >::ScratchDataObject ( const ScratchDataObject< ScratchData > &  )
inline

Definition at line 233 of file work_stream.h.

◆ ScratchDataObject() [5/5]

template<typename ScratchData >
WorkStream::internal::ScratchDataObject< ScratchData >::ScratchDataObject ( ScratchDataObject< ScratchData > &&  o)
defaultnoexcept

Member Data Documentation

◆ scratch_data

template<typename ScratchData >
std::unique_ptr<ScratchData> WorkStream::internal::ScratchDataObject< ScratchData >::scratch_data

Definition at line 210 of file work_stream.h.

◆ currently_in_use

template<typename ScratchData >
bool WorkStream::internal::ScratchDataObject< ScratchData >::currently_in_use

Definition at line 211 of file work_stream.h.


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