Reference documentation for deal.II version 9.2.0
|
#include <deal.II/base/aligned_vector.h>
Public Member Functions | |
AlignedVectorSet (const std::size_t size, const T &element, T *const destination) | |
virtual void | apply_to_subrange (const std::size_t begin, const std::size_t end) const override |
Private Member Functions | |
void | copy_construct_or_assign (const std::size_t begin, const std::size_t end, std::integral_constant< bool, false >) const |
void | copy_construct_or_assign (const std::size_t begin, const std::size_t end, std::integral_constant< bool, true >) const |
Private Member Functions inherited from parallel::ParallelForInteger | |
virtual | ~ParallelForInteger ()=default |
void | apply_parallel (const std::size_t begin, const std::size_t end, const std::size_t minimum_parallel_grain_size) const |
Private Attributes | |
const T & | element_ |
T * | destination_ |
bool | trivial_element |
Static Private Attributes | |
static const std::size_t | minimum_parallel_grain_size |
Class that issues the set commands for AlignedVector.
initialize_memory | Sets whether the set command should initialize memory (with a call to the copy constructor) or rather use the copy assignment operator. A template is necessary to select the appropriate operation since some classes might define only one of those two operations. |
Definition at line 532 of file aligned_vector.h.
|
inline |
Constructor. Issues a parallel call if there are sufficiently many elements, otherwise work in serial.
Definition at line 542 of file aligned_vector.h.
|
inlineoverridevirtual |
This sets elements on a subrange given by two integers.
Implements parallel::ParallelForInteger.
Definition at line 578 of file aligned_vector.h.
|
inlineprivate |
Definition at line 601 of file aligned_vector.h.
|
inlineprivate |
Definition at line 611 of file aligned_vector.h.
|
staticprivate |
Definition at line 534 of file aligned_vector.h.
|
private |
Definition at line 595 of file aligned_vector.h.
|
mutableprivate |
Definition at line 596 of file aligned_vector.h.
|
private |
Definition at line 597 of file aligned_vector.h.